Handle tests-unsupported if run-built-tests = no.
[glibc.git] / ChangeLog
blob0d3f7781fbfd87a81f5be27d8e58a4cf03dbf28a
1 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
3         * Rules [$(run-built-tests) = no] (tests): Do not depend on
4         $(tests-unsupported).
6 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
9         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
13         [BZ #20768]
14         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
15         __fegetenv instead of fegetenv.
17         [BZ #14139]
18         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
19         (find_files): Obtain platform name from libm-test-ulps-name and
20         store in %pplatforms.
21         (canonicalize_platform): Remove.
22         (print_platforms): Use $pplatforms directly.
23         (by_platforms): Do not allow for platforms missing from
24         %pplatforms.
25         * sysdeps/aarch64/libm-test-ulps-name: New file.
26         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
27         * sysdeps/arm/libm-test-ulps-name: Likewise.
28         * sysdeps/generic/libm-test-ulps-name: Likewise.
29         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
30         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
31         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
32         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
33         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
34         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
35         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
36         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
37         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
38         * sysdeps/nios2/libm-test-ulps-name: Likewise.
39         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
40         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
41         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
42         * sysdeps/sh/libm-test-ulps-name: Likewise.
43         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
44         * sysdeps/tile/libm-test-ulps-name: Likewise.
45         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
47         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
49         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
50         (test-xfail-check-execstack): New variable.
52         * sysdeps/mips/localplt.data: New file.
54 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
55             Steve Ellcey  <sellcey@caviumnetworks.com>
57         * bits/wordsize.h: Add documentation.
58         * sysdeps/aarch64/bits/wordsize.h : New file
59         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
60         definitions.
61         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
62         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
63         with #if instead of #ifdef.
64         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
65         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
66         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
67         Add or change defines.
68         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
69         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
70         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
71         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
72         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
73         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
74         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
75         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
76         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
77         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
79         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
80         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
81         * sysdeps/x86/bits/wordsize.h: Likewise.
83 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
84             Kevin Petit  <kevin.petit@arm.com>
86         * sysdeps/aarch64/memchr.S (__memchr): New file.
88 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
90         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
92 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
94         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
95         $(linknamespace-symlists-tests).
97 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
99         * time/tst-strptime2.c: Ignore -Wformat-length warning.
101 2016-11-02  Florian Weimer  <fweimer@redhat.com>
102             Carlos O'Donell  <carlos@redhat.com>
104         [Bug #20729]
105         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
106         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
107         for -Os related change.
109 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
111         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
113 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
115         [BZ #19673]
116         * manual/math.texi (Exponents and Logarithms): Correct description
117         of clog10.
119 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
121         [Bz #20729]
122         * locale/weight.h: Include libc-internal.h.
123         * locale/weightwc.h: Likewise.
124         * nptl/nptl_dbP.h: Likewise.
126 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
128         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
129         when it is MACH_PORT_NULL.
131 2016-10-31  Andreas Schwab  <schwab@suse.de>
133         [BZ #20707]
134         * posix/glob.c (glob): Initialize pglob before checking for
135         GLOB_BRACE.  Don't call glob recursively if pattern contains no
136         valid brace expression despite GLOB_BRACE.
137         * posix/globtest.sh: Test it.
139 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
141         [BZ #20729]
142         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
143         Define.
144         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
145         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
146         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
147         for seq2.back_us and seq1.back_us only for -Os compiles.
148         * locale/weightwc.h (findix): Likewise.
149         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
150         DB_GET_FIELD_ADDRESS only for -Os compiles.
151         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
152         for slen only for -Os compiles.
153         * string/strcoll_l.c (get_next_seq): Ignore
154         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
155         for -Os compiles.
157         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
158         * include/crypt.h: New file.
160 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
162         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
163         from test-skeleton.c.
164         (statclass): Replace calls to write with calls to write_message.
166 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
168         * math/math.h
169         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
170         New macro.
171         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
172         Likewise.
173         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
174         Likewise.
175         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
176         SNANL.
177         * math/test-double.h (snan_value_MACRO): New macro.
178         * math/test-float.h (snan_value_MACRO): Likewise.
179         * math/test-ldouble.h (snan_value_MACRO): Likewise.
180         * math/libm-test.inc (issignaling_test_data): Add tests of
181         snan_value_MACRO.
183 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
185         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
186         behavior when eliding a lock not held by the current thread.
187         * sysdeps/powerpc/nptl/elide.h: Likewise.
189 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
191         [BZ #20728]
192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
193         branch to _exit() by a function call.
195 2016-10-28  Florian Weimer  <fweimer@redhat.com>
197         * malloc/malloc.c: Update chunk layout comments.
198         (chunk_main_arena): Update comment.
200 2016-10-28  Florian Weimer  <fweimer@redhat.com>
202         * crypt/sha256.c, crypt/sha256-block.c,
203         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
204         sha256_process_block to __sha256_process_block.
205         * crypt/sha512.c, crypt/sha512-block.c,
206         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
207         sha512_process_block to __sha512_process_block.
209 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
211         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
213         * math/test-nan-overflow.c: Include stdlib.h for malloc.
215 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
217         [BZ #20019]
218         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
219         definition in unrelocated shared library.
220         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
222 2016-10-28  Florian Weimer  <fweimer@redhat.com>
224         [BZ #20729]
225         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
226         * sysdeps/unix/sysv/linux/i386/Makefile
227         (uses-6-syscall-arguments): Define.
228         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
229         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
230         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
231         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
232         Likewise.
233         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
234         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
235         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
236         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
237         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
238         (CFLAGS-fallocate64.os): Likewise.
239         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
240         (CFLAGS-pthread_rwlock_timedrdlock.os)
241         (CFLAGS-pthread_rwlock_timedwrlock.o)
242         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
243         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
244         (CFLAGS-sem_timedwait.os): Likewise.
246 2016-10-28  Florian Weimer  <fweimer@redhat.com>
248         * elf/tst-linkall-static.c: New file.
249         * elf/Makefile (tests-static): Add tst-linkall-static.
250         (tst-linkall-static): Link against static libraries.
252 2016-10-27  Florian Weimer  <fweimer@redhat.com>
254         * malloc/malloc.c (sysmalloc): Initialize previous size field of
255         mmaped chunks.
257 2016-10-28  Florian Weimer  <fweimer@redhat.com>
259         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
260         members to mchunk_prev_size, mchunk_size.
261         (chunk_main_arena): Reverse sense and rename from
262         chunk_non_main_arena.
263         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
264         mchunk_size instead of size.
265         (set_non_main_arena): Define.
266         (chunksize): Use chunksize_nomask instead of direct member access.
267         (chunksize_nomask): Define.
268         (next_chunk): Use chunksize instead of direct member access.
269         (prev_size, set_prev_size): Define.
270         (prev_chunk): Use prev_size instead of direct member access.
271         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
272         (inuse_bit_at_offset, set_inuse_bit_at_offset)
273         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
274         (mchunk_prev_size, mchunk_size): Poison tokens.
275         (unlink): Use chunksize_nomask, prev_size accessors.
276         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
277         (do_check_free_chunk): Use prev_size accessor.
278         (sysmalloc): Use set_prev_size, set_head accessors.
279         (munmap_chunk, mremap_chunk): Use prev_size accessor.
280         (__libc_free): Use chunksize_nomask accessor.
281         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
282         chunk_main_arena accessors.
283         (_int_free): Use chunksize_nomask, prev_size accessors.
284         (malloc_consolidate): Use chunksize, prev_size accessors.
285         (_int_realloc): Use chunksize_nomask accessor.
286         (_int_memalign): Use set_prev_size accessor.
287         (__malloc_info): Use chunksize_nomask accessor.
288         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
289         accessors.
290         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
291         (heap_trim): Use chunksize_nomask, prev_size accessors.
293 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
295         [BZ #19380]
296         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
297         for inexact results.
298         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
299         of inexact result where mpfr_subnormalize is the only inexact
300         step.
301         * stdlib/tst-strtod-round-data.h: Regenerated.
302         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
303         Define to 0.
304         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
306 2016-10-27  David S. Miller  <davem@davemloft.net>
308         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
310 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
312         * malloc/malloc.c (do_set_mallopt_check): New function.
313         (do_set_mmap_threshold): Likewise.
314         (do_set_mmaps_max): Likewise.
315         (do_set_top_pad): Likewise.
316         (do_set_perturb_byte): Likewise.
317         (do_set_trim_threshold): Likewise.
318         (do_set_arena_max): Likewise.
319         (do_set_arena_test): Likewise.
320         (__libc_mallopt): Use them.
322 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
324         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
325         (canonicalize): New declaration.
326         * math/Versions (canonicalize): New libm symbol at version
327         GLIBC_2.25.
328         (canonicalizef): Likewise.
329         (canonicalizel): Likewise.
330         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
331         * math/s_canonicalize_template.c: New file.
332         * math/libm-test.inc: Update comment on functions tested and
333         testing of NaN payloads.
334         (TEST_NAN_PAYLOAD): New macro.
335         (NO_TEST_INLINE): Update value.
336         (XFAIL_TEST): Likewise.
337         (ERRNO_UNCHANGED): Likewise.
338         (ERRNO_EDOM): Likewise.
339         (ERRNO_ERANGE): Likewise.
340         (IGNORE_RESULT): Likewise.
341         (NON_FINITE): Likewise.
342         (TEST_SNAN): Likewise.
343         (NO_TEST_MATHVEC): Likewise.
344         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
345         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
346         (struct test_Ffp_b1_data): New type.
347         (RUN_TEST_Ffp_b1): New macro.
348         (RUN_TEST_LOOP_Ffp_b1): Likewise.
349         (canonicalize_test_data): New array.
350         (canonicalize_test): New function.
351         (main): Call canonicalize_test.
352         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
353         canonicalizef and canonicalizel.
354         * manual/libm-err-tab.pl: Update comment on interfaces without
355         ulps tabulated.
356         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
357         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
358         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
359         canonicalize.
360         (CFLAGS-nldbl-canonicalize.c): New variable.
361         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
362         to ...
363         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
364         ... here.
365         (do_test): Also test canonicalizel.
366         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
367         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
368         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
369         file.
370         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
371         Use libm_hidden_def.
372         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
373         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
374         (do_test): Also test canonicalizel.
375         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
376         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
377         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
378         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
379         libm_hidden_def.
380         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
381         macro.
382         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
383         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
384         * sysdeps/nacl/libm.abilist: Update.
385         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
386         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
387         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
388         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
389         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
390         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
391         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
398         Likewise.
399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
400         Likewise.
401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
402         Likewise.
403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
404         Likewise.
405         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
406         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
407         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
408         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
409         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
410         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
411         Likewise.
412         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
413         Likewise.
414         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
415         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
416         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
418         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
419         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
420         getpayload.
421         (CFLAGS-nldbl-getpayload.c): New variable.
423 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
425         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
426         integer from the format string.
428 2016-10-26  Florian Weimer  <fweimer@redhat.com>
430         [BZ #19473]
431         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
432         declarations.
433         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
434         weak aliases.
435         * malloc/hooks.c (__malloc_get_state): Remove definition.
436         (malloc_get_state): New stub implementation as
437         compatibility symbol.
438         (malloc_set_state): Rename from __malloc_set_state.  Turn into
439         compat symbol.
440         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
441         malloc_set_state.
442         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
444 2016-10-26  Florian Weimer  <fweimer@redhat.com>
446         * iconvdata/iso646.c (enum variant): Drop illegal_var.
447         (names): Turn into concatenation of strings.
448         (gconv_init): Adapt iteration over names.
450 2016-10-26  Florian Weimer  <fweimer@redhat.com>
452         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
453         make const.
454         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
455         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
456         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
457         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
458         character in sbconv.
459         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
460         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
461         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
463 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
465         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
467         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
468         (M_TRIM_THRESHOLD): Likewise.
470         * manual/memory.texi (M_ARENA_TEST): Add documentation.
471         (M_ARENA_MAX): Likewise.
472         * malloc/malloc.c: Remove obsolete comment.
474         * manual/memory.texi: Add environment variable alternatives to
475         setting mallopt parameters.
477 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
479         * include/atomic.h
480         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
481         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
483 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
485         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
486         * stdlib/tst-strfrom.h: New file.
487         * stdlib/tst-strfrom.c: New file.
488         * stdlib/tst-strfrom-locale.c: New file.
490         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
491         * stdlib/bug-strtod2.c: Likewise.
492         * stdlib/tst-strtod-round-skeleton.c: Likewise.
493         * stdlib/tst-strtod6.c: Likewise.
494         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
496 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
498         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
499         * manual/arith.texi: Document strfromd, strfromf, strfroml.
500         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
501         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
502         * stdlib/stdlib.h (strfromd): New declaration.
503         (strfromf): Likewise.
504         (strfroml): Likewise.
505         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
506         strfrom.
507         * stdlib/strfromd.c: New file.
508         * stdlib/strfromf.c: Likewise.
509         * stdlib/strfroml.c: Likewise.
510         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
511         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
512         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
513         * sysdeps/arm/nacl/libc.abilist: Update.
514         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
515         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
516         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
517         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
518         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
519         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
520         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
521         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
522         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
523         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
524         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
525         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
526         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
527         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
532         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
533         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
534         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
535         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
536         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
539         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
540         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
541         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
543 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
545         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
546         instead of cmpli.
547         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
548         instead of cmpli.
550 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
552         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
553         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
554         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
555         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
556         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
557         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
559 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
561         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
562         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
563         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
564         SYSCALL_LL64_PRW.
565         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
566         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
567         __ASSUME_PRW_DUMMY_ARG.
568         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
569         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
570         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
571         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
572         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
573         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
575 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
577         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
579 2016-10-22  Florian Weimer  <fweimer@redhat.com>
581         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
582         "C++", to override a potential extern "C" directive around the
583         header file inclusion.
585 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
587         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
589 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
591         * sysdeps/powerpc/fpu/fenv_private.h:
592         (_FPU_MASK_ALL): Rename to...
593         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
594         XE FPSCR bits.
596         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
598         (_FPU_MASK_ROUNDING): Rename to...
599         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
600         NI bits.
602         (_FPU_MASK_EXCEPT_ROUND): Rename to...
603         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
604         bits and rounding bits.
606         (__libc_feholdbits_ppc): New inline function to mask, set,
607         and pontentially clear FSPCR bits, and change MSR[FE] bits.
608         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
609         (libc_feholdexcept_setround_ppc): Likewise.
611         (__libc_femergeenv_ppc): New function to dynamically mask both
612         old and new FP environments and merge.
613         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
614         (libc_feresetround_ppc): Likewise.
615         (libc_feupdateenv_test_ppc): Likewise.
616         (libc_feupdateenv_ppc): Likewise.
618         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
619         of ISA RN bits, and update macro names.
620         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
621         effectively the same as the previously mentioned function.
623         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
624         usage with fe_resetround_ppc.
626         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
627         to be used.
628         (libc_feholdexcept_setround_ctxf): Likewise.
629         (libc_feholdexcept_setround_ctxl): Likewise.
631 2016-10-21  Florian Weimer  <fweimer@redhat.com>
633         [BZ #20715]
634         * math/math.h [__cplusplus] (iszero): Define as function template.
635         * math/Makefile [CXX] (tests): Add test-math-iszero.
636         (CFLAGS-test-math-iszero.cc): Set.
637         * math/test-math-iszero.cc: New file.
639 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
641         [BZ #20660]
642         * sysdeps/arm/e_sqrt.c: New file.
643         * sysdeps/arm/e_sqrtf.c: Likewise.
645 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
647         [BZ #20718]
648         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
649         not use floating-point comparisons to test sign.
650         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
651         Likewise.
653         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
654         (getpayload): New declaration.
655         * math/Versions (getpayload): New libm symbol at version
656         GLIBC_2.25.
657         (getpayloadf): Likewise.
658         (getpayloadl): Likewise.
659         * math/Makefile (libm-calls): Add s_getpayloadF.
660         * math/libm-test.inc: Include <nan-high-order-bit.h>.
661         (struct test_f_f_data): Add comment.
662         (RUN_TEST_fp_f): New macro.
663         (RUN_TEST_LOOP_fp_f): Likewise.
664         (getpayload_test_data): New array.
665         (getpayload_test): New function.
666         (main): Call getpayload_test.
667         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
668         descriptor.
669         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
670         getpayloadf and getpayloadl.
671         * manual/libm-err-tab.pl: Update comment on interfaces without
672         ulps tabulated.
673         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
674         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
675         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
677         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
678         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
679         * sysdeps/nacl/libm.abilist: Update.
680         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
681         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
682         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
683         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
684         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
685         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
686         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
687         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
688         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
689         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
690         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
691         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
692         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
693         Likewise.
694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
695         Likewise.
696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
697         Likewise.
698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
699         Likewise.
700         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
701         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
702         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
703         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
704         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
706         Likewise.
707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
708         Likewise.
709         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
710         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
711         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
713 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
715         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
716         tst-fallocate{64}.
717         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
718         on syscall return.
720 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
722         [BZ #20689]
723         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
724         usable.
726 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
728         * sysdeps/generic/nan-high-order-bit.h: New file.
729         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
730         * sysdeps/mips/nan-high-order-bit.h: Likewise.
731         * sysdeps/hppa/math_private.h: Remove file.
732         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
733         not define here.
734         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
735         <nan-high-order-bit.h>.
736         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
737         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
738         <nan-high-order-bit.h>.
739         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
740         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
741         <nan-high-order-bit.h>.
742         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
743         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
744         <nan-high-order-bit.h>.
745         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
746         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
747         <nan-high-order-bit.h>.
748         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
749         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
750         <nan-high-order-bit.h>.
751         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
752         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
753         <nan-high-order-bit.h>.
754         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
755         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
756         <nan-high-order-bit.h>.
757         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
758         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
759         <nan-high-order-bit.h>.
760         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
761         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
762         <nan-high-order-bit.h>.
763         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
764         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
765         <nan-high-order-bit.h>.
766         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
767         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
768         <nan-high-order-bit.h>.
769         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
770         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
771         <nan-high-order-bit.h>.
772         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
773         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
774         <nan-high-order-bit.h>.
775         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
776         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
777         <nan-high-order-bit.h>.
778         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
779         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
780         <nan-high-order-bit.h>.
781         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
782         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
783         <nan-high-order-bit.h>.
784         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
785         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
786         <nan-high-order-bit.h>.
787         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
789 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
791         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
793 2016-09-22  John David Anglin  <dave.anglin@bell.net>
795         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
796         abort-instr.h.
797         (EFAULT): Remove conditional define.
798         (ENOSYS): Likewise.
799         (atomic_compare_and_exchange_val_acq): Use instruction nullification
800         instead of conditional branch instructions.
802 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
804         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
805         (totalordermag): New declaration.
806         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
807         New macro.
808         * math/Versions (totalordermag): New libm symbol at version
809         GLIBC_2.25.
810         (totalordermagf): Likewise.
811         (totalordermagl): Likewise.
812         * math/Makefile (libm-calls): Add s_totalordermagF.
813         * math/libm-test.inc (totalordermag_test_data): New array.
814         (totalordermag_test): New function.
815         (main): Call totalordermag_test.
816         * math/test-tgmath.c (NCALLS): Increase to 125.
817         (F(compile_test)): Call totalordermag.
818         (F(totalordermag)): New function.
819         * manual/arith.texi (FP Comparison Functions): Document
820         totalordermag, totalordermagf and totalordermagl.
821         * manual/libm-err-tab.pl: Update comment on interfaces without
822         ulps tabulated.
823         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
824         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
825         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
826         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
827         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
828         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
829         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
830         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
831         totalordermag.
832         (CFLAGS-nldbl-totalordermag.c): New variable.
833         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
834         (do_test): Also test totalordermagl.
835         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
836         Likewise.
837         * sysdeps/nacl/libm.abilist: Update.
838         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
839         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
840         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
841         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
842         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
843         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
844         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
845         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
846         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
847         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
848         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
849         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
851         Likewise.
852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
853         Likewise.
854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
855         Likewise.
856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
857         Likewise.
858         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
864         Likewise.
865         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
866         Likewise.
867         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
868         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
869         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
871 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
873         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
874         boolean.
876 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
878         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
879         raising FE_INVALID with feraisexcept in case where part of
880         argument is infinite, subtract that part of argument from itself.
881         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
882         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
883         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
885 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
887         * math/libm-test.inc (totalorder_test_data): Add more tests.
889 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
891         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
892         Undefine weak_alias and add a comment why mips64 require
893         versioning.
895 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
897         [BZ #20647]
898         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
899         maximum CPUID level is less than 2.
901 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
903         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
904         (totalorder): New declaration.
905         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
906         New macro.
907         * math/Versions (totalorder): New libm symbol at version
908         GLIBC_2.25.
909         (totalorderf): Likewise.
910         (totalorderl): Likewise.
911         * math/Makefile (libm-calls): Add s_totalorderF.
912         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
913         string.
914         * math/libm-test.inc (PAYLOAD_DIG): New macro.
915         (qnan_value_pl): Likewise.
916         (snan_value_pl): Likewise.
917         (qnan_value): Define using qnan_value_pl.
918         (snan_value): Define using snan_value_pl.
919         (struct test_ff_i_data): Add comment about which tests use this
920         structure.
921         (RUN_TEST_ff_b): New macro.
922         (RUN_TEST_LOOP_ff_b): Likewise.
923         (totalorder_test_data): New array.
924         (totalorder_test): New function.
925         (main): Call totalorder_test.
926         * math/test-tgmath.c (NCALLS): Increase to 122.
927         (F(compile_test)): Call totalorder.
928         (F(totalorder)): New function.
929         * manual/arith.texi (FP Comparison Functions): Document
930         totalorder, totalorderf and totalorderl.
931         * manual/libm-err-tab.pl: Update comment on interfaces without
932         ulps tabulated.
933         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
934         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
935         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
936         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
937         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
938         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
939         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
940         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
941         totalorder.
942         (CFLAGS-nldbl-totalorder.c): New variable.
943         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
944         file.
945         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
946         Add test-totalorderl-ldbl-128ibm.
947         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
948         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
949         test-totalorderl-ldbl-96.
950         * sysdeps/nacl/libm.abilist: Update.
951         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
952         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
953         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
954         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
955         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
956         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
957         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
958         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
959         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
960         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
961         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
962         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
964         Likewise.
965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
966         Likewise.
967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
968         Likewise.
969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
970         Likewise.
971         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
972         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
973         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
974         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
975         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
976         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
977         Likewise.
978         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
979         Likewise.
980         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
981         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
982         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
984 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
986         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
987         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
988         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
989         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
990         remove ENOSYS implementation.
991         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
992         Consolidate all Linux implementations.
994 2016-10-11  Florian Weimer  <fweimer@redhat.com>
996         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
997         * resolv/herror.c (herror): Cast away const-ness.
998         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
999         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
1001 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
1003         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
1004         instead of M_NAN + M_NAN.
1005         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
1007 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1009         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
1010         unused variable 'p'.
1012 2016-10-09  Alan Modra  <amodra@gmail.com>
1013             Andreas Schwab  <schwab@linux-m68k.org>
1015         [BZ #20554]
1016         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
1017         [PIC && !SHARED]: Set up PIC register for PLT call.
1019 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
1021         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
1022         conditional on value of [__FLT_EVAL_METHOD__].
1023         * math/test-iseqsig-excess-precision.c: New file.
1024         * math/Makefile (tests): Add test-iseqsig-excess-precision.
1026 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1028         * math/s_iseqsig_template.c: Include math-private.h.
1030         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
1031         * posix/tst-posix_fadvise.c: New file.
1032         * posix/tst-posix_fadvise64.c: Likewise.
1033         * posix/tst-posix_fadvise-common.c: Likewise.
1034         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1035         (__ASSUME_FADVISE64_64_6ARG): Define.
1036         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1037         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
1038         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1039         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
1040         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
1041         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
1042         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
1043         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
1044         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
1045         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
1046         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
1047         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
1049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
1050         Likewise.
1051         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
1052         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
1053         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
1054         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1055         Alias to __posix_fadvise64_l32.
1056         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
1057         Add compat definition to posix_fadvise64.
1058         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
1059         Add versioned definition to posix_fadvise64.
1060         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
1061         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
1062         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
1063         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
1064         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
1066         * io/Makefile (tests): Add tst-posix_fallocate and
1067         tst-posix_fallocate64.
1068         * io/tst-posix_fallocate-common.c: New file.
1069         * io/tst-posix_fallocate.c: Likewise.
1070         * io/tst-posix_fallocate64.c: Likewise.
1071         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
1072         file.
1073         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
1074         Likewise.
1075         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
1076         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
1077         Likewise.
1078         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
1079         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
1080         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
1081         SYSCALL_LL to pass both offset and len arguments.
1082         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
1083         Likewise.
1084         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
1085         __libc_pwrite64 alias used by posix_fallocate64.
1087         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1088         tst-fallocate64.
1089         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1090         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1091         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1092         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1093         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1094         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1095         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1096         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1097         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1098         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1099         macro on offset argument.
1100         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1101         SYSCALL_LL64 on offset argument.
1103         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
1104         tst-fallocate64.
1105         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
1106         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
1107         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
1108         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
1109         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
1110         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
1111         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
1112         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
1113         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
1114         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
1115         macro on offset argument.
1116         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
1117         SYSCALL_LL64 on offset argument.
1118         * test-skeleton.c (FAIL_RET): Add macro.
1119         (FAIL_EXIT): Likewise.
1120         (FAIL_EXIT1): Likewise.
1121         (_FAIL): Likewise.
1123 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1125         [BZ #20629]
1126         resolv: Remove RES_USEBSTRING and its implementation.
1127         * resolv/resolv.h (RES_USEBSTRING): Remove.
1128         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
1129         (digitvalue, encode_bitstring, decode_bitstring): Remove.
1130         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
1131         (labellen): Remove extended label types support.
1132         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
1133         * resolv/res_init.c (res_setoptions): Likewise.
1134         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1136 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1138         resolv: Remove RES_NOIP6DOTINT and its implementation.
1139         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
1140         (RES_NOIP6DOTINT): Remove.
1141         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
1142         handling.
1143         * resolv/res_debug.c (p_option): Likewise.
1144         * resolv/res_init.c (res_setoptions): Likewise.
1145         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
1147 2016-10-07  Florian Weimer  <fweimer@redhat.com>
1149         resolv: Deprecate unimplemented flags.
1150         * misc/sys/cdefs.h (__glibc_macro_warning1)
1151         (__glibc_macro_warning): Define.
1152         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
1153         (RES_KEEPTSIG): Mark as deprecated.
1154         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
1155         RES_NOCHECKNAME, RES_KEEPTSIG.
1156         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
1158 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1160         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
1161         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
1162         Use strong_alias to create symbols for glibc verison 2.19.
1164 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1166         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
1168 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1170         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
1172 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1174         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
1176 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1178         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
1179         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
1180         in header for using it as type for ifunc function because __GI_* symbols
1181         for ppc32 do not target the ifunc symbols.
1182         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
1184 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1186         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
1187         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
1188         libc_ifunc_hidden_def.
1189         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
1190         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
1191         Redirect ifunced function in header for using it as type of ifunc'ed
1192         function. Redefine libc_hidden_def to use fallback non ifunc'ed
1193         function for __GI_* symbol.
1194         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
1195         * include/libc-symbols.h
1196         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
1198 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1200         [BZ #20478]
1201         * sysdeps/s390/multiarch/ifunc-resolve.h
1202         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
1203         to create ifunc symbols.
1204         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
1205         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
1206         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
1207         for using it as type for ifunc function.
1208         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
1209         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
1210         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
1211         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
1212         * sysdeps/s390/multiarch/strcat.c: Likewise.
1213         * sysdeps/s390/multiarch/strchr.c: Likewise.
1214         * sysdeps/s390/multiarch/strcmp.c: Likewise.
1215         * sysdeps/s390/multiarch/strcpy.c: Likewise.
1216         * sysdeps/s390/multiarch/strcspn.c: Likewise.
1217         * sysdeps/s390/multiarch/strlen.c: Likewise.
1218         * sysdeps/s390/multiarch/strncmp.c: Likewise.
1219         * sysdeps/s390/multiarch/strncpy.c: Likewise.
1220         * sysdeps/s390/multiarch/strnlen.c: Likewise.
1221         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
1222         * sysdeps/s390/multiarch/strrchr.c: Likewise.
1223         * sysdeps/s390/multiarch/strspn.c: Likewise.
1224         * sysdeps/s390/multiarch/wcschr.c: Likewise.
1225         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
1226         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
1227         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
1228         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
1229         * sysdeps/s390/multiarch/wmemset.c: Likewise.
1230         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
1231         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
1232         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
1233         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
1234         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
1235         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
1237 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1239         * include/libc-symbols.h (__ifunc_resolver):
1240         New macro is used by __ifunc* macros.
1241         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
1242         depending on HAVE_GCC_IFUNC.
1243         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
1244         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
1245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1246         Redirect ifunced function in header for using as type for ifunc function.
1247         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
1248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
1249         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
1250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
1251         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1253         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1254         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1255         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1256         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1257         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1258         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1259         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1260         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
1263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
1265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1266         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1267         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1268         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1269         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1270         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1271         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1272         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1273         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1274         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1275         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1276         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1277         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1278         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
1279         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
1281         Add libc_hidden_def() and use libc_ifunc_hidden() macro
1282         instead of libc_ifunc() macro.
1283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
1284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1286 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
1288         * config.h.in (HAVE_GCC_IFUNC): New undef.
1289         * configure.ac: Add check if gcc supports attribute ifunc feature.
1290         * configure: Regenerated.
1291         * manual/install.texi: Add recommendation for gcc with
1292         indirect-function support.
1293         * INSTALL: Regenerated.
1295 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
1297         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
1298         macro.
1299         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1300         (__iseqsig): New declaration.
1301         * math/s_iseqsig_template.c: New file.
1302         * math/Versions (__iseqsigf): New libm symbol at version
1303         GLIBC_2.25.
1304         (__iseqsig): Likewise.
1305         (__iseqsigl): Likewise.
1306         * math/libm-test.inc (iseqsig_test_data): New array.
1307         (iseqsig_test): New function.
1308         (main): Call iseqsig_test.
1309         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
1310         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
1311         * manual/libm-err-tab.pl: Update comment on interfaces without
1312         ulps tabulated.
1313         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
1314         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
1315         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
1316         * sysdeps/nacl/libm.abilist: Update.
1317         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1318         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1319         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1320         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1321         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1322         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1323         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1324         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1325         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1326         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1327         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1328         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1330         Likewise.
1331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1332         Likewise.
1333         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1334         Likewise.
1335         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1336         Likewise.
1337         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1338         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1339         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1340         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1341         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1342         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1343         Likewise.
1344         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1345         Likewise.
1346         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1347         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1348         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1350 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1352         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
1353         do_sincos_2, sloww, sloww1): Update comments.
1355         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
1356         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
1358         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
1359         K boolean and rename it.
1360         (__sin): Adjust.
1361         (__cos): Adjust.
1363 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1364             Siddhesh Poyarekar  <siddhesh@sourceware.org>
1366         * manual/nss.texi: Fix typos in the manual.
1368 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
1370         * manual/contrib.texi: Fix typos in the manual.
1372         * manual/maint.texi: Fix typos in the manual.
1374         * manual/install.texi: Fix typos in the manual.
1375         * INSTALL: Regenerated.
1377         * manual/lang.texi: Fix typos in the manual.
1379         * manual/probes.texi: Fix typos in the manual.
1381         * manual/threads.texi: Fix typos in the manual.
1383         * manual/debug.texi: Fix typos in the manual.
1385         * manual/crypt.texi: Fix typos in the manual.
1387         * manual/conf.texi: Fix typos in the manual.
1389         * manual/sysinfo.texi: Fix typos in the manual.
1391         * manual/users.texi: Fix typos in the manual.
1393         * manual/job.texi: Fix typos in the manual.
1395         * manual/process.texi: Fix typos in the manual.
1397         * manual/argp.texi: Fix typos in the manual.
1398         * manual/getopt.texi: Likewise.
1399         * manual/startup.texi: Likewise.
1401         * manual/signal.texi: Fix typos in the manual.
1403         * manual/setjmp.texi: Fix typos in the manual.
1405         * manual/resource.texi: Fix typos in the manual.
1407         * manual/time.texi: Fix typos in the manual.
1409         * manual/arith.texi: Fix typos in the manual.
1411         * manual/math.texi: Fix typos in the manual.
1413         * manual/syslog.texi: Fix typos in the manual.
1415         * manual/terminal.texi: Fix typos in the manual.
1417         * manual/socket.texi: Fix typos in the manual.
1419         * manual/filesys.texi: Fix typos in the manual.
1421         * manual/llio.texi: Fix typos in the manual.
1423         * manual/stdio.text: Fix typos in the manual.
1425 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1427         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
1428         instead of K1.
1430         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
1431         SHIFT_QUADRANT and make it bool.
1432         (do_sincos_2): Likewise.
1433         (sloww): Likewise.
1434         (sloww1): Likewise.
1435         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
1436         (__cos): Likewise.
1438 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1440         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
1442 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
1444         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
1445         Define to __WORDSIZE, not conditional on [LONG_MAX ==
1446         0x7fffffffL].
1447         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
1449 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1451         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
1452         inline by __inline__.
1453         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
1454         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
1455         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
1456         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
1457         sigset_t from signal.h.
1458         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
1459         which is already required.
1461 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
1463         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
1465 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
1467         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
1468         (struct tcp_repair_window): New type.
1470 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1472         * libio/tst-memstream3.c: Include string.h.
1474 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1476         [BZ #18241]
1477         [BZ #20181]
1478         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
1479         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
1480         write position is at the end the buffer.
1481         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
1482         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
1483         (_IO_str_seekoff): Set correct offset from negative displacement and
1484         set EINVAL for invalid ones.
1485         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
1486         buffer length.
1487         (_IO_wstr_switch_to_get_mode): New function.
1488         (_IO_wstr_seekoff): Set correct offset from negative displacement and
1489         set EINVAL for invalid ones.
1490         * libio/tst-memstream3.c: New file.
1491         * libio/tst-wmemstream3.c: Likewise.
1492         * manual/examples/memstrm.c: Remove warning when priting size_t.
1494 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1496         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
1497         macro to use __builtin_fma.
1498         * sysdeps/x86_64/fpu/dla.h: Remove file.
1500         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
1501         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
1502         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
1504 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
1506         [BZ #20292]
1507         * elf/Makefile (routines): Add dl-addr-obj.
1508         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
1509         tst-_dl_addr_inside_object.
1510         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
1511         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1512         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
1513         [ifeq (yesyes,$(have-fpie)$(build-shared))]
1514         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
1515         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
1516         * elf/dl-open.c: Likewise.
1517         * elf/dl-addr-obj.c: New file.
1518         * elf/tst-_dl_addr_inside_object.c: New file.
1520 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
1522         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
1523         <bits/iscanonical.h>.
1524         * bits/iscanonical.h: New file.
1525         * math/s_iscanonicall.c: Likewise.
1526         * math/Versions (__iscanonicall): New libm symbol at version
1527         GLIBC_2.25.
1528         * math/libm-test.inc (iscanonical_test_data): New array.
1529         (iscanonical_test): New function.
1530         (main): Call iscanonical_test.
1531         * math/Makefile (headers): Add bits/iscanonical.h.
1532         (type-ldouble-routines): Add s_iscanonicall.
1533         * manual/arith.texi (Floating Point Classes): Document
1534         iscanonical.
1535         * manual/libm-err-tab.pl: Update comment on interfaces without
1536         ulps tabulated.
1537         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
1538         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
1539         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
1540         Likewise.
1541         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
1542         test-iscanonical-ldbl-128ibm.
1543         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
1544         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
1545         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
1546         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
1547         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
1548         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1549         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1551         Likewise.
1552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1553         Likewise.
1554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1555         Likewise.
1556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1557         Likewise.
1558         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1559         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1561 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1563         * string/bits/string3.h: Remove C++ style comments.
1565 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1567         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
1568         instead of ternary condition.
1569         (do_sincos_2): Likewise.
1570         (__sin): Likewise.
1571         (__cos): Likewise.
1572         (slow): Likewise.
1573         (sloww): Likewise.
1574         (sloww1): Likewise.
1575         (bsloww): Likewise.
1576         (bsloww1): Likewise.
1578         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
1579         instead of ternary condition.
1580         (do_sin_slow): Likewise.
1581         (do_sincos_1): Likewise.
1582         (do_sincos_2): Likewise.
1583         (__cos): Likewise.
1584         (sloww): Likewise.
1585         (sloww1): Likewise.
1586         (sloww2): Likewise.
1587         (bsloww): Likewise.
1588         (bsloww1): Likewise.
1589         (bsloww2): Likewise.
1591         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
1592         check from here...
1593         (slow2): ... and here...
1594         (__sin): ... to here.
1596 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
1598         * math/math.h
1599         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
1600         Cast argument to its own type.
1601         * math/test-iszero-excess-precision.c: New file.
1602         * math/Makefile (tests): Add test-iszero-excess-precision.
1603         (CFLAGS-test-iszero-excess-precision.c): New variable.
1605 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
1607         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
1608         field, add err field.
1609         (__spawni_child): Report error through err member instead of pipe.
1610         (__spawnix): Likewise.
1612 2016-09-28  Zack Weinberg  <zackw@panix.com>
1614         * scripts/check-installed-headers.sh: Generalize treatment of
1615         sys/elf.h to all target architectures.
1617         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
1618         deleted typedef ucontext_t.
1620 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1622         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
1623         (__INTERNAL_SYSCALL1): Likewise.
1624         (__INTERNAL_SYSCALL2): Likewise.
1625         (__INTERNAL_SYSCALL3): Likewise.
1626         (__INTERNAL_SYSCALL4): Likewise.
1627         (__INTERNAL_SYSCALL5): Likewise.
1628         (__INTERNAL_SYSCALL6): Likewise.
1629         (__INTERNAL_SYSCALL7): Likewise.
1630         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
1631         (__INTERNAL_SYSCALL_NARGS): Likewise.
1632         (__INTERNAL_SYSCALL_DISP): Likewise.
1633         (INTERNAL_SYSCALL_CALL): Likewise.
1634         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
1635         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
1636         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
1637         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
1638         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
1639         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
1640         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
1641         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
1642         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
1643         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
1644         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
1645         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
1646         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
1648 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
1650         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
1651         macro.
1652         * math/libm-test.inc (iszero_test_data): New array.
1653         (iszero_test): New function.
1654         (main): Call iszero_test.
1655         * manual/arith.texi (Floating Point Classes): Document iszero.
1656         * manual/libm-err-tab.pl: Update comment on interfaces without
1657         ulps tabulated.
1659 2016-09-23  Zack Weinberg  <zackw@panix.com>
1661         * scripts/check-installed-headers.sh: New script.
1662         * Rules: In each directory that defines header files to be installed,
1663         run check-installed-headers.sh on them as a special test.
1664         * Makefile: Likewise for the headers installed at top level.
1666         * include/aliases.h, include/alloca.h, include/argz.h
1667         * include/arpa/nameser.h, include/arpa/nameser_compat.h
1668         * include/elf.h, include/envz.h, include/err.h
1669         * include/execinfo.h, include/fpu_control.h, include/getopt.h
1670         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
1671         * include/link.h, include/malloc.h, include/mcheck.h
1672         * include/mntent.h, include/netinet/ether.h
1673         * include/nss.h, include/obstack.h, include/printf.h
1674         * include/pty.h, include/resolv.h, include/rpc/auth.h
1675         * include/rpc/auth_des.h, include/rpc/auth_unix.h
1676         * include/rpc/clnt.h, include/rpc/des_crypt.h
1677         * include/rpc/key_prot.h, include/rpc/netdb.h
1678         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
1679         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
1680         * include/rpc/rpc_msg.h, include/rpc/svc.h
1681         * include/rpc/svc_auth.h, include/rpc/xdr.h
1682         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
1683         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
1684         * include/rpcsvc/ypupd.h, include/shadow.h
1685         * include/stdio_ext.h, include/sys/epoll.h
1686         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
1687         * include/sys/prctl.h, include/sys/profil.h
1688         * include/sys/statfs.h, include/sys/sysctl.h
1689         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
1690         * sysdeps/arm/nacl/include/bits/setjmp.h
1691         * sysdeps/mips/include/sys/asm.h
1692         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
1693         * sysdeps/unix/sysv/linux/include/sys/timex.h
1694         * sysdeps/x86/fpu/include/bits/fenv.h:
1695         Add #ifndef _ISOMAC guard around internal declarations.
1696         Add multiple-inclusion guard if not already present.
1698 2016-09-23  Zack Weinberg  <zackw@panix.com>
1700         * sysdeps/generic/sys/ucontext.h
1701         * sysdeps/arm/sys/ucontext.h
1702         * sysdeps/i386/sys/ucontext.h
1703         * sysdeps/m68k/sys/ucontext.h
1704         * sysdeps/mips/sys/ucontext.h
1705         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
1706         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
1707         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
1708         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1709         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
1710         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1711         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1712         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1713         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1714         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1715         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1716         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1717         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1718         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1719         Include both bits/sigcontext.h and bits/sigstack.h.
1720         Fix grammar error in comment, if present.
1722         * bits/sigstack.h
1723         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1724         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
1725         * sysdeps/unix/sysv/linux/bits/sigstack.h
1726         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
1727         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
1728         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1729         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
1730         * bits/sigcontext.h
1731         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1732         * sysdeps/unix/sysv/linux/bits/sigcontext.h
1733         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
1734         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
1735         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
1736         as well as signal.h, if this was not already allowed.  Request
1737         definition of size_t if necessary.  Minimize semantically-null
1738         differences across files.
1740 2016-09-23  Zack Weinberg  <zackw@panix.com>
1742         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
1743         Remove all logic conditional on __need macros.  Move all the
1744         conditionally defined types to their own headers...
1745         * time/bits/types/clock_t.h: Define clock_t here.
1746         * time/bits/types/clockid_t.h: Define clockid_t here.
1747         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
1748         * time/bits/types/struct_timespec.h: Define struct timespec here.
1749         * time/bits/types/struct_timeval.h: Define struct timeval here.
1750         * time/bits/types/struct_tm.h: Define struct tm here.
1751         * time/bits/types/time_t.h: Define time_t here.
1752         * time/bits/types/timer_t.h: Define timer_t here.
1753         * time/Makefile: Install the new headers.
1755         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
1756         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
1757         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
1758         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
1759         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
1760         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
1761         * sysdeps/unix/sysv/linux/bits/resource.h
1762         * sysdeps/unix/sysv/linux/bits/timex.h
1763         * sysdeps/unix/sysv/linux/mips/bits/resource.h
1764         * sysdeps/unix/sysv/linux/net/ppp_defs.h
1765         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
1766         * sysdeps/unix/sysv/linux/sys/acct.h
1767         * sysdeps/unix/sysv/linux/sys/timerfd.h
1768         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
1769         * time/sys/time.h, time/sys/timeb.h
1770         Use the new bits/types headers.
1772         * include/time.h: Remove __need logic.
1773         * include/bits/time.h
1774         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
1775         * include/bits/types/time_t.h, include/bits/types/timer_t.h
1776         * include/bits/types/struct_itimerspec.h
1777         * include/bits/types/struct_timespec.h
1778         * include/bits/types/struct_timeval.h
1779         * include/bits/types/struct_tm.h:
1780         New wrapper headers.
1782 2016-09-23  Zack Weinberg  <zackw@panix.com>
1784         * sysdeps/mach/hurd/net/if_ppp.h
1785         * sysdeps/unix/sysv/linux/net/if_ppp.h:
1786         Only define struct ifpppstatsreq and struct ifpppcstatsreq
1787         if __USE_MISC is defined, to ensure struct ifreq is declared.
1789         * inet/netinet/ether.h: Condition all function prototypes
1790         on __USE_MISC, to ensure struct ether_addr is declared.
1792         * socket/bits/types/struct_osockaddr.h: New header.
1793         * include/bits/types/struct_osockaddr.h: New wrapper.
1794         * socket/Makefile: Install the new header.
1795         * socket/sys/socket.h, inet/protocols/talkd.h:
1796         Refer to bits/types/struct_osockaddr.h for the definition of
1797         struct osockaddr.
1799 2016-09-23  Zack Weinberg  <zackw@panix.com>
1801         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
1802         * inet/protocols/routed.h, inet/protocols/talkd.h
1803         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
1804         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
1805         * sysdeps/generic/netinet/if_ether.h
1806         * sysdeps/generic/netinet/in_systm.h
1807         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
1808         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1809         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
1810         * sysdeps/mach/hurd/net/if_arp.h
1811         * sysdeps/mach/hurd/net/if_ppp.h
1812         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
1813         * sysdeps/unix/sysv/linux/bits/in.h
1814         * sysdeps/unix/sysv/linux/net/ethernet.h
1815         * sysdeps/unix/sysv/linux/net/if_arp.h
1816         * sysdeps/unix/sysv/linux/net/if_ppp.h
1817         * sysdeps/unix/sysv/linux/net/if_shaper.h
1818         * sysdeps/unix/sysv/linux/net/route.h
1819         * sysdeps/unix/sysv/linux/netinet/if_ether.h
1820         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1821         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1822         * sysdeps/unix/sysv/linux/netipx/ipx.h
1823         * sysdeps/unix/sysv/linux/sys/acct.h
1824         * include/arpa/nameser.h, include/resolv.h:
1825         Change all uses of u_char to unsigned char,
1826         u_short and ushort to unsigned short, u_int and uint to unsigned int,
1827         u_long and ulong to unsigned long, u_int8_t to uint8_t,
1828         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
1829         and u_int64_t and u_quad_t to uint64_t.
1831         * mach/sys/reboot.h: Remove two casts of integer literals
1832         to the types they already have.
1834         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
1835         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
1836         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
1837         from referring to 'unsigned char' to 'uint8_t' for consistency with
1838         the macro definition below.
1840         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
1841         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
1842         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
1843         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
1844         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
1845         * sysdeps/unix/sysv/linux/sys/acct.h
1846         * include/arpa/nameser.h, include/resolv.h:
1847         Fix indentation disrupted by mechanical edits.
1849         * inet/protocols/talkd.h, resolv/arpa/nameser.h
1850         * sysdeps/generic/netinet/in_systm.h
1851         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
1852         * sysdeps/gnu/netinet/udp.h
1853         * sysdeps/unix/sysv/linux/net/ethernet.h
1854         * sysdeps/unix/sysv/linux/net/if_arp.h
1855         * sysdeps/unix/sysv/linux/net/if_ppp.h
1856         * sysdeps/unix/sysv/linux/net/if_shaper.h
1857         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
1858         * sysdeps/unix/sysv/linux/netinet/if_tr.h
1859         * sysdeps/unix/sysv/linux/netipx/ipx.h
1860         * sysdeps/unix/sysv/linux/sys/acct.h
1861         Include stdint.h for uintNN_t definitions.
1862         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
1864 2016-09-23  Zack Weinberg  <zackw@panix.com>
1866         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
1867         * sysdeps/unix/sysv/linux/netrose/rose.h:
1868         Include sys/socket.h and netax25/ax25.h.
1870         * inet/netinet/icmp6.h, inet/netinet/ip6.h
1871         * resolv/arpa/nameser_compat.h:
1872         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
1874         * sysdeps/unix/sysv/linux/sys/quota.h:
1875         Use __caddr_t instead of caddr_t.
1876         * sysdeps/unix/sysv/linux/sys/timerfd.h:
1877         Use __clockid_t instead of clockid_t.
1879         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
1881         * argp/argp.h: Check whether _LIBC is defined before expanding it.
1882         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
1883         expanding it.
1885         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
1886         Define __glibc_c99_flexarr_available to 1 when the compiler
1887         supports C99-compatible flexible array members, 0 otherwise.
1888         * sysdeps/unix/sysv/linux/bits/socket.h
1889         * sysdeps/mach/hurd/bits/socket.h
1890         * bits/socket.h: Use __glibc_c99_flexarr_available in
1891         definitions of struct cmsghdr and CMSG_DATA.
1893 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1895         * manual/nss.texi (NSS Modules Interface): Adjust function return
1896         type to enum nss_status.  Document errnop argument.  Clarify
1897         h_errnop semantics.  Fix cross-reference formatting.
1898         (NSS Module Function Internals): Mention that *errnop needs to be
1899         set on failure, but not to zero.
1901 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1903         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
1904         (get_random_name): New functions.
1905         (check_wrapper_flags_mode): Use linkat to give the new file a name
1906         determined by get_random_name.
1907         (do_test): Add calls to test open64 and openat64.
1909 2016-09-23  Florian Weimer  <fweimer@redhat.com>
1911         * test-skeleton.c: Remove #include <stdarg.h>.
1913 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
1915         [BZ #19826]
1916         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
1917         initialization of static TLS entries.
1918         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
1919         * nptl/allocatestack.c (init_one_static_tls): Likewise.
1921 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1923         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
1924         _hurd_malloc_fork_prepare.
1925         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
1926         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
1927         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
1928         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
1929         (_hurd_fork_child_hook): Drop malloc_fork_child.
1930         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
1931         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
1932         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
1933         after locking locks (notably hurd_dtable_lock). Call
1934         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
1935         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
1936         __malloc_fork_unlock_child.
1937         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
1939 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
1941         * soft-fp/extendhftf2.c: New.
1942         * soft-fp/fixhfti.c: Likewise.
1943         * soft-fp/fixunshfti.c: Likewise.
1944         * soft-fp/floattihf.c: Likewise.
1945         * soft-fp/floatuntihf.c: Likewise.
1946         * soft-fp/half.h: Likewise.
1947         * soft-fp/trunctfhf2.c: Likewise.
1949 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
1951         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
1952         macro.
1953         * math/libm-test.inc (issubnormal_test_data): New array.
1954         (issubnormal_test): New function.
1955         * manual/arith.texi (Floating Point Classes): Document
1956         issubnormal.
1957         * manual/libm-err-tab.pl: Update comment on interfaces without
1958         ulps tabulated.
1960         * sysdeps/generic/stdint.h: Define
1961         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1962         <bits/libc-header-start.h> instead of including <features.h>.
1963         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
1964         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
1965         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
1966         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
1967         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
1968         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
1969         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
1970         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
1971         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
1972         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
1973         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
1974         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
1975         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
1976         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
1977         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
1978         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
1979         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
1980         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
1981         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
1982         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
1983         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
1984         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
1985         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
1986         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
1987         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
1988         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
1989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
1990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
1991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
1992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
1993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
1994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
1995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
1996         * manual/arith.texi (Integers): Document these macros for types
1997         specified by width properties.
1998         * manual/lang.texi (Width of Type): Document these macros for
1999         other standard typedefs.
2000         * stdlib/tst-width-stdint.c: New file.
2001         * stdlib/Makefile (tests): Add tst-width-stdint.
2003 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2005         [BZ #20016]
2006         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
2007         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
2008         Move ...
2009         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
2010         ... here, as compatibility symbols in a new file.
2011         * resolv/Makefile (libresolv-routines): Add compat-hooks.
2012         * resolv/res_init.c (__res_vinit): Adjust member names.
2013         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
2014         * resolv/resolv.h (res_sendhookact, res_send_qhook)
2015         (res_send_rhook): Remove.
2016         (struct __res_state): Rename qhook, rhook members.
2018 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2020         malloc: Use __libc_lock wrappers.
2021         * malloc/arena.c (list_lock, free_list_lock): Define using
2022         __libc_lock_define_initialized.
2023         (arena_lock): Adjust formatting.
2024         * malloc/malloc.c (struct malloc_state): Define mutex using
2025         __libc_lock_define.
2026         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
2027         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
2028         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
2029         (mutex_unlock, mutex_trylock): Remove.
2030         (__pthread_initialize): Remove unused macro.
2031         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
2032         (mutex_unlock, mutex_trylock): Remove.
2034 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2036         [BZ #20592]
2037         Remove RR type classification macros.
2038         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
2039         (ns_t_udp_p, ns_t_xfr_p): Remove.
2041 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2043         Remove misleading version information.
2044         * resolv/arpa/nameser.h (__NAMESER): Remove.
2045         * resolv/arpa/nameser_compat.h (__BIND): Remove.
2047 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2049         Remove the always-defined BIND_4_COMPAT macro.
2050         * resolv/arpa/nameser.h: Unconditionally include
2051         <arpa/nameser_compat.h>.
2052         (BIND_4_COMPAT): Remove.
2053         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
2055 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2057         [BZ #20591]
2058         Remove obsolete DNSSEC support.
2059         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
2060         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
2061         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
2062         (ns_verify_tcp, ns_verify_tcp_init): Remove.
2063         (ns_cert_types): Add comment.
2064         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
2065         separately.
2066         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
2067         (dst_s_dns_key_id): Remove.
2068         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
2069         variables.
2071 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2073         [BZ #20524]
2074         * manual/string.texi (String/Array Comparison): Clarify the
2075         strverscmp behavior.
2077 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2079         * test-skeleton.c (xasprintf): Add function.
2080         * io/tst-open-tmpfile.c: New test.
2081         * io/Makefile (tests): Add it.
2083 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2085         Avoid running $(CXX) during build to obtain header file paths.
2086         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
2087         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
2088         * Makerules (cstdlib, cmath): Remove variables.  Use
2089         $(c++-cstdlib-header), $(c++-cmath-header) instead.
2090         * configure: Regenerate.
2092 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2094         * Makeconfig (all-object-suffixes): Include .op only if
2095         $(build-profile).
2097 2016-09-21  Florian Weimer  <fweimer@redhat.com>
2099         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
2100         conditionals.  Do not define PATH_MAX.
2102 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2104         * posix/Makefile (tests): Add tst-spawn3.
2105         * posix/tst-spawn3.c: New file.
2106         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
2107         if it is already opened for open action.
2109         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
2110         all signals when executing the clone vfork child.
2111         (SIGALL_SET): Remove macro.
2113         * nptl/Makefile (tests): Add tst-exec5.
2114         * nptl/tst-exec5.c: New file.
2115         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
2116         asynchronous cancellation.
2118 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2120         * hurd/exc2signal.c: #include <hurd/signal.h>
2121         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
2122         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
2123         accordingly.
2124         * mach/mach_error.c (mach_error): Fix old-style function definition.
2125         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
2127 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2129         * math/Makefile (libm-calls): Remove s_nanF.
2130         (gen-libm-calls): Add s_nanF.
2132         * math/s_nan.c: Refactor into ...
2133         * math/s_nan_template.c: New file.
2135         * math/s_nanf.c: Removed.
2136         * math/s_nanl.c: Removed.
2137         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
2138         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
2140         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2141         (LDOUBLE_nanl_libm_version): New macro.
2143         * sysdeps/generic/math-type-macros-double.h:
2144         (M_STRTO_NAN): New macro.
2145         * sysdeps/generic/math-type-macros-float.h: Likewise.
2146         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
2148         * sysdeps/generic/math-type-macros.h: Document
2149         M_STRTO_NAN.
2151 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2153         * math/s_nanf.c: Remove __nanf undef.
2154         * math/s_nan.c: Remove __nan undef.
2155         * math/s_nanl.c: Remove __nanl undef.
2157         * sysdeps/generic/math_private.h (__nan): Remove macro
2158         override.
2159         (__nanf): Likewise.
2160         (__nanl): Likewise.
2162 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2164         * math/Makefile (gen-all-calls): New variable.
2165         (generated): Replace gen-libm-calls with gen-all-calls.
2166         (gen-libm-templates.stmp): Likewise.  Also, ensure
2167         the output directory exists or is created and add
2168         dependency on the Makefile.
2169         (calls): Move s_ldexpF into gen-calls.
2170         (gen-calls): New variable.
2172         * math/s_ldexpf.c: Removed.
2173         * math/s_ldexpl.c: Removed.
2174         * math/s_ldexp.c: Refactored into ...
2175         * math/s_ldexp_template.c: New file.
2177         * sysdeps/generic/math-type-macros-double.h: Remove
2178         redundant fall-through definition of declare_mgen_alias.
2179         (declare_mgen_alias_2): New macro.
2181         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
2182         New macro for function aliased to two exported symbols.
2184         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
2185         new template file.
2186         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
2188 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2190         * Makeconfig (all-object-suffixes): Remove .og.
2191         * Makerules (elide-routines.og): Remove.
2192         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
2193         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
2194         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
2196 2016-09-20  Florian Weimer  <fweimer@redhat.com>
2198         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
2199         .os objects.
2201 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2203         [BZ #20615]
2204         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
2205         fpu directory by non-fpu.
2206         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
2207         on non-fpu directory from a fpu directory.
2209 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
2211         * include/limits.h: Define
2212         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
2213         <bits/libc-header-start.h> instead of including <features.h>.
2214         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
2215         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
2216         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
2217         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
2218         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
2219         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
2220         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
2221         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
2222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
2223         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
2224         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
2225         * manual/lang.texi (Width of Type): Document these macros.
2226         * stdlib/tst-width.c: New file.
2227         * stdlib/Makefile (tests): Add tst-width.
2229 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2231         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
2232         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
2234 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2236         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
2237         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2238         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2240 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2242         [BZ #18243]
2243         * rt/Makefile (test): Add tst-shm-cancel.
2244         * rt/tst-shm-cancel.c: New file.
2245         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
2247         [BZ #18243]
2248         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
2249         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
2250         definition.
2251         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
2252         uncontended case.
2253         * nptl/sem_wait.c (__new_sem_wait): Likewise.
2254         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
2255         (tf): Fix check for uncontended case.
2256         (do_test): Likewise.
2257         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
2258         (tf): Fix check for uncontended case.
2259         (do_test): Likewise.
2260         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
2261         (tf): Fix check for uncontended case.
2262         (do_test): Likewise.
2263         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
2264         (tf): Fix check for uncontended case.
2265         (do_test): Likewise.
2267         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
2268         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
2270         [BZ #15765]
2271         * nptl/Makefile (tests): Add tst-sem16.
2272         * nptl/tst-sem16.c: New file.
2273         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
2275         * nptl/sem_open.c (sem_open): Init pad value to 0.
2276         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
2277         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
2279 2016-09-15  Florian Weimer  <fweimer@redhat.com>
2281         [BZ #20611]
2282         * inet/Makefile (routines): Add inet6_scopeid_pton.
2283         (tests): Add tst-inet6_scopeid_pton.
2284         * inet/inet6_scopeid_pton.c: New file.
2285         * inet/net-internal.h: Likewise.
2286         * inet/tst-inet6_scopeid_pton.c: New test.
2287         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
2288         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
2289         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
2291 2016-09-14  Florian Weimer  <fweimer@redhat.com>
2293         Remove support for compiling wrappers with PTW.
2294         * sysdeps/nptl/Makeconfig: Drop ptw- support.
2295         * nptl/Makefile (pthread-compat-wrappers): Define.
2296         (libpthread-routines): Use pthread-compat-wrappers.
2297         * sysdeps/unix/sysv/linux/alpha/Makefile
2298         (libpthread-routines, libpthread-shared-only-routines): Remove
2299         ptw- prefix.
2300         * sysdeps/s390/nptl/Makefile
2301         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2302         * sysdeps/ia64/nptl/Makefile
2303         (libpthread-routines, libpthread-shared-only-routines): Likewise.
2304         * sysdeps/nacl/Makefile (libpthread-routines): Use
2305         pthread-compat-wrappers to filter the routines list instead of the
2306         ptw- prefix.
2308 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2310         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
2311         with L() and remove explicit suffix, convert real literals
2312         which can be equivalentally substituted with integers, and
2313         transform -L(x) to L(-x).
2315         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2316         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2317         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2318         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2319         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2320         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2321         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2322         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2323         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2324         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2325         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2326         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2327         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2328         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2329         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2330         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2331         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2332         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2333         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2334         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2335         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2336         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2337         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2338         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2339         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2340         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2341         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2342         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2343         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2344         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2345         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2346         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2347         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2348         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2349         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2350         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2351         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2352         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2353         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2354         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2355         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2356         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2357         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2358         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2359         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2360         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2361         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2362         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2363         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2364         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2366 2016-09-13  Florian Weimer  <fweimer@redhat.com>
2368         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
2370 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2372         * malloc/Makefile (tests): Remove individual static test names
2373         and just add all of tests-static.
2375         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
2377 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
2379         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
2380         file.
2382         * sysdeps/sparc/fpu/fegetmode.c: New file.
2383         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
2385         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
2386         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
2388         * sysdeps/s390/fpu/fegetmode.c: New file.
2389         * sysdeps/s390/fpu/fesetmode.c: Likewise.
2391         * sysdeps/powerpc/fpu/fegetmode.c: New file.
2392         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
2393         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
2394         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
2395         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
2396         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
2398         * sysdeps/mips/fpu/fegetmode.c: New file.
2399         * sysdeps/mips/fpu/fesetmode.c: Likewise.
2401         * sysdeps/m68k/fpu/fegetmode.c: New file.
2402         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
2404         * sysdeps/ia64/fpu/fegetmode.c: New file.
2405         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
2407         * sysdeps/hppa/fpu/fegetmode.c: New file.
2408         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
2410         * sysdeps/arm/fegetmode.c: New file.
2411         * sysdeps/arm/fesetmode.c: Likewise.
2413         * sysdeps/alpha/fpu/fegetmode.c: New file.
2414         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
2416         * sysdeps/aarch64/fpu/fegetmode.c: New file.
2417         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
2419         * math/fegetmode.c: New file.
2420         * math/fesetmode.c: Likewise.
2421         * sysdeps/i386/fpu/fegetmode.c: Likewise.
2422         * sysdeps/i386/fpu/fesetmode.c: Likewise.
2423         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
2424         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
2425         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
2426         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
2427         declaration.
2428         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
2429         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
2430         typedef.
2431         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2432         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2433         (femode_t): New typedef.
2434         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2435         * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2436         (femode_t): New typedef.
2437         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2438         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2439         (femode_t): New typedef.
2440         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2441         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2442         (femode_t): New typedef.
2443         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2444         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2445         (femode_t): New typedef.
2446         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2447         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2448         (femode_t): New typedef.
2449         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2450         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2451         (femode_t): New typedef.
2452         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2453         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2454         (femode_t): New typedef.
2455         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2456         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2457         (femode_t): New typedef.
2458         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2459         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2460         (femode_t): New typedef.
2461         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
2462         declaration.
2463         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2464         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2465         (femode_t): New typedef.
2466         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2467         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2468         (femode_t): New typedef.
2469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2470         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2471         (femode_t): New typedef.
2472         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2473         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2474         (femode_t): New typedef.
2475         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2476         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2477         (femode_t): New typedef.
2478         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
2479         * manual/arith.texi (FE_DFL_MODE): Document macro.
2480         (fegetmode): Document function.
2481         (fesetmode): Likewise.
2482         * math/Versions (fegetmode): New libm symbol at version
2483         GLIBC_2.25.
2484         (fesetmode): Likewise.
2485         * math/Makefile (libm-support): Add fegetmode and fesetmode.
2486         (tests): Add test-femode and test-femode-traps.
2487         * math/test-femode-traps.c: New file.
2488         * math/test-femode.c: Likewise.
2489         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
2490         alias for __fe_dfl_env.
2491         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
2492         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
2493         (__fe_dfl_mode): Likewise.
2494         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
2495         version GLIBC_2.25.
2496         * sysdeps/nacl/libm.abilist: Update.
2497         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2498         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2499         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2500         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2501         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2502         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2503         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2504         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2505         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2506         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2507         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2508         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2510         Likewise.
2511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2512         Likewise.
2513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2514         Likewise.
2515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2516         Likewise.
2517         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2518         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2519         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2520         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2521         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2522         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2523         Likewise.
2524         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2525         Likewise.
2526         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2527         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2528         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2530 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
2532         [BZ #20495]
2533         [BZ #20508]
2534         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
2535         processors, set Use_dl_runtime_resolve_slow and set
2536         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
2537         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
2538         New.
2539         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
2540         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
2541         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
2542         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
2543         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
2544         if Use_dl_runtime_resolve_opt is set.  Use
2545         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
2546         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
2547         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
2548         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
2549         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
2550         New.
2551         (_dl_runtime_resolve_opt): Likewise.
2552         (_dl_runtime_profile): Define only if _dl_runtime_profile is
2553         defined.
2555 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2557         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
2558         __libc_memalign with "+ RELA R_390_GLOB_DAT".
2560 2016-09-06  Florian Weimer  <fweimer@redhat.com>
2562         Convert malloc to __libc_lock.  Automated part, using this Perl
2563         s/// command:
2564           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
2565             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
2566         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
2567         conversion.
2569 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
2571         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
2572         (linknamespace-symlists-tests): Likewise.
2573         (linknamespace-header-tests): Likewise.
2575 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
2577         [BZ #19810]
2578         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
2579         * elf/tst-noload.c: New test case.
2580         * elf/Makefile (tests): Add tst-noload.
2582 2016-09-02  Roland McGrath  <roland@hack.frob.com>
2584         * sysdeps/nacl/dup.c: Add libc_hidden_def.
2586         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
2587         not any more.
2589         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
2591 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2593         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
2594         (do_cos_slow): Likewise.
2595         (do_sin): Likewise.
2596         (do_sin_slow): Likewise.
2597         (slow): Likewise.
2598         (slow1): Likewise.
2599         (slow2): Likewise.
2600         (sloww): Likewise.
2601         (sloww1): Likewise.
2602         (sloww2): Likewise.
2603         (bsloww): Likewise.
2604         (bsloww1): Likewise.
2605         (bsloww2): Likewise.
2606         (cslow2): Likewise.
2608         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
2610         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
2611         arguments.  Consolidate input partitioning from callers here.
2612         (do_cos_slow): Likewise.
2613         (do_sin): Likewise.
2614         (do_sin_slow): Likewise.
2615         (do_sincos_1): Remove the no longer necessary input partitioning.
2616         (do_sincos_2): Likewise.
2617         (__sin): Likewise.
2618         (__cos): Likewise.
2619         (slow1): Likewise.
2620         (slow2): Likewise.
2621         (sloww1): Likewise.
2622         (sloww2): Likewise.
2623         (bsloww1): Likewise.
2624         (bsloww2): Likewise.
2625         (cslow2): Likewise.
2627 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2629         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
2630         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
2631         outside of allocated array.
2633 2016-09-02  Florian Weimer  <fweimer@redhat.com>
2635         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
2636         instead of MB_CUR_MAX to avoid variable-length array.
2638 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2640         * math/Makefile (libm-calls): Remove k_rem_pio2F.
2641         (type-double-routines): Add k_rem_pio2.
2642         (type-float-routines): Add k_rem_pio2f.
2644         * sysdeps/generic/math_private.h:
2645         (__kernel_rem_pio2l): Removed.
2647         * math/k_rem_pio2l.c: Removed.
2648         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
2649         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
2650         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
2651         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
2653 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2655         * math/Makefile (gen-libm-calls): Add s_fmin
2656         (libm-calls): Remove above.
2658         * math/s_fmin.c: Refactor into ...
2659         * math/s_fmin_template.c: New file.
2661         * math/s_fminf.c: Removed.
2662         * math/s_fminl.c: Removed.
2663         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2664         (LDOUBLE_fmin_libm_version): New macro.
2666         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
2667         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
2669 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2671         * math/Makefile: (gen-libm-calls): Add s_fmax.
2672         (libm-calls): Remove above.
2674         * math/s_fmax.c: Refactor into ...
2675         * math/s_fmax_template.c: New file.
2676         * math/s_fmaxf.c: Removed.
2677         * math/s_fmaxl.c: Removed.
2679         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2680         (LDOUBLE_fmaxl_libm_version): New macro.
2682         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
2683         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
2685         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
2686         s_fmin.c to pick the aarch64 version of the file.
2687         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
2688         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
2690 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2692         * math/Makefile: (gen-libm-calls): Add s_nextdown.
2693         (libm-calls): Remove above.
2695         * math/s_nextdown.c: Refactor into ...
2696         * math/s_nextdown_template.c: New file.
2697         * math/s_nextdownf.c: Removed.
2698         * math/s_nextdownl.c: Removed.
2700         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
2702 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2704         * math/Makefile (gen-libm-calls): Add s_fdim.
2705         (libm-calls): Move to above.
2707         * math/s_fdim.c: Renamed and refactored into to ...
2708         * math/s_fdim_template.c: New file.
2709         * math/s_fdiml.c: Removed.
2710         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
2711         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
2713         * sysdeps/generic/math-type-macros-double.h:
2714         (declare_mgen_alias): Don't declare if already declared.
2715         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
2716         Likewise.
2718         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
2719         (declare_mgen_alias): Don't declare if already declared.
2720         (M_LIBM_NEED_COMPAT): Likewise.
2721         (declare_mgen_libm_compat): Likewise.
2722         (LDOUBLE_fdiml_libm_version): New macro.
2724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2725         Include math/s_fdim.c now that ldbl-opt version is not needed.
2726         (declare_mgen_alias): New macro to disable aliasing.
2728         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
2729         (declare_mgen_alias): Likewise.
2730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
2731         (declare_mgen_alias): Likewise.
2732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
2733         (declare_mgen_alias): Likewise.
2734         (M_LIBM_NEED_COMPAT): Likewise.
2736 2016-09-01  Florian Weimer  <fweimer@redhat.com>
2738         [BZ #20525]
2739         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
2740         Include <linux/quota.h>.
2741         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
2742         and btodb.
2743         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
2744         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
2745         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
2746         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
2747         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
2748         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
2749         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
2750         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
2751         types.
2752         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
2753         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
2755 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2757         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
2758         (gammal_positive): Fix spacing.
2759         (__ieee754_gammal_r): Likewise.
2761 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2763         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
2764         (_Float128): Define as long double, always.
2765         (L): Apply long double type suffix, always.
2767         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
2768         _Float128, excepting comments.
2770         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
2771         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
2772         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
2773         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
2774         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
2775         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
2776         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
2777         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
2778         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
2779         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
2780         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
2781         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
2782         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
2783         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
2784         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
2785         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
2786         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
2787         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
2788         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
2789         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
2790         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
2791         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
2792         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
2793         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
2794         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
2795         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
2796         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
2797         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
2798         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
2799         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
2800         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
2801         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
2802         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
2803         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
2804         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
2805         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
2806         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
2807         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
2808         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
2809         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
2810         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
2811         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
2812         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2813         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2814         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
2815         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
2816         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
2817         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
2818         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
2819         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
2820         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
2821         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
2822         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
2823         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
2824         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2825         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
2826         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
2827         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
2828         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
2829         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
2830         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
2831         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
2832         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
2833         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
2834         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
2835         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
2836         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
2837         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
2839         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
2840         _Float128, and include math_private.h.
2841         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
2843         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
2844         long double semantics.
2845         (_Float128): Likewise.
2846         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
2847         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
2848         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
2849         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
2851 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
2853         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
2854         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
2855         * sysdeps/s390/configure: Regenerated.
2856         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
2857         instruction for raising over-/underflow if z196 zarch is supported
2858         by default.
2859         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
2861 2016-08-30  Svante Signell  <svante.signell@gmail.com>
2863         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
2864         it point to a dumb buffer for RPC to fill it.
2866 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2868         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
2869         instead of if/else.
2870         (do_sin_slow): Likewise.
2871         (do_sincos_1): Use fabs instead of if/else.
2872         (do_sincos_2): Likewise.
2873         (__sin): Likewise.
2874         (__cos): Likewise.
2875         (slow2): Likewise.
2876         (sloww): Likewise.
2877         (sloww1): Likewise.  Drop argument M.
2878         (sloww2): Use fabs instead of if/else.
2879         (bsloww): Likewise.
2880         (bsloww1): Likewise.
2881         (bsloww2): Likewise.
2883         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
2884         fall through comment.
2885         (do_sincos_1): Likewise.
2887         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
2888         Consolidate switch cases 0 and 2.
2890 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2892         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
2893         (libm-calls): Remove the above.
2895         * math/s_cexp_template.c: Update using type-generic macros.
2896         * math/s_clog10_template.c: Likewise.
2897         * math/s_cpow_template.c: Likewise.
2898         * math/s_clog_template.c: Likewise.
2899         * math/s_cproj_template.c: Likewise.
2900         * math/s_csqrt_template.c: Likewise.
2902         * math/s_cexp.c: Removed.
2903         * math/s_cexpf.c: Removed.
2904         * math/s_cexpl.c: Removed.
2905         * math/s_clog10.c: Removed.
2906         * math/s_clog10f.c: Removed.
2907         * math/s_clog10l.c: Removed.
2908         * math/s_cpow.c: Removed.
2909         * math/s_cpowf.c: Removed.
2910         * math/s_cpowl.c: Removed.
2911         * math/s_clog.c: Removed.
2912         * math/s_clogf.c: Removed.
2913         * math/s_clogl.c: Removed.
2914         * math/s_cproj.c: Removed.
2915         * math/s_cprojf.c: Removed.
2916         * math/s_cprojl.c: Removed.
2917         * math/s_csqrt.c: Removed.
2918         * math/s_csqrtf.c: Removed.
2919         * math/s_csqrtl.c: Removed.
2921         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
2922         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
2923         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
2924         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
2925         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
2926         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
2928         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
2929         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
2930         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
2931         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
2932         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
2933         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
2934         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
2935         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
2936         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
2937         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
2938         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
2940         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
2941         version.
2943         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
2944         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
2945         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
2946         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
2948 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2950         * s_cexp_template.c: Copy of s_cexp.c.
2951         * s_clog_template.c: Copy of s_clog.c.
2952         * s_clog10_template.c: Copy of s_clog10.c.
2953         * s_cpow_template.c: Copy of s_cpow.c.
2954         * s_cproj_template.c: Copy of s_cproj.c.
2955         * s_csqrt_template.c: Copy of s_csqrt.c.
2957 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2959         [BZ #20517]
2960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
2961         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
2962         exported.
2964 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
2966         * math/fetestexceptflag.c: New file.
2967         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
2968         Stefan Liebler.
2969         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2970         (fetestexceptflag): New function declaration.
2971         * manual/arith.texi (fetestexceptflag): Document function.
2972         * math/Versions (fetestexceptflag): New libm symbol at version
2973         GLIBC_2.25.
2974         * math/Makefile (libm-support): Add fetestexceptflag.
2975         (tests): Add test-fetestexceptflag.
2976         * math/test-fetestexceptflag.c: New file.
2977         * sysdeps/nacl/libm.abilist: Update.
2978         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2979         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2980         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2981         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2982         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2983         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2984         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2985         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2986         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2987         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2988         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2989         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2991         Likewise.
2992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2993         Likewise.
2994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2995         Likewise.
2996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2997         Likewise.
2998         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2999         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3000         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3001         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3002         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3004         Likewise.
3005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3006         Likewise.
3007         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3008         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3009         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3011 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3013         [BZ #20432]
3014         Avoid strong references to malloc-internal symbols when linking
3015         statically, to support statically interposed mallocs.
3016         * include/libc-symbols.h (call_function_static_weak): New macro.
3017         * malloc/Makefile (tests): Add tst-interpose-nothread,
3018         tst-interpose-thread, tst-interpose-static-nothread,
3019         tst-interpose-static-thread.
3020         (tests-static): Add tst-interpose-static-nothread,
3021         tst-interpose-static-thread.
3022         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
3023         tst-interpose-aux-thread.o.
3024         (test-extras): Add tst-interpose-aux-nothread,
3025         tst-interpose-aux-thread.
3026         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
3027         tst-interpose-aux-nothread.o.
3028         (tst-interpose-thread, tst-interpose-static-thread): Link with
3029         tst-interpose-aux-thread.o and libthread.
3030         * malloc/tst-interpose-aux-nothread.c: New file.
3031         * malloc/tst-interpose-aux-thread.c: Likewise.
3032         * malloc/tst-interpose-aux.c: Likewise.
3033         * malloc/tst-interpose-aux.h: Likewise.
3034         * malloc/tst-interpose-nothread.c: Likewise.
3035         * malloc/tst-interpose-skeleton.c: Likewise.
3036         * malloc/tst-interpose-static-nothread.c: Likewise.
3037         * malloc/tst-interpose-static-thread.c: Likewise.
3038         * malloc/tst-interpose-thread.c: Likewise.
3039         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
3040         * sysdeps/mach/hurd/fork.c (__fork): Only call
3041         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
3042         __malloc_fork_unlock_child if defined.
3043         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
3045 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3047         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
3048         timespec C99 designated initialization.
3050 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3052         [BZ #19946]
3053         Avoid expected SIGALRM signals.
3054         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
3055         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
3056         (xpthread_create, xpthread_detach, xpthread_join)
3057         (delayed_exit_thread, delayed_exit): New functions.
3058         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
3059         (tf): Use xpthread_cond_wait.
3060         (do_test): Likewise.  Replace alarm with delayed_exit.
3061         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3062         (do_test): Call delayed_exit.  Report failure.
3063         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3064         (do_test): Call delayed_exit.
3065         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3066         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
3067         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3068         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
3069         error.
3070         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
3071         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
3072         error.
3073         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
3074         (do_test): Call delayed_exit.
3075         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
3076         (do_test): Call delayed_exit.
3077         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
3078         (do_test): Call delayed_exit instead of alarm.  Use
3079         xpthread_mutex_lock.
3080         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
3081         (do_test): Call delayed_exit instead of alarm.  Use
3082         xpthread_mutex_lock.
3083         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
3084         (do_test): Call delayed_exit instead of alarm.
3085         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
3086         (do_test): Call delayed_exit instead of alarm.  Use
3087         xpthread_spin_lock.
3088         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
3089         (do_test): Call delayed_exit instead of alarm.  Use
3090         xpthread_join.
3092 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
3094         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
3095         adjust CFA when allocating register save area on re-aligned
3096         stack.
3098 2016-08-26  Florian Weimer  <fweimer@redhat.com>
3100         * string/tst-cmp.c: New test.
3101         * string/Makefile (tests): Add it.
3103 2016-08-25  Mark Wielaard  <mark@klomp.org>
3105         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
3106         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
3107         (check_tree_recurse): Use newly defined accessors.
3108         (check_tree): Likewise.
3109         (maybe_split_for_insert): Likewise.
3110         (__tfind): Likewise.
3111         (__tdelete): Likewise.
3112         (trecurse): Likewise.
3113         (tdestroy_recurse): Likewise.
3114         (__tsearch): Likewise. And add asserts for malloc alignment.
3115         (__twalk): Cast root to node in case CHECK_TREE is defined.
3117 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3119         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
3121 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3123         * math/Makefile (libm-gen-calls): Add
3124         catan, catanh, ctan, ctanh.
3125         (libm-calls): Remove the above.
3127         * math/s_catan_template.c: Update using type-generic macros.
3128         * math/s_catanh_template.c: Likewise.
3129         * math/s_ctan_template.c: Likewise.
3130         * math/s_ctanh_template.c: Likewise.
3132         * math/s_catanf.c: Removed.
3133         * math/s_catan.c: Removed.
3134         * math/s_catanl.c: Removed.
3135         * math/s_catanhf.c: Removed.
3136         * math/s_catanh.c: Removed.
3137         * math/s_catanhl.c: Removed.
3138         * math/s_ctanf.c: Removed.
3139         * math/s_ctan.c: Removed.
3140         * math/s_ctanl.c: Removed.
3141         * math/s_ctanhf.c: Removed.
3142         * math/s_ctanh.c: Removed.
3143         * math/s_ctanhl.c: Removed.
3145         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
3146         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
3147         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
3148         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
3149         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
3150         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
3152         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
3153         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
3154         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
3155         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
3157 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3159         * s_catan_template.c: Copy of s_catan.c.
3160         * s_catanh_template.c: Copy of s_catanh.c.
3161         * s_ctan_template.c: Copy of s_ctan.c.
3162         * s_ctanh_template.c: Copy of s_ctanh.c.
3164 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3166         * math/Makefile (gen-libm-calls): Move
3167         casin, casinh, csin, csinh here.
3168         (libm-calls): Remove the above.
3170         * math/s_casin_template.c: Update using type-generic macros.
3171         * math/s_casinh_template.c: Likewise.
3172         * math/s_csin_template.c: Likewise.
3173         * math/s_csinh_template.c: Likewise.
3174         * math/k_casinh_template.c: Likewise.
3176         * math/s_casinf.c: Removed.
3177         * math/s_casin.c: Removed.
3178         * math/s_casinl.c: Removed.
3179         * math/s_casinh.c: Removed.
3180         * math/s_casinhf.c: Removed.
3181         * math/s_casinhl.c: Removed.
3182         * math/s_csin.c: Removed.
3183         * math/s_csinf.c: Removed.
3184         * math/s_csinl.c: Removed.
3185         * math/s_csinh.c: Removed.
3186         * math/s_csinhf.c: Removed.
3187         * math/s_csinhl.c: Removed.
3188         * math/k_casinh.c: Removed.
3189         * math/k_casinhf.c: Removed.
3190         * math/k_casinhl.c: Removed.
3192         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
3193         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
3194         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
3195         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
3197         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
3198         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
3199         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
3200         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
3201         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
3202         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
3203         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
3204         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
3206         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
3207         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
3208         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
3209         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
3211         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
3212         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
3213         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
3214         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
3216 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3218         * s_casin_template.c: Copy of s_casin.c.
3219         * s_casinh_template.c: Copy of s_casinh.c.
3220         * s_csin_template.c: Copy of s_csin.c.
3221         * s_csinh_template.c: Copy of s_csinh.c.
3222         * k_casinh_template.c: Copy of k_casinh.c.
3224 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
3226         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
3228 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3230         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
3231         (mul_split) Remove, rename as mul_splitl, remove
3232         redundant float.h include, and include via mul_splitl.h
3234         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
3235         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
3236         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3237         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
3238         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
3240         * math/mul_splitl.h: New file.
3242         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
3243         Move into mul_split.h, and remove redundant float.h include.
3245         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
3246         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
3247         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3248         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
3250         * math/mul_split.h: New file.
3252 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3254         * math/Makefile (libm-gen-calls): Move
3255         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
3256         (libm-calls): Remove above.
3258         * math/s_cacos_template.c: Update using type-generic macros.
3259         * math/s_cacosh_template.c: Likewise.
3260         * math/s_ccos_template.c: Likewise.
3261         * math/s_ccosh_template.c: Likwise.
3263         * math/s_cacosf.c: Removed.
3264         * math/s_cacos.c: Removed.
3265         * math/s_cacosl.c: Removed.
3266         * math/s_cacoshf.c: Removed.
3267         * math/s_cacosh.c: Removed.
3268         * math/s_cacoshl.c: Removed.
3269         * math/s_ccosf.c: Removed.
3270         * math/s_ccos.c: Removed.
3271         * math/s_ccosl.c: Removed.
3272         * math/s_ccoshf.c: Removed.
3273         * math/s_ccosh.c: Removed.
3274         * math/s_ccoshl.c: Removed.
3276         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
3277         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
3278         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
3279         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
3280         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
3281         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
3283         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
3284         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
3285         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
3286         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
3288         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
3289         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
3290         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
3291         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
3293 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3295         * s_cacos_template.c: Copy of s_cacos.c.
3296         * s_cacosh_template.c: Copy of s_cacosh.c.
3297         * s_ccos_template.c: Copy of s_ccos.c.
3298         * s_ccosh_template.c: Copy of s_ccosh.c.
3300 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3302         * stdlib/tst-strtod-round-skeleton.c:
3303         Refactored from tst-strtod-round.c.
3305         (L_): New macro to apply literal modifier.
3306         (FNPFX): New macro to select str or wcs prefix.
3307         (CHAR): New macro to choose wchar_t or char.
3308         (STRM): New macro to choose printf for tested character type.
3310         (STRTO): New macro to choose appropriate string -> real function.
3311         (FNPFXS): Stringitized version of FNPFX.
3312         (STR): Support for above macro.
3313         (STRX): Likewise.
3315         (TEST): Update with above macros.
3316         (test): Likewise.
3317         (GEN_ONE_TEST): Likewise.
3318         (test_in_one_mode): Likewise.
3320         * stdlib/tst-strtod-round.c: New file.
3321         * wcsmbs/tst-wcstod-round.c: New file.
3323         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
3324         (tst-wcstod-round): Add libm depencency for fesetround.
3326 2016-08-19  Zack Weinberg  <zackw@panix.com>
3328         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
3330 2016-08-18  Torvald Riegel  <triegel@redhat.com>
3332         [BZ #20477]
3333         * resolv/res_hconf.c (do_init): Use atomic access.
3334         * resolv/res_hconf.h: Add comments.
3335         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
3336         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
3337         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3339 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
3341         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
3342         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
3343         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
3344         Likewise.
3346 2016-08-18  Florian Weimer  <fweimer@redhat.com>
3348         [BZ #16907]
3349         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
3350         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
3351         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
3352         (__attribute__): Remove definition.
3354 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3356         * sysdeps/ieee754/ldbl-128/e_asinl.c:
3357         Remove unused sqrtl declaration.
3359 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3361         * math/Makefile: (gen-libm-templates.stmp): New rule.
3362         (libm-calls): Move carg conj cimag and cabs into ...
3363         (gen-libm-calls): New variable.
3364         (generated): Inform Make objects from gen-libm-calls
3365         may be generated.
3367         * sysdeps/generic/math-type-macros.h: New file.
3368         * sysdeps/generic/math-type-macros-float.h: Likewise.
3369         * sysdeps/generic/math-type-macros-double.h: Likewise.
3370         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
3371         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
3372         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
3374         * math/cabs.c: Refactor into
3375         * math/cabs_template.c: new file.
3376         * math/cabsf.c: Removed.
3377         * math/cabsl.c: Removed.
3378         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
3379         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
3381         * math/carg.c: Refactor into
3382         * math/carg_template.c: new file.
3383         * math/cargf.c: Removed.
3384         * math/cargl.c: Removed.
3385         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
3386         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
3388         * math/conj.c: Refactor into
3389         * math/conj_template.c: new file.
3390         * math/conjf.c: Removed.
3391         * math/conjl.c: Removed.
3392         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
3393         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
3395         * math/cimag.c: Refactor into
3396         * math/cimag_template.c: new file.
3397         * math/cimagf.c: Removed.
3398         * math/cimagl.c: Removed.
3399         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3400         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3402         * math/cimag.c: Refactor into
3403         * math/cimag_template.c: new file.
3404         * math/cimagf.c: Removed.
3405         * math/cimagl.c: Removed.
3406         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
3407         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
3409 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3411         Reduce time to expected nptl/tst-once5 failure.
3412         * nptl/tst-once5.cc (TIMEOUT): Define.
3414 2016-08-17  Florian Weimer  <fweimer@redhat.com>
3416         [BZ #20452]
3417         Avoid additional copies of objects in libc.a in static libraries.
3418         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
3419         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
3420         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
3421         rt-sysdep.
3422         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
3423         Add nptl-sysdep.
3424         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
3425         Add ptw-sysdep.
3426         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
3427         rt-sysdep.
3428         * sysdeps/unix/sysv/linux/alpha/Makefile
3429         (libpthread-shared-only-routines): Add ptw-sysdep,
3430         ptw-sigprocmask, ptw-rt_sigaction.
3431         * sysdeps/unix/sysv/linux/ia64/Makefile
3432         (librt-shared-only-routines): Add rt-sysdep.
3433         * sysdeps/unix/sysv/linux/i386/Makefile
3434         (libpthread-shared-only-routines): Add libc-do-syscall.
3435         * sysdeps/unix/sysv/linux/microblaze/Makefile
3436         (libpthread-shared-only-routines): Add sysdep.
3437         * sysdeps/unix/sysv/linux/powerpc/Makefile
3438         (librt-shared-only-routines): Add rt-sysdep.
3439         (libpthread-shared-only-routines): Add sysdep.
3440         * sysdeps/unix/sysv/linux/s390/Makefile
3441         (librt-shared-only-routines): Add rt-sysdep.
3442         * sysdeps/unix/sysv/linux/sparc/Makefile
3443         (librt-shared-only-routines): Add rt-sysdep.
3444         (libpthread-shared-only-routines): Add sysdep.
3445         * sysdeps/unix/sysv/linux/tile/Makefile
3446         (libpthread-shared-only-routines): Likewise.
3448 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
3450         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
3451         Mask implicit bit out of unpacked value.
3452         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
3453         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
3454         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
3456         * sysdeps/sparc/fpu/fesetexcept.c: New file.
3458         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
3460         * sysdeps/s390/fpu/fesetexcept.c: New file.
3462         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
3463         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
3464         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
3466         * sysdeps/mips/fpu/fesetexcept.c: New file.
3468         * sysdeps/m68k/fpu/fesetexcept.c: New file.
3470         * sysdeps/ia64/fpu/fesetexcept.c: New file.
3472         * sysdeps/hppa/fpu/fesetexcept.c: New file.
3474         * sysdeps/arm/fesetexcept.c: New file.
3476         * sysdeps/alpha/fpu/fesetexcept.c: New file.
3478         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
3480         * math/fesetexcept.c: New file.
3481         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
3482         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
3483         * math/fenv.h: Define
3484         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3485         <bits/libc-header-start.h> instead of including <features.h>.
3486         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
3487         declaration.
3488         * manual/arith.texi (fesetexcept): Document function.
3489         * math/Versions (fesetexcept): New libm symbol at version
3490         GLIBC_2.25.
3491         * math/Makefile (libm-support): Add fesetexcept.
3492         (tests): Add test-fesetexcept and test-fesetexcept-traps.
3493         * math/test-fesetexcept.c: New file.
3494         * math/test-fesetexcept-traps.c: Likewise.
3495         * sysdeps/nacl/libm.abilist: Update.
3496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3497         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3498         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3500         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3501         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3502         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3503         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3504         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3505         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3506         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3509         Likewise.
3510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3511         Likewise.
3512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3513         Likewise.
3514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3515         Likewise.
3516         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3517         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3518         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3519         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3520         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3522         Likewise.
3523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3524         Likewise.
3525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3526         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3527         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3529 2016-08-16  Florian Weimer  <fweimer@redhat.com>
3531         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
3532         New.
3533         (do_test): Apply default_stack_size_in_mb if not set.
3534         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
3536 2016-08-15  Andreas Schwab  <schwab@suse.de>
3538         [BZ #20435]
3539         CVE-2016-6323
3540         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
3541         as .cantunwind.
3543 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
3545         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
3546         comment from fraiseexcpt.c.
3548         * math/test-fexcept.c (feraiseexcept_exact): New function.
3549         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
3550         (test_except): Likewise.
3552 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
3554         [BZ #20455]
3555         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
3556         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
3557         to be restored.
3559         * math/test-fexcept-traps.c: New file.
3560         * math/test-fexcept.c: Likewise.
3561         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
3562         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
3563         macro.
3564         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
3565         (EXCEPTION_SET_FORCES_TRAP): Likewise.
3567 2016-08-09  Torvald Riegel  <triegel@redhat.com>
3569         * include/atomic.h (atomic_fetch_and_relaxed,
3570         atomic_fetch_and_release, atomic_fetch_or_release,
3571         atomic_fetch_xor_release): New.
3573 2016-08-06  Christian Seiler  <christian@iwakd.de>
3575         [BZ #20444]
3576         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
3577         MACH_PORT_NULL.
3579 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3581         * math/s_fdim.c: Avoid alias renamed.
3582         * math/s_fdimf.c: Likewise.
3583         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3584         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3585         Add s_fdimf-vis3, s_fdim-vis3.
3586         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3587         (CFLAGS-s_fdim-vis3.c): Likewise.
3588         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
3589         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
3591 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
3594         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3595         Remove s_fdimf-vis3, s_fdim-vis3.
3596         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
3597         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
3598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
3599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
3600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
3601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
3602         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
3603         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
3604         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
3605         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
3607 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
3609         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
3610         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
3611         -Wa,-Av9a -mvis.
3613 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3615         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
3616         LIT() to individual constants in simple expressions
3617         after splitting on spaces.
3618         (_apply_lit): Rename replaced version, and use it to
3619         apply to what appears to be a token.
3621         * math/libm-test.inc: Fix many, many issues with
3622         spacing.
3624 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
3626         * math/math.h: Move comment about <bits/mathdef.h> definitions
3627         above inclusion of <bits/mathdef.h>.  Do not mention
3628         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
3630 2016-08-05  Torvald Riegel  <triegel@redhat.com>
3632         * include/atomic.h (atomic_exchange_relaxed): New.
3634 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
3636         * math/e_scalb.c: Do not include <fenv.h>.
3637         (invalid_fn): Do calculation resulting in NaN instead of raising
3638         FE_INVALID and returning a NaN explicitly.
3639         * math/e_scalbf.c: Do not include <fenv.h>.
3640         (invalid_fn): Do calculation resulting in NaN instead of raising
3641         FE_INVALID and returning a NaN explicitly.
3642         * math/e_scalbl.c: Do not include <fenv.h>.
3643         (invalid_fn): Do calculation resulting in NaN instead of raising
3644         FE_INVALID and returning a NaN explicitly.
3646 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
3648         * po/de.po: Updated from Translation Project.
3649         * po/fi.po: Likewise.
3650         * po/sv.po: Likewise.
3652 2016-08-04  Florian Weimer  <fweimer@redhat.com>
3654         [BZ #20452]
3655         Use sysdep.o from libc.a in static libraries.
3656         * sysdeps/unix/sysv/linux/i386/Makefile
3657         (libpthread-shared-only-routines): Add sysdep.
3658         (librt-shared-only-routines): Likewise.
3660 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3662         * math/tgmath.h (nextdown): Define if
3663         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
3664         (nextup): Likewise.
3666         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
3667         macro.
3668         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3669         Document.
3670         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
3671         Document macro.
3672         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
3673         (exp10f): Likewise.
3674         (exp10l): Likewise.
3675         * math/bits/mathcalls.h (exp10): Declare if
3676         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
3678         * manual/arith.texi (nextup): Fix typo in last change.
3680 2016-08-03  Zack Weinberg  <zackw@panix.com>
3682         [BZ #19239]
3683         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
3684         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
3685         define major, minor, and makedev to issue deprecation warnings on use.
3686         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
3687         previously-activated deprecation warnings for these macros and prevent
3688         subsequent inclusions of this header from having any effect.
3689         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
3690         including <sys/sysmacros.h>, and undefine it again afterward.
3692 2016-08-03  Zack Weinberg  <zackw@panix.com>
3694         * sysdeps/generic/sys/sysmacros.h: Delete file.
3695         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
3696         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
3697         * bits/sysmacros.h: ... here; this encoding is now the generic
3698         encoding.  Now defines only the following macros:
3699         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
3700         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
3701         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
3703         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
3704         bits/sysmacros.h and the above new macros to generate the
3705         public implementations of major, minor, and makedev.
3706         * misc/tst-makedev.c: New test.
3707         * include/sys/sysmacros.h: New wrapper.
3709         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
3710         (routines): Add makedev.
3711         (tests): Add tst-makedev.
3712         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
3713         gnu_dev_makedev.
3714         * posix/Makefile (headers): Remove sys/sysmacros.h.
3715         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
3717         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
3718         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
3719         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
3720         * sysdeps/unix/sysv/linux/alpha/libc.abilist
3721         * sysdeps/unix/sysv/linux/arm/libc.abilist
3722         * sysdeps/unix/sysv/linux/hppa/libc.abilist
3723         * sysdeps/unix/sysv/linux/i386/libc.abilist
3724         * sysdeps/unix/sysv/linux/ia64/libc.abilist
3725         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
3726         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
3727         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
3728         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
3729         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
3730         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
3731         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
3732         * sysdeps/unix/sysv/linux/nios2/libc.abilist
3733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
3735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
3736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
3737         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
3738         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
3739         * sysdeps/unix/sysv/linux/sh/libc.abilist
3740         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
3741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
3742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
3743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
3744         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
3745         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
3746         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
3747         Add GLIBC_2.25.
3749         * include/features.h (__glibc_clang_prereq): New macro.
3750         * misc/sys/cdefs.h (__glibc_clang_has_extension)
3751         (__attribute_deprecated_msg__): New macros.
3753 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3755         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
3756         macro.
3757         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
3758         * manual/arith.texi (issignaling): Document as ISO from TS
3759         18661-1:2014.
3760         (nextup): Likewise.
3761         (nextupf): Likewise.
3762         (nextupl): Likewise.
3763         (nextdown): Likewise.
3764         (nextdownf): Likewise.
3765         (nextdownl): Likewise.
3766         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
3767         macro.
3768         * math/math.h: Define
3769         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3770         <bits/libc-header-start.h> instead of including <features.h>.
3771         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
3772         [__USE_GNU].
3773         * math/bits/mathcalls.h (nextdown): Declare if
3774         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
3775         (nextup): Likewise.
3776         (__issignaling): Likewise.
3778 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3780         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
3781         check, and remove __glibc_likely hint
3782         from FP_INFINITE check.
3783         * s_csinhf.c (__csinhf): Likewise.
3785         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
3786         hint from FP_INFINITE check.
3787         * s_csinhl.c (__csinhl): Likewise.
3789 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3791         * math/Makefile (libm-calls): Insert F placeholder into
3792         object names.  Move w_lgamma_compat* routines into
3793         (libm-compat-calls): New variable.
3794         (libm-compat-calls-ldouble-yes): New variable.
3795         (calls): Insert F placeholder.
3796         (generated): Redefine using new type-foreach macro call.
3797         (routines): Likewise.
3799         (types): New variable to hold a list of symbolic names
3800         for each type supported by the target machine.
3801         (libm-routines): Redefine using new types variable.
3802         (type-foreach): macro to replace fooF with the
3803         appropriately suffixed foo for each types.
3805         (type-ldouble-suffix): New variable.
3806         (type-ldouble-routines): Likewise.
3807         (type-ldouble-yes): Likewise.
3808         (type-double-suffix): Likewise.
3809         (type-double-routines): Likewise.
3810         (type-float-suffix): Likewise.
3811         (type-float-routines): Likewise.
3813         (dbl-only-routines): Remove.
3814         (long-c-yes): Likewise.
3815         (long-m-routines): Likewise.
3816         (long-m-support): Likewise.
3817         (long-m-yes): Likewise.
3818         (test-longdouble-yes): Likewise.
3820         (test-float.o): Simplify by increasing the scope of the
3821         recipe which adds libm-test.stmp to the vector types.
3822         (test-ifloat.o): Likewise.
3823         (test-float-finite.o): Likewise.
3824         (test-double.o): Likewise
3825         (test-idouble.o): Likewise.
3826         (test-double-finite.o): Likewise.
3827         (test-ldouble.o): Likewise
3828         (test-ildoubl.o): Likewise.
3829         (test-ldouble-finite.o): Likewise.
3831         (libm-tests): Redefine type tests using foreach and the
3832         list of types in types.
3834         (CPPFLAGS-test-ildoubl.c): Rename to
3835         (CPPFLAGS-test-ildouble.c): New variable
3837         * math/test-ildoubl.c: Rename to
3838         * math/test-ildouble.c: New file.
3840 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3842         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
3843         Use fabsl instead of fabs.
3844         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
3845         Likewise.
3846         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
3847         Add long double suffix to constant to ensure proper
3848         promotion to long double.
3850 2016-08-03  Tom Tromey  <tom@tromey.com>
3852         [BZ #20311]
3853         * nptl_db/Makefile (headers): Add proc_service.h.
3854         * nptl_db/proc_service.h: Add include guard.  Use
3855         __BEGIN/__END_DECLS.
3856         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
3857         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
3858         arguments.
3861 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3863         [BZ #17730]
3864         Avoid using memalign for TCB allocations.
3865         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
3866         (_dl_allocate_tls_storage): Use malloc and manual alignment.
3867         Avoid alignment gap in the TLS_DTV_AT_TP case.
3868         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
3869         determine the pointer to free.
3870         * nptl/tst-tls3-malloc.c: New test.
3871         * nptl/Makefile (tests): Add it.
3872         (tst-tls3-malloc): Link with libdl, libpthread.
3873         (LDFLAGS-tst-tls3-malloc): Set.
3874         (tst-tls3-malloc.out): Depend on DSO used in test.
3876 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3878         [BZ #17730]
3879         Avoid using memalign for TLS allocations.
3880         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
3881         is_static member with to_free member.
3882         (union dtv): Use struct dtv_pointer.
3883         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
3884         dtv_pointer instead of is_static.
3885         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
3886         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
3887         instead of val.
3888         (allocate_dtv_entry): New function.
3889         (allocate_and_init): Return struct dtv_pointer.  Call
3890         allocate_dtv_entry instead of __libc_memalign.
3891         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
3892         instead of val.
3893         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
3894         instead of is_static.  Adjust call to allocate_and_init.
3895         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
3896         struct dtv_pointer instead of val.
3898 2016-08-03  Florian Weimer  <fweimer@redhat.com>
3900         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
3901         (MALLOC_ALIGN_MASK): Move ...
3902         * malloc/malloc-internal.h: ... to here.
3903         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
3905 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
3907         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
3908         (UDP_ENCAP_GTP1U): Likewise.
3910         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
3911         (PF_MAX): Update value.
3912         (AF_QIPCRTR): New macro.
3914 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3916         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
3917         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
3918         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
3919         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
3920         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
3921         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
3922         s_truncf-vis3, s_trunc-vis3.
3923         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
3924         (CFLAGS-s_ceil-vis3.c): Likewise.
3925         (CFLAGS-s_floorf-vis3.c): Likewise.
3926         (CFLAGS-s_floor-vis3.c): Likewise.
3927         (CFLAGS-s_truncf-vis3.c): Likewise.
3928         (CFLAGS-s_trunc-vis3.c): Likewise.
3929         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
3930         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
3931         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
3932         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
3933         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
3934         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
3935         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
3936         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
3937         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
3938         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
3939         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
3940         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
3942 2016-08-02  David S. Miller  <davem@davemloft.net>
3944         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
3945         (__nearbyint_vis3): Don't check for sNaN before float register is
3946         loaded with the incoming argument.
3947         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
3948         (__nearbyintf_vis3): Likewise.
3949         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
3950         Likewise.
3951         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
3952         Likewise.
3954         * string/test-strncmp.c (do_test_limit): Make sure the test data
3955         stream is aligned as required for the type "CHAR".
3956         (do_test): Likewise.
3958 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
3960         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
3961         by beq instructions jumping to the end of the function.
3962         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
3963         clobber list. Use "i" constraint instead of "X".
3964         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
3965         of "X".
3967 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
3969         * bits/libc-header-start.h: New file.
3970         * Makefile (headers): Add bits/libc-header-start.h.
3971         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
3972         (__GLIBC_USE): New macro.
3973         * libio/stdio.h: Define
3974         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3975         <bits/libc-header-start.h> instead of including <features.h>.
3976         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
3977         (open_memstream): Likewise.
3978         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
3979         (__asprintf): Likewise.
3980         (asprintf): Likewise.
3981         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
3982         (getdelim): Likewise.
3983         (getline): Likewise.
3984         * string/string.h: Define
3985         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3986         <bits/libc-header-start.h> instead of including <features.h>.
3987         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
3988         (strndup): Likewise.
3989         * wcsmbs/wchar.h: Define
3990         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
3991         <bits/libc-header-start.h> instead of including <features.h>.
3992         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
3993         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
3995 2016-08-02  Florian Weimer  <fweimer@redhat.com>
3997         Support linking against compatibility symbols, for use in tests.
3998         * include/libc-symbols.h (symbol_version_reference): New macro.
3999         (symbol_version): Use it.
4000         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
4001         (compat_symbol): Use compat_symbol_reference.
4002         (compat_symbol_1, compat_symbol_2): Remove.
4003         (compat_symbol_reference, compat_symbol_reference_1)
4004         (compat_symbol_reference_2): New macro.  Use
4005         symbol_version_reference.
4007 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4009         [BZ #19469]
4010         * malloc/Makefile (CPPFLAGS): Compile tests with
4011         -DTEST_NO_MALLOPT.
4012         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
4014 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
4016         [BZ #20033]
4017         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
4018         finite version.
4019         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
4020         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
4021         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
4022         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
4023         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
4024         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
4025         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
4026         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
4027         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
4028         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
4029         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
4030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
4031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
4032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
4033         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
4034         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
4035         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
4036         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
4037         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
4038         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
4039         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
4040         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
4041         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
4042         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
4043         in zero power.
4045 2016-08-02  Florian Weimer  <fweimer@redhat.com>
4047         [BZ #20370]
4048         * malloc/arena.c (get_free_list): Update comment.  Assert that
4049         arenas on the free list have no attached threads.
4050         (remove_from_free_list): New function.
4051         (reused_arena): Call it.
4053 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
4055         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
4056         when it is a NaN.
4057         [_IEEE_FP_INEXACT] Remove.
4058         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
4059         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
4060         when it is a NaN.
4061         [_IEEE_FP_INEXACT] Remove.
4062         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
4063         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
4064         when it is a NaN.
4065         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
4066         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
4067         when its absolute value is greater than 0x1.0p52.
4068         [_IEEE_FP_INEXACT] Remove.
4069         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
4070         when its absolute value is greater than 0x1.0p23.
4071         [_IEEE_FP_INEXACT] Remove.
4073 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
4075         * version.h (RELEASE): Set to "development"
4076         (VERSION): Set to 2.24.90.
4077         * NEWS: Add 2.25 section.
4079         * version.h (RELEASE): Set to "stable"
4080         (VERSION): Set to 2.24.
4081         * include/features.h (__GLIBC_MINOR__): Set to 24.
4083         * NEWS: Add 2.24 fixed bugs.
4084         * po/libc.pot: Regenerate.
4086 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
4088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
4089         [$(subdir) = math] (libm-sysdep_routines): Remove.
4090         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
4091         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
4092         s_truncf-vis3, s_trunc-vis3.
4093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
4094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
4095         file.
4096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
4097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
4098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
4101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
4102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
4103         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
4104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
4105         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
4106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
4107         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
4108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
4109         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
4110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
4111         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
4112         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
4113         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
4114         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
4115         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
4116         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
4117         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
4118         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
4119         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
4120         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
4121         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
4122         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
4123         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
4124         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
4125         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
4126         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
4127         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
4128         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
4129         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
4130         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
4131         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
4132         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
4133         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
4134         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
4135         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
4136         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
4137         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
4138         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
4140 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
4142         [BZ #20384]
4143         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
4144         test-double-libmvec-sincos-avx-main.o,
4145         test-double-libmvec-sincos-avx2-main.o,
4146         test-double-libmvec-sincos-main.o,
4147         test-float-libmvec-sincosf-avx-main.o,
4148         test-float-libmvec-sincosf-avx2-main.o and
4149         test-float-libmvec-sincosf-main.o.
4150         test-float-libmvec-sincosf-avx512-main.o.
4151         ($(objpfx)test-double-libmvec-sincos): Also link with
4152         $(objpfx)test-double-libmvec-sincos-main.o.
4153         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
4154         $(objpfx)test-double-libmvec-sincos-avx-main.o.
4155         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
4156         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
4157         ($(objpfx)test-float-libmvec-sincosf): Also link with
4158         $(objpfx)test-float-libmvec-sincosf-main.o.
4159         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
4160         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
4161         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
4162         test-double-libmvec-sincos-avx512-main.o and
4163         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
4164         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
4165         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
4166         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
4167         (CFLAGS-test-double-libmvec-sincos.c): Removed.
4168         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
4169         (CFLAGS-test-double-libmvec-sincos-main.c): New.
4170         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
4171         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
4172         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
4173         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
4174         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
4175         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
4176         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
4177         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
4178         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
4179         -DREQUIRE_AVX2.
4180         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
4181         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
4182         -DREQUIRE_AVX512F.
4183         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
4184         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
4185         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4186         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
4187         file.
4188         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
4189         Likewise.
4190         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
4191         Likewise.
4192         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
4193         Likewise.
4194         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
4195         Likewise.
4196         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
4197         Likewise.
4198         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
4199         Likewise.
4200         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
4201         Likewise.
4203 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
4205         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
4207 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
4209         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
4210         and typo in a comment about AT_HWCAP entry.
4212 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4214         * sysdeps/aarch64/libm-test-ulps: Updated.
4216 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
4218         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
4219         of r13 as it is not restored in mvcle case.
4221 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
4223         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
4224         Rename "ret" to "__ret".
4225         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
4226         inline_syscall5, inline_syscall6): Likewise.
4228 2016-07-19   Will Newton  <will.newton@gmail.com>
4230         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
4231         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
4232         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
4233         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
4234         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
4236 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
4238         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
4239         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
4240         -mfpmath=387 with $(rtld-CFLAGS).
4241         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
4242         $(rtld-CFLAGS).
4244 2016-07-18   Ross Burton  <ross.burton@intel.com>
4245              Khem Raj  <raj.khem@gmail.com>
4247         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
4248         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
4249         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
4250         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
4251         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
4252         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
4253         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
4254         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
4255         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
4256         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
4257         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
4258         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
4259         R_METAG_TLS_DTPOFF): New.
4261 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4262             Matt Clay  <mclay@lycos.com>
4264         [BZ #20357]
4265         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
4266         to call __mpsin/__mpcos and to negate values.
4267         * math/auto-libm-test-in: Add test.
4268         * math/auto-libm-test-out: Regenerate.
4270 2016-07-18  Zack Weinberg  <zackw@panix.com>
4272         * grp/Makefile: Don't install the internal header grp-merge.h.
4274 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4276         * sysdeps/aarch64/libm-test-ulps: Regenerated.
4278 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4280         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
4282 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4284         [BZ #15368]
4285         * sysdeps/unix/sysv/linux/nptl-signals.h
4286         (__nptl_clear_internal_signals): New function.
4287         (__libc_signal_block_all): Likewise.
4288         (__libc_signal_block_app): Likewise.
4289         (__libc_signal_restore_set): Likewise.
4290         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
4291         implementation.
4292         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
4293         the cached pid/tid value in pthread structure.
4295 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
4297         [BZ #20347]
4298         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4300 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4302         [BZ #20348]
4303         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
4304         preadv64, pwrite64 and pwritev64.
4306 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4308         [BZ #20350]
4309         * posix/tst-preadwrite.c: Renamed to ...
4310         * posix/tst-preadwrite-common.c: This.
4311         (PREAD): Removed.
4312         (PWRITE): Likewise.
4313         (STRINGIFY): Likewise.
4314         (STRINGIFY2): Likewise.
4315         (do_prepare): Make it static and remove function arguments.
4316         (do_test): Likewise.
4317         (PREPARE): Updated.
4318         (TEST_FUNCTION): New.
4319         (name): Make it static.
4320         (fd): Likewise.
4321         (do_prepare): Use create_temp_file.
4322         (do_test): Renamed to ...
4323         (do_test_with_offset): This.  Make it static and accept offset.
4324         Properly check return value of PWRITE and PREAD.  Return bytes
4325         read.  Don't close fd nor unlink name.
4326         * posix/tst-preadwrite.c: Rewrite.
4327         * posix/tst-preadwrite64.c: Likewise.
4329 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
4331         [BZ #20309]
4332         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
4333         -mtls-dialect=gnu2 works.
4334         * configure: Regenerated.
4335         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
4336         (tests): Add tst-gnu2-tls1.
4337         (modules-names): Add tst-gnu2-tls1mod.
4338         ($(objpfx)tst-gnu2-tls1): New.
4339         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
4340         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
4341         * elf/tst-gnu2-tls1.c: New file.
4342         * elf/tst-gnu2-tls1mod.c: Likewise.
4343         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
4344         bytes for push in the PLT entry to align the stack.
4346 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
4348         [BZ #20349]
4349         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
4351 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4353         [BZ #18707]
4354         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
4355         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
4357 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4359         * sysdeps/unix/sysv/linux/sysdep.h
4360         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
4361         guards.
4362         * misc/tst-preadvwritev-common.c: New file.
4363         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
4364         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
4365         a check for files larger than 2GB.
4367         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4368         (__ASSUME_OFF_DIFF_OFF64): Remove define.
4369         * sysdeps/unix/sysv/linux/pread.c
4370         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
4371         __OFF_T_MATCHES_OFF64_T.
4372         * sysdeps/unix/sysv/linux/pread64.c
4373         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
4374         * sysdeps/unix/sysv/linux/preadv.c
4375         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
4376         * sysdeps/unix/sysv/linux/preadv64.c
4377         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
4378         * sysdeps/unix/sysv/linux/pwrite.c
4379         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
4380         * sysdeps/unix/sysv/linux/pwrite64.c
4381         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
4382         * sysdeps/unix/sysv/linux/pwritev.c
4383         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
4384         * sysdeps/unix/sysv/linux/pwritev64.c
4385         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
4387 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
4389         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4390         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
4392 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4394         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
4396 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
4398         [BZ #20240]
4399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
4400         (CFLAGS-s_modf-ppc32.c): New variable.
4401         (CFLAGS-s_modff-ppc32.c): Likewise.
4402         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4403         (CFLAGS-s_modf-ppc64.c): Likewise.
4404         (CFLAGS-s_modff-ppc64.c): Likewise.
4406 2016-07-07  Andreas Schwab  <schwab@suse.de>
4408         [BZ #20263]
4409         * nptl/tst-robust10.c: New test.
4410         * nptl/Makefile (tests): Add tst-robust10.
4412 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
4414         [BZ #20263]
4415         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
4417 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4419         * sysdeps/s390/linkmap.h (struct link_map_machine):
4420         Remove member gotplt and add member jmprel.
4421         * sysdeps/s390/s390-32/dl-machine.h
4422         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
4423         instead of gotplt with &got[3].
4424         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
4425         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
4427 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
4429         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
4431 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4433         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
4434         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
4435         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4436         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
4437         * libio/vtables.c (_IO_vtable_check)
4438         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
4439         * libio/libioP.h (IO_set_accept_foreign_vtables)
4440         [!PTR_MANGLE]: Do not call PTR_MANGLE.
4442 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
4444         [BZ #20314]
4445         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
4446         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
4447         $(common-objpfx)cmath.
4448         ($(common-objpfx)cstdlib): New target.
4449         ($(common-objpfx)cmath): Likewise.
4451 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
4453         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
4455 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4457         [BZ #20327]
4458         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
4459         are not part of the string.
4461 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4463         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
4464         * nptl/tst-cancel4-common.h (fifoname): New variable.
4465         (fifofd): Likewise.
4466         (cl_fifo): New function.
4467         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
4468         SIGINT.
4469         (tf_open): Add early cancel test.
4471 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
4473         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
4475 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
4477         * sysdeps/generic/ldsodefs.h
4478         (dl_symbol_visibility_binds_local_p): New inline function.
4479         * elf/dl-addr.c (determine_info): Treat hidden and internal
4480         symbols as local.
4481         * elf/dl-lookup.c (do_lookup_x): Likewise.
4482         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
4484 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
4486         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
4487         invalid exception for a sNaN input.
4488         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4489         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
4490         (__nearbyint_vis3): Likewise
4491         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
4492         (__nearbyintf_vis3): Likewise
4493         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
4494         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4495         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
4496         Likewise.
4497         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
4498         Likewise.
4500 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
4502         [BZ #20139]
4503         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
4504         (HAVE_AVX512DQ_ASM_SUPPORT): This.
4505         * sysdeps/x86_64/configure.ac: Require assembler from binutils
4506         2.24 or above.
4507         (HAVE_AVX512_ASM_SUPPORT): Removed.
4508         (HAVE_AVX512DQ_ASM_SUPPORT): New.
4509         * sysdeps/x86_64/configure: Regenerated.
4510         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
4511         check unconditional.
4512         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
4513         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4514         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4515         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
4516         Likewise.
4517         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
4518         Likewise.
4519         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
4520         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
4521         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4522         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4523         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
4524         Likewise.
4525         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
4526         Likewise.
4527         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4528         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4529         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
4530         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
4531         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
4532         Likewise.
4533         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
4534         Likewise.
4535         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
4536         Likewise.
4537         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
4538         Likewise.
4539         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
4540         Likewise.
4541         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
4542         Likewise.
4543         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
4544         Likewise.
4545         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
4546         Likewise.
4547         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
4548         Likewise.
4549         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
4550         Likewise.
4551         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
4552         Likewise.
4554 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
4556         [BZ #20024]
4557         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
4558         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
4559         of this implementation of vector function.
4560         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
4561         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
4562         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
4563         Likewise.
4564         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
4565         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
4566         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
4567         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
4568         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
4569         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
4570         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
4571         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
4572         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
4573         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
4574         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
4575         for testing vector sincos with fixed ABI.
4576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
4577         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
4578         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
4579         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
4580         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
4581         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
4582         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
4583         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
4584         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
4585         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
4586         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
4587         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
4588         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
4589         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
4590         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
4591         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4593 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4595         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
4597 2016-06-30  Anton Blanchard  <anton@samba.org>
4599         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4600         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
4601         s_sinf-ppc64.
4602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
4603         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
4604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
4605         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
4607 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4609         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4610         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
4611         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
4612         e_expf-ppc64.
4613         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
4614         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
4615         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
4616         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
4618 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
4620         [BZ #20277]
4621         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
4622         when SHARED is defined.
4624 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
4626         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
4627         (index_arch_Prefer_ERMS): Likewise.
4628         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
4629         __memcpy_erms for Prefer_ERMS.
4630         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
4631         (__memmove_erms): Enabled for libc.a.
4632         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
4633         __memmove_erms or Prefer_ERMS.
4634         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
4635         __mempcpy_erms for Prefer_ERMS.
4636         * sysdeps/x86_64/multiarch/memset.S (memset): Return
4637         __memset_erms for Prefer_ERMS.
4639 2016-06-30  Andreas Schwab  <schwab@suse.de>
4641         [BZ #20262]
4642         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
4643         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
4644         of memory.
4646 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
4648         [BZ #18645]
4649         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
4650         (test-extras): Add tst-cleanupx4aux.
4651         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
4652         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
4653         tst-cleanupx4aux.o.
4654         * nptl/tst-cleanupx4aux.c: New file.
4656 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
4658         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
4660 2016-06-29  Andreas Schwab  <schwab@suse.de>
4662         [BZ #20260]
4663         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
4664         address before the beginning of the string as an integer to avoid
4665         array-bounds warning.
4667 2016-06-28  Richard Henderson  <rth@redhat.com>
4669         * elf/elf.h (EM_BPF): New.
4670         (EM_NUM): Update.
4671         (R_BPF_NONE, R_BPF_MAP_FD): New.
4673         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
4674         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
4675         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
4676         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
4677         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
4678         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
4679         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
4680         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
4681         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
4682         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
4683         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
4684         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
4685         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
4686         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
4687         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
4688         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
4689         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
4690         (EM_NUM): Update.
4692 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
4694         [BZ #18960]
4695         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
4696         Set _nl_current_LC_CATEGORY_used to two instead of one.
4698 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
4700         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
4701         (do_test): ... this.
4702         (TEST_FUNCTION): New macro.
4703          Include test-skeleton.c.
4704         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
4705         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
4707 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
4709         [BZ #15479]
4710         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
4711         floating-point environment rather than just control word.
4712         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
4713         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
4714         floating-point environment, with "invalid" exceptions merged in,
4715         rather than just control word.
4716         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
4717         * math/libm-test.inc (trunc_test_data): Do not allow spurious
4718         "inexact" exceptions.
4720         [BZ #15479]
4721         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
4722         floating-point environment rather than just control word.
4723         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
4724         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
4725         floating-point environment, with "invalid" exceptions merged in,
4726         rather than just control word.
4727         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
4728         * math/libm-test.inc (floor_test_data): Do not allow spurious
4729         "inexact" exceptions.
4731         [BZ #15479]
4732         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
4733         floating-point environment rather than just control word.
4734         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
4735         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
4736         floating-point environment, with "invalid" exceptions merged in,
4737         rather than just control word.
4738         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
4739         * math/libm-test.inc (ceil_test_data): Do not allow spurious
4740         "inexact" exceptions.
4742 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
4744         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
4745         __libc_vfork.
4746         (__vfork) [IS_IN (libc)]: Remove alias.
4747         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
4748         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
4749         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
4751 2016-06-24  Torvald Riegel  <triegel@redhat.com>
4753         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
4754         of atomic_compare_and_exchange_bool_rel.
4755         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
4756         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
4757         catomic_compare_and_exchange_bool_rel): Remove.
4758         * sysdeps/aarch64/atomic-machine.h
4759         (atomic_compare_and_exchange_bool_rel): Likewise.
4760         * sysdeps/alpha/atomic-machine.h
4761         (atomic_compare_and_exchange_bool_rel): Likewise.
4762         * sysdeps/arm/atomic-machine.h
4763         (atomic_compare_and_exchange_bool_rel): Likewise.
4764         * sysdeps/mips/atomic-machine.h
4765         (atomic_compare_and_exchange_bool_rel): Likewise.
4766         * sysdeps/microblaze/atomic-machine.h
4767         ( __arch_compare_and_exchange_bool_8_rel,
4768         __arch_compare_and_exchange_bool_16_rel): Likewise.
4769         * sysdeps/powerpc/atomic-machine.h
4770         ( __arch_compare_and_exchange_bool_8_rel,
4771         __arch_compare_and_exchange_bool_16_rel): Likewise.
4772         * sysdeps/powerpc/powerpc32/atomic-machine.h
4773         ( __arch_compare_and_exchange_bool_32_rel,
4774         __arch_compare_and_exchange_bool_64_rel): Likewise.
4775         * sysdeps/powerpc/powerpc64/atomic-machine.h
4776         ( __arch_compare_and_exchange_bool_32_rel,
4777         __arch_compare_and_exchange_bool_64_rel): Likewise.
4778         * sysdeps/tile/atomic-machine.h
4779         (atomic_compare_and_exchange_bool_rel): Likewise.
4781 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
4783         [BZ #20296]
4784         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
4785         when either argument is a NaN.
4786         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
4787         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
4789         * math/libm-test.inc (snan_value_ld): New macro.
4790         (isgreater_test_data): Add sNaN tests.
4791         (isgreaterequal_test_data): Likewise.
4792         (isless_test_data): Likewise.
4793         (islessequal_test_data): Likewise.
4794         (islessgreater_test_data): Likewise.
4795         (isunordered_test_data): Likewise.
4796         (nextafter_test_data): Likewise.
4797         (nexttoward_test_data): Likewise.
4798         (remainder_test_data): Likewise.
4799         (remquo_test_data): Likewise.
4800         (significand_test_data): Likewise.
4801         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
4803 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4805         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
4806         environment macros are defined.
4807         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
4809 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4811         [BZ #20191]
4812         Implement vtable verification in libio.
4813         * Makerules (shlib.lds): Place __libc_IO_vtables section.
4814         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
4815         * debug/vdprintf_chk.c (__vdprintf_chk): Call
4816         _IO_new_file_init_internal instead of _IO_file_init.
4817         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
4818         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
4819         * libio/Makefile (routines): Add vtables.
4820         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
4821         (_IO_init): Remove, not for internal use.
4822         (_IO_init_internal): Declare, internal replacement for _IO_init.
4823         (_IO_file_init): Remove, not for internal use.
4824         (_IO_new_file_init): Remove, not for internal use.
4825         (_IO_new_file_init_internal): Declare, internal replacement for
4826         _IO_new_file_init.
4827         (_IO_old_file_init): Remove, not for internal use.
4828         (_IO_old_file_init_internal): Declare, internal replacement for
4829         _IO_old_file_init.
4830         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
4831         internal use.
4832         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
4833         Declare.
4834         (libio_vtable): New macro.
4835         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
4836         functions.
4837         * libio/fileops.c (_IO_new_file_init_internal): Rename from
4838         _IO_new_file_init.
4839         (_IO_new_file_init): New externally visible wrapper which disables
4840         vtable verification.
4841         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
4842         Define as vtables.
4843         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
4844         (_IO_init): New externally visible wrapper which disables
4845         vtable verification.
4846         * libio/iofdopen.c (_IO_new_fdopen): Call
4847         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
4848         comment.
4849         * libio/iofopen.c (__fopen_internal): Call
4850         _IO_new_file_init_internal instead of _IO_file_init.
4851         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
4852         Define as vtables.
4853         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
4854         _IO_new_file_init_internal instead of _IO_file_init.
4855         * libio/iopopen.c (_IO_new_popen): Likewise.
4856         (_IO_proc_jumps): Define as vtable.
4857         * libio/iovdprintf.c (_IO_vdprintf): Call
4858         _IO_new_file_init_internal instead of _IO_file_init.
4859         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
4860         (__open_memstream): Call _IO_init_internal instead of _IO_init.
4861         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
4862         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
4863         _IO_old_file_init.
4864         (_IO_old_file_init): New externally visible wrapper which disables
4865         vtable verification.
4866         (_IO_old_file_jumps): Define as vtable.
4867         * libio/oldiofdopen.c (_IO_old_fdopen): Call
4868         _IO_old_file_init_internal instead of _IO_old_file_init.
4869         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
4870         * libio/oldiopopen.c (_IO_old_popen): Likewise.
4871         (_IO_old_proc_jumps): Define as vtable.
4872         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
4873         Define as vtables.
4874         * libio/vtables.c: New file.
4875         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
4876         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
4877         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
4878         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
4879         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
4880         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
4881         instead of _IO_init.
4883 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4885         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
4887 2016-06-23  Florian Weimer  <fweimer@redhat.com>
4889         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
4890         potentially unused.
4892 2016-06-22  Florian Weimer  <fweimer@redhat.com>
4894         * test-skeleton.c (write_message): New function.
4895         * malloc/tst-mallocfork2.c (write_message): Remove.
4896         * debug/tst-longjmp_chk2.c (write_indented): New function.
4897         (write_message): Remove.
4898         (stackoverflow_handler): Call write_indented.
4900 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
4902         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
4903         "inexact" exceptions after fnstenv.
4904         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
4905         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4906         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
4908 2015-06-22  Zack Weinberg  <zackw@panix.com>
4910         * sysdeps/generic/bits/hwcap.h: Moved to ...
4911         * bits/hwcap.h: Here.
4913 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
4915         * sysdeps/aarch64/memcpy.S (memcpy):
4916         Further tuning for performance.
4918 2016-06-21  Florian Weimer  <fweimer@redhat.com>
4920         [BZ #20284]
4921         * malloc/arena.c (reused_arena): Do not return NULL if we start
4922         out with a non-corrupted arena.
4924 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4926         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
4927         * misc/tst-preadvwritev.c: New file.
4928         * misc/tst-preadvwritev64.c: Likewise.
4929         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
4930         usage.
4931         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
4932         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
4933         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
4934         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
4936 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
4938         [BZ #19654]
4939         * sysdeps/x86_64/fpu/Makefile: Added new tests.
4940         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
4941         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
4942         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
4943         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
4944         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
4945         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
4946         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
4947         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
4948         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
4949         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
4950         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
4951         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
4952         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
4953         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
4954         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
4955         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
4956         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
4957         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
4958         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
4959         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
4960         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
4961         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
4962         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
4963         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
4964         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
4966 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4968         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
4969         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
4971 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
4973         * sysdeps/aarch64/memcpy.S (memcpy):
4974         Rewrite of optimized memcpy and memmove.
4975         * sysdeps/aarch64/memmove.S (memmove): Remove
4976         memmove code (merged into memcpy.S).
4978 2016-06-20  Florian Weimer  <fweimer@redhat.com>
4980         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
4981         * sysdeps/generic/dl-dtv.h: New file.
4982         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4983         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
4984         (dtv_t): Remove.
4985         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4986         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
4987         (dtv_t): Remove.
4988         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4989         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
4990         (dtv_t): Remove.
4991         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4992         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
4993         (dtv_t): Remove.
4994         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4995         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
4996         (dtv_t): Remove.
4997         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
4998         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
4999         (dtv_t): Remove.
5000         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5001         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
5002         (dtv_t): Remove.
5003         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
5004         (dtv_t): Remove.
5005         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5006         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
5007         (dtv_t): Remove.
5008         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5009         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
5010         (dtv_t): Remove.
5011         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5012         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
5013         (dtv_t): Remove.
5014         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5015         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
5016         (dtv_t): Remove.
5017         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5018         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
5019         (dtv_t): Remove.
5020         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5021         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
5022         (dtv_t): Remove.
5023         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5024         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
5025         (dtv_t): Remove.
5026         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
5027         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
5028         (dtv_t): Remove.
5030 2016-06-20  Florian Weimer  <fweimer@redhat.com>
5032         Revert symbol poisoning of  __malloc_initialize_hook.
5033         * include/stdc-predef.h (__malloc_initialize_hook): Remove
5034         poisoning.
5035         * malloc/Makefile: Remove un-poisoning.
5036         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
5037         instead of old__malloc_initialize_hook.
5038         * malloc/malloc-hooks.h: Likewise.
5039         * malloc/malloc.c: Likewise.
5040         * malloc/mcheck-init.c: Likewise.
5042 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
5044         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
5046 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
5048         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
5049         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
5050         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
5051         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
5053 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5055         * NEWS: Mention addition of nextup and nextdown.
5056         * manual/arith.texi: Document nextup and nextdown.
5057         * manual/libm-err-tab.pl: Add nextup and nextdown.
5058         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
5059         * math/Versions (libm): Add GLIBC_2.24.
5060         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
5061         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5062         Add new test.
5063         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
5064         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
5065         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
5066         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
5067         (nextup_test_data): Likewise.
5068         (nextdown_test_data): Likewise.
5069         * math/s_nextdown.c: New file.
5070         * math/s_nextdownf.c: Likewise.
5071         * math/s_nextdownl.c: Likewise.
5072         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
5073         F(nextup): New function.
5074         F(nextdown): Likewise.
5075         * math/tgmath.h: Add nextup and nextdown.
5076         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
5077         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
5078         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
5079         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
5080         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
5081         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
5082         Add nextup and nextdown.
5083         (CFLAGS-nldbl-nextup.c): New variable.
5084         (CFLAGS-nldbl-nextdown.c): Likewise.
5085         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
5086         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
5087         * sysdeps/nacl/libm.abilist: Update.
5088         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5089         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5090         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5091         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5092         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5093         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5094         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5095         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5096         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5097         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5098         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5099         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
5101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5102         Likewise.
5103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
5104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
5105         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5106         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5107         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5108         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5109         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5110         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
5111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
5112         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5113         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5114         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
5115         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5117 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5119         * manual/pattern.texi: Fix typos & grammar errors.
5121 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5123         * manual/search.texi: Fix typos & grammar errors.
5125 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5127         * manual/message.texi: Fix typos & grammar errors.
5129 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
5131         * manual/contrib.texi: Fix spelling typos.
5132         * manual/crypt.texi: Likewise.
5133         * manual/filesys.texi: Likewise.
5134         * manual/locale.texi: Likewise.
5135         * manual/message.texi: Likewise.
5136         * manual/nss.texi: Likewise.
5137         * manual/string.texi: Likewise.
5139 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5141         * manual/locale.texi: Fix typos & grammar errors.
5143 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5145         * manual/charset.texi: Fix typos & grammar errors.
5147 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5149         * manual/string.texi: Fix typos.
5151 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5153         * manual/ctype.texi: Fix typos.
5155 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
5157         * manual/memory.texi: Fix various typos & grammar errors.
5159 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
5161         [BZ #20255]
5162         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
5163         * math/libm-test.inc (fdim_test_data): Add another test.
5165         [BZ #6796]
5166         [BZ #20255]
5167         [BZ #20256]
5168         * math/s_fdim.c: Include <math_private.h>.
5169         (__fdim): Use math_narrow_eval on result.
5170         * math/s_fdimf.c: Include <math_private.h>.
5171         (__fdimf): Use math_narrow_eval on result.
5172         * sysdeps/i386/fpu/s_fdim.S: Remove file.
5173         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
5174         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
5175         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
5176         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
5177         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
5178         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
5179         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
5180         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
5181         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
5182         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
5183         * math/libm-test.inc (fdim_test_data): Expect errno setting on
5184         overflow.  Add sNaN tests.
5186         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
5187         fpclassify.
5188         * math/s_fdimf.c (__fdimf): Likewise.
5189         * math/s_fdiml.c (__fdiml): Likewise.
5191 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5193         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5194         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
5195         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5196         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5197         ifunc'ed strcasecmp/strncasecmp.
5198         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
5199         [EALIGN]: Removed.
5200         [END]: Likewise.
5201         [__strcasecmp]: Define instead of the above to control symbol name.
5202         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
5203         for __strcasecmp_power8.
5204         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
5205         for __strncasecmp_power8.
5206         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
5207         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
5208         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
5209         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
5210         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
5211         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
5213 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
5215         [BZ #20252]
5216         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
5217         arguments when second argument is a NaN.
5218         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
5219         qNaN tests.
5221         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
5222         (conj_test_data): Likewise.
5223         (copysign_test_data): Likewise.
5224         (creal_test_data): Likewise.
5225         (fma_test_data): Likewise.
5226         (fmod_test_data): Likewise.
5228         [BZ #20250]
5229         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
5230         itself.
5231         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
5232         zero input to itself.
5233         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
5234         Likewise.
5235         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
5236         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
5237         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
5238         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
5239         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
5241 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5243         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
5244         * nptl/tst-cancel4-common.c: New file.
5245         * nptl/tst-cancel4-common.h: Likewise.
5246         * nptl/tst-cancel4.c: Move common definitions to
5247         tst-cancel4-common.{c,h} file.
5248         * nptl/tst-cancel4_1.c: New test.
5249         * nptl/tst-cancel4_2.c: New test.
5251 2016-06-13  Florian Weimer  <fweimer@redhat.com>
5253         [BZ #20248]
5254         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
5255         (write_message): New function.
5256         (stackoverflow_handler): Call it instead of printf, to avoid
5257         excessive stack usage by printf.
5258         (do_test): Restore SIGSEGV, SIGBUS default handlers.
5260 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5262         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
5263         (prio_inherit_missing): Remove define.
5264         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5265         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5266         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
5267         Likewise.
5268         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5269         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5270         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5271         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5272         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
5273         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5275 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
5277         [BZ #19670]
5278         [BZ #19672]
5280         * io/test-lfs.c (do_prepare): Use xmalloc.
5281         * io/tst-fcntl.c (do_prepare): Likewise.
5282         * libio/tst-fopenloc.c (do_bz17916): Likewise.
5283         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
5284         * login/tst-utmp.c (do_prepare): Likewise.
5285         * posix/tst-exec.c (do_prepare): Likewise.
5286         * posix/tst-pathconf.c (prepare): Likewise.
5287         * posix/tst-spawn.c (do_prepare): Likewise.
5288         * posix/tst-truncate.c (do_prepare): Likewise.
5289         * rt/tst-aio.c (do_prepare): Likewise.
5290         * rt/tst-aio64.c (do_prepare): Likewise.
5292 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5294         [BZ #20237]
5295         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
5296         (get*ent): Set entidx to NULL during initialization.  If entidx is
5297         NULL, start iteration from the beginning.
5299 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5301         * malloc/malloc.c (musable): Return correct size for dumped fake
5302         mmapped chunk.
5304 2016-06-11  Florian Weimer  <fweimer@redhat.com>
5306         [BZ #20222]
5307         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
5308         (_IO_cookie_write): Likewise.
5309         (_IO_cookie_seek): Likewise.
5310         (_IO_cookie_close): Likewise.
5311         (_IO_old_cookie_seek): Likewise.
5312         (set_callbacks): New function.
5313         (_IO_cookie_init): Call set_callbacks to copy callbacks.
5315 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
5317         * locale/programs/localedef.c (oldstyle_tables): Remove.
5318         * locale/programs/localedef.h (oldstyle_tables): Likewise.
5320 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
5322         [BZ #20240]
5323         * math/Makefile (CFLAGS-s_modf.c): New variable.
5324         (CFLAGS-s_modff.c): Likewise.
5325         (CFLAGS-s_modfl.c): Likewise.
5326         * math/libm-test.inc (modf_test_data): Add sNaN tests.
5328 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
5330         [BZ #20215]
5331         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
5332         [!__GNUC_PREREQ (3,2)]: Likewise.
5334 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
5336         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
5337         (msghdr.msg_controllen): Likewise.
5338         (cmsghdr.cmsg_len): Likewise.
5339         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
5340         ptw-oldsendmsg.
5341         (CFLAGS-oldrecvmsg.c): Remove rule.
5342         (CFLAGS-oldsendmsg.c): Likewise.
5343         (CFLAGS-recvmsg.c): Add rule.
5344         (CFLAGS-sendmsg.c): Likewise.
5345         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
5346         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
5347         (CFLAGS-recvmsg.c): Remove rule.
5348         (CFLAGS-sendmsg.c): Likewise.
5349         (CFLAGS-oldrecvmsg.c): Likewise.
5350         (CFLAGS-oldsendmsg.c): Likewise.
5351         (CFLAGS-recvmmsg.c): Likewise.
5352         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
5353         to kernel defined interfaces.
5354         (msghdr.msg_controllen): Likewise.
5355         (cmsghdr.cmsg_len): Likewise.
5356         (msghdr.__glibc_reserved1): Remove member.
5357         (msghdr.__glibc_reserved2): Likewise.
5358         (cmsghdr.__glibc_reserved1): Likewise.
5359         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
5360         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
5361         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
5362         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
5363         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
5364         version.
5365         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
5366         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
5367         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
5368         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
5369         Remove recvmsg and sendmsg.
5370         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
5371         Likewise.
5372         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
5373         Likewise.
5374         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
5375         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
5376         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
5377         Likewise.
5378         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
5379         Likewise.
5380         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
5381         [libc] (GLIBC_2.24): Likewise.
5382         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
5383         Likewise.
5384         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
5385         Likewise.
5386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
5387         [libc] (GLIBC_2.24): Likewise.
5388         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
5389         Likewise.
5390         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
5391         Likewise.
5392         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
5393         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
5394         Likewise.
5395         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
5396         Likewise.
5397         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
5398         Likewise.
5399         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
5400         Likewise.
5401         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
5402         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
5403         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
5404         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
5405         version for {recv,send,recm,sendm}msg.
5406         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5407         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5408         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5409         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5410         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5411         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5412         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5413         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5414         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5415         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5417         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
5419         Likewise.
5420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
5421         Likewise.
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5424         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5425         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5426         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5427         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5428         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5429         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5430         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5431         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5432         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5433         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5434         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5436 2016-06-10  Florian Weimer  <fweimer@redhat.com>
5438         [BZ #19564]
5439         Remove __malloc_initialize_hook from the API.
5440         * malloc/malloc.h (__malloc_initialize_hook): Remove.
5441         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
5442         #pragma GCC poison.
5443         * malloc/malloc-hooks.h: New file.
5444         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
5445         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
5446         (old__malloc_initialize_hook): Rename from
5447         __malloc_initialize_hook to evade poisoning.  Turn into compat
5448         symbol.
5449         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
5450         __malloc_initialize_hook.
5451         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
5452         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
5453         * manual/memory.texi (Hooks for Malloc): Remove
5454         __malloc_initialize_hook.  Adjust hook example.
5456 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
5458         [BZ #20235]
5459         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
5460         itself.
5461         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
5462         * math/libm-test.inc (log2_test_data): Add sNaN tests.
5464         [BZ #20234]
5465         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
5466         infinity or NaN input to itself.
5468         [BZ #20233]
5469         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
5470         to itself.
5472         [BZ #20232]
5473         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
5474         itself.
5476 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5478         * sysdeps/x86_64/start.S (_start): Always indirect branch to
5479         __libc_start_main via GOT.
5481 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
5483         * sysdeps/x86_64/memcopy.h: New file.
5484         * sysdeps/x86_64/wordcopy.c: Likewise.
5486 2016-06-09  Florian Weimer  <fweimer@redhat.com>
5488         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
5489         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
5490         <cstdlib>.
5491         (optimization_barrier): New.
5492         (do_test): Use it.  Call quick_exit in the global namespace.
5493         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
5494         instead of <cstdlib>, <thread>.
5495         (optimization_barrier): New.
5496         (non_main_thread): Adjust declaration.  Call optimization_barrier.
5497         Call quick_exit in the global namespace.
5498         (do_test): Call optimization_barrier.  Use pthread_create,
5499         pthread_join instead of std::thread.
5501 2016-06-09  Andreas Schwab  <schwab@suse.de>
5503         [BZ #19755]
5504         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
5505         new entries in auto-propagate mode.
5506         * nscd/grpcache.c (cache_addgr): Likewise.
5508 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
5510         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
5511         New functions.
5512         (add_temp_file): Use them.
5514 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
5516         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
5518 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
5520         [BZ #20229]
5521         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
5522         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
5523         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
5525         [BZ #20228]
5526         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
5527         itself.
5528         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
5529         * math/libm-test.inc (log10_test_data): Add sNaN tests.
5531         [BZ #20227]
5532         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
5533         itself.
5534         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
5535         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
5536         * math/libm-test.inc (log_test_data): Add sNaN tests.
5538         [BZ #20226]
5539         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
5540         itself.
5541         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
5542         * math/libm-test.inc (exp_test_data): Add sNaN tests.
5543         (exp10_test_data): Likewise.
5544         (expm1_test_data): Likewise.
5546         [BZ #20225]
5547         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
5548         itself.
5549         * math/s_ldexpf.c (__ldexpf): Likewise.
5550         * math/s_ldexpl.c (__ldexpl): Likewise.
5551         * math/w_scalbln.c (__w_scalbln): Likewise.
5552         * math/w_scalblnf.c (__w_scalblnf): Likewise.
5553         * math/w_scalblnl.c (__w_scalblnl): Likewise.
5554         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
5555         (scalbln_test_data): Likewise.
5557         [BZ #20224]
5558         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
5559         argument to itself.
5560         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
5562 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5564         [BZ #19776]
5565         * sysdeps/x86_64/memcpy.S: Make it dummy.
5566         * sysdeps/x86_64/mempcpy.S: Likewise.
5567         * sysdeps/x86_64/memmove.S: New file.
5568         * sysdeps/x86_64/memmove_chk.S: Likewise.
5569         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
5570         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
5571         * sysdeps/x86_64/memmove.c: Removed.
5572         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
5573         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
5574         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
5575         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
5576         Likewise.
5577         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
5578         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
5579         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5580         memcpy-sse2-unaligned, memmove-avx-unaligned,
5581         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
5582         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5583         (__libc_ifunc_impl_list): Replace
5584         __memmove_chk_avx512_unaligned_2 with
5585         __memmove_chk_avx512_unaligned.  Remove
5586         __memmove_chk_avx_unaligned_2.  Replace
5587         __memmove_chk_sse2_unaligned_2 with
5588         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
5589         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
5590         with __memmove_avx512_unaligned.  Replace
5591         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
5592         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
5593         with __memcpy_chk_avx512_unaligned.  Remove
5594         __memcpy_chk_avx_unaligned_2.  Replace
5595         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
5596         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
5597         Replace __memcpy_avx512_unaligned_2 with
5598         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
5599         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
5600         with __mempcpy_chk_avx512_unaligned.  Remove
5601         __mempcpy_chk_avx_unaligned_2.  Replace
5602         __mempcpy_chk_sse2_unaligned_2 with
5603         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
5604         Replace __mempcpy_avx512_unaligned_2 with
5605         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
5606         Replace __mempcpy_sse2_unaligned_2 with
5607         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
5608         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
5609         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
5610         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
5611         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
5612         (ENTRY): Removed.
5613         (END): Likewise.
5614         (ENTRY_CHK): Likewise.
5615         (libc_hidden_builtin_def): Likewise.
5616         Don't include ../memcpy.S.
5617         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
5618         __memcpy_chk_avx512_unaligned_erms and
5619         __memcpy_chk_avx512_unaligned.  Use
5620         __memcpy_chk_avx_unaligned_erms and
5621         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5622         Default to __memcpy_chk_sse2_unaligned.
5623         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
5624         Change function suffix from unaligned_2 to unaligned.
5625         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
5626         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
5627         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
5628         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
5629         (ENTRY): Removed.
5630         (END): Likewise.
5631         (ENTRY_CHK): Likewise.
5632         (libc_hidden_builtin_def): Likewise.
5633         Don't include ../mempcpy.S.
5634         (mempcpy): New.  Add a weak alias.
5635         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
5636         __mempcpy_chk_avx512_unaligned_erms and
5637         __mempcpy_chk_avx512_unaligned.  Use
5638         __mempcpy_chk_avx_unaligned_erms and
5639         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
5640         Default to __mempcpy_chk_sse2_unaligned.
5642 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
5644         [BZ #19881]
5645         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
5646         into ...
5647         * sysdeps/x86_64/memset.S: This.
5648         (__bzero): Removed.
5649         (__memset_tail): Likewise.
5650         (__memset_chk): Likewise.
5651         (memset): Likewise.
5652         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
5653         defined.
5654         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
5655         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
5656         (__memset_zero_constant_len_parameter): Check SHARED instead of
5657         PIC.
5658         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5659         memset-avx2 and memset-sse2-unaligned-erms.
5660         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
5661         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
5662         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
5663         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
5664         (__bzero): Enabled.
5665         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
5666         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
5667         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
5668         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
5669         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
5670         (memset): Removed.
5671         (__memset_chk): Likewise.
5672         (MEMSET_SYMBOL): New.
5673         (libc_hidden_builtin_def): Replace __memset_sse2 with
5674         __memset_sse2_unaligned.
5675         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
5676         __memset_chk_sse2 and __memset_chk_avx2 with
5677         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
5678         Use __memset_chk_sse2_unaligned_erms or
5679         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
5680         __memset_chk_avx512_unaligned_erms and
5681         __memset_chk_avx512_unaligned.
5683 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5685         * math/gen-auto-libm-test.c (fp_format_desc): remove
5686         suffix member.
5687         (output_generic_value): Remove usage of suffix member,
5688         and the resulting unuse of the fp_format argument.
5689         (output_for_one_input_case): Remove unused fp_format
5690         parameter.
5692         * math/auto-libm-test-out: Regenerate.
5694         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
5695         usage with TEST_COND_ibm128.
5696         (TEST_COND_flt_32): Remove.
5697         (TEST_COND_dbl_64): Remove.
5698         (TEST_COND_ldbl_96_intel): Remove.
5699         (TEST_COND_ldbl_96_m68k): Remove.
5700         (TEST_COND_ldbl_128): Remove.
5702 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5704         * auto-libm-test-in:
5705         Replace flt-32 usage with binary32.
5706         Replace dbl-64 usage with binary64.
5707         Replace ldbl-intel-96 usage with intel96.
5708         Replace ldbl-m68k-96 usage with m68k96.
5709         Replace ldbl-128ibm usage with ibm128.
5710         Replace ldbl-128 usage with binary128.
5712         * auto-libm-test-out: Regenerate.
5714 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5716         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
5717         (parse_ulps): Dynamically generate type name matching
5718         string from all_floats.
5719         (get_ulps): Generate the ulps as an array instead.
5720         (output_ulps): Dynamically compose the type based
5721         on the number of supported formats, and print
5722         the indices as type specific helper macros.
5724         * math/libm-test.inc: Remove comment about CHOOSE.
5725         (ulp_data): Generate the type in libm-test-ulps.h.
5726         (ULP_IDX): New macro.
5727         (find_ulps): Update usage of max_ulp.
5729         * math/test-double-vlen2.h (CHOOSE): Remove.
5730         * math/test-double-vlen4.h (CHOOSE): Likewise.
5731         * math/test-double-vlen8.h (CHOOSE): Likewise.
5732         * math/test-float.c (CHOOSE): Likewise.
5733         * math/test-float-finite.c (CHOOSE): Likewise.
5734         * math/test-double.c (CHOOSE): Likewise.
5735         * math/test-double-finite.c (CHOOSE): Likewise.
5736         * math/test-idouble.c (CHOOSE): Likewise.
5737         * math/test-ifloat.c (CHOOSE): Likewise.
5738         * math/test-ildoubl.c (CHOOSE): Likewise.
5739         * math/test-ldouble-finite.c (CHOOSE): Likewise.
5740         * math/test-ldouble.c (CHOOSE): Likewise.
5742         * math/test-float.h (TEST_FLOAT): Remove.
5743         * math/test-double.h (TEST_DOUBLE): Likewise.
5744         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
5746 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5748         * math/gen-libm-test.pl: (apply_lit): New subroutine.
5749         (parse_args): Strip C suffix from floating point literals
5750         typed with 'f' and wrap them with LIT().
5752         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
5753         (test_ff_f_data_nexttoward): Rename to
5754         (test_fj_f_data): New struct.
5755         (nexttoward_test_data): Relabel tests as
5756         TEST_fj_f instead of TEST_ff_f.
5758 2016-06-08  Florian Weimer  <fweimer@redhat.com>
5760         Emacs bug 23726.
5761         * malloc/malloc.c (dumped_main_arena_start): Update comment.
5762         (__libc_realloc): Correct size computation for dumped fake mmapped
5763         chunks.
5765 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
5767         [BZ #20219]
5768         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
5769         to itself.
5770         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
5772         [BZ #20218]
5773         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
5774         to itself.
5775         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
5777 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
5779         [BZ #20195]
5780         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
5781         check to ...
5782         (init_cpu_features): Here.
5784 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
5786         [BZ #20214]
5787         * sysdeps/unix/sysv/linux/bits/in.h
5788         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5789          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
5790         Define to 1.
5791         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
5792          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
5793         Define to 0.
5794         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
5795         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
5797 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
5799         [BZ #20198]
5800         * stdlib/Makefile (tests): Add tst-quick_exit, and
5801         tst-thread-quick_exit.
5802         [ifeq ($(have-cxx-thread_local),yes)]
5803         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
5804         (CFLAGS-tst-thread-quick_exit.o): Likewise.
5805         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
5806         (LDLIBS-tst-thread-quick_exit): Likewise.
5807         [ifneq ($(have-cxx-thread_local),yes)]
5808         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
5809         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
5810         If run_dtors is true call __call_tls_dtors.
5811         (exit): Call __run_exit_handlers with run_dtors set to true.
5812         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
5813         definition.
5814         * stdlib/quick_exit.c (quick_exit): Remove function.
5815         (__new_quick_exit): New function.
5816         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
5817         function.
5818         * stdlib/tst-quick_exit.cc: New file.
5819         * stdlib/tst-thread-quick_exit.cc: New file.
5820         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
5821         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
5822         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
5823         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
5824         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
5825         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
5826         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
5827         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
5828         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
5829         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
5830         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
5831         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
5832         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
5833         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
5834         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
5835         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
5836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
5837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
5838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
5839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
5840         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
5841         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
5842         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
5843         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
5844         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
5845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
5846         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
5847         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
5848         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
5849         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
5851 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
5853         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
5854         a typo in comments.
5856 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5858         [BZ #20213]
5859         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
5860         argument to itself.
5861         * math/libm-test.inc (asin_test_data): Add sNaN tests.
5863 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5865         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
5866         required flags.
5867         (CFLAGS-pwritev64.c): Likewise.
5868         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
5869         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
5870         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
5871         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
5872         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
5873         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
5874         syscall from auto-generation.
5875         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
5876         [WORDSIZE == 64] (pwritev64): Remove macro.
5877         [!PWRITEV] (PWRITEV): Likewise.
5878         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5879         [!PWRITEV] (PWRITE): Likewise.
5880         [!PWRITEV] (OFF_T): Likewise.
5881         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
5882         (LO_HI_LONG): Remove macro.
5883         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
5884         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
5885         (PWRITEV): Remove macro.
5886         (PWRITEV_REPLACEMENTE): Likewise.
5887         (PWRITE): Likewise.
5888         (OFF_T): Likewise.
5889         (pwritev64): New function.
5890         * nptl/tst-cancel4.c (tf_writev): Add test.
5892         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
5893         required flags.
5894         (CFLAGS-preadv64.c): Likewise.
5895         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
5896         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
5897         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
5898         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
5899         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
5900         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
5901         syscall from auto-generation.
5902         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
5903         [WORDSIZE == 64] (preadv64): Remove macro.
5904         [!PREADV] (PREADV): Likewise.
5905         [!PREADV] (PREADV_REPLACEMENT): Likewise.
5906         [!PREADV] (PREAD): Likewise.
5907         [!PREADV] (OFF_T): Likewise.
5908         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
5909         (LO_HI_LONG): Remove macro.
5910         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
5911         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
5912         (PREADV): Remove macro.
5913         (PREADV_REPLACEMENTE): Likewise.
5914         (PREAD): Likewise.
5915         (OFF_T): Likewise.
5916         (preadv64): New function.
5917         * nptl/tst-cancel4.c (tf_preadv): Add test.
5919 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
5921         [BZ #20212]
5922         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
5923         argument to itself.
5924         * math/libm-test.inc (acos_test_data): Add sNaN tests.
5926 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5928         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
5929         New symbol defined as libc_hidden_def.
5930         (strcasestr): Became a weak alias to __strcasestr.
5931         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
5932         according to multi-arch support.  Move __stpncpy hidden
5933         definition from here to...
5934         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
5935         symbol stpncpy.
5936         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
5937         libc_hidden_builtin_def.
5938         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
5939         memset symbol to use when multi-arch support is available.
5941 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
5943         * dlfcn/tst-rec-dlopen.c: Include string.h.
5945 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
5947         * manual/install.texi: Remove mention of --without-tls
5948         * INSTALL: Regenerate.
5950 2016-06-05  Florian Weimer  <fweimer@redhat.com>
5952         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
5953         Remove.
5954         (call_function, interposed_malloc_called): New variables.
5955         (malloc): New function.
5956         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
5957         and clear call_function as needed.
5959 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
5961         * include/wchar.h (__wmemset): Use __typeof.
5963 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
5965         * include/wchar.h (__wmemset): Declare function without typeof.
5967 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
5969         [BZ #20205]
5970         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
5971         exponent when incrementing negative subnormal with low mantissa
5972         word zero.
5973         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
5974         Add another test.
5976 2016-06-03  Florian Weimer  <fweimer@redhat.com>
5978         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
5979         __wmemset instead of wmemset.
5981 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
5983         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
5984         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
5985         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
5986         __USE_KERNEL_IPV6_DEFS to 0.
5987         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
5988         Update comment.
5990 2016-06-01  Florian Weimer  <fweimer@redhat.com>
5992         [BZ #19861]
5993         Do not use IFUNC resolver with potentially unrelocated symbol.
5994         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
5995         (DEFINE_FORK): Remove macro and inline definition.
5996         (fork_alias): Renamed from fork_ifunc.
5997         (__fork_alias): Renamed from __fork_ifunc.
5999 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
6001         [BZ 19653]
6002         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
6003         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
6005 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6007         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
6008         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
6009         i386-linux-gnu).
6010         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
6011         Set to no.
6012         * sysdeps/mach/hurd/configure: Refresh.
6014 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6016         [BZ #20178]
6017         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
6018         on failure instead of exit.
6020 2016-05-30  Roland McGrath  <roland@hack.frob.com>
6022         [BZ #3629]
6023         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
6024         of POSIX.1-2008.
6026 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6028         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
6029           Use PLT entry for calling _hurd_self_sigstate.
6031 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
6033         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
6034         available logical processors with SMT level type sharing L2
6035         cache for Intel processors.
6037 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6039         [BZ #20160]
6040         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
6041         argument to itself before returning the result.
6042         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6043         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6044         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6045         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
6046         Likewise.
6047         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
6048         Likewise.
6049         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
6050         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
6051         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
6052         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
6053         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6054         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6056         [BZ #20160]
6057         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
6058         argument to itself before returning the result.
6059         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6060         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6061         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6062         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
6063         Likewise.
6064         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
6065         Likewise.
6066         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
6067         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
6068         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
6069         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
6070         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6071         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6073 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6075         * libm-test.inc: Replace usage of M_El with
6076         (lit_e): New macro.
6078 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6080         * libm-test.inc: Replace usage of M_PI_4l with
6081         (lit_pi_4_d): New macro.
6083 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6085         * libm-test.inc: Replace usage of M_PIl with
6086         (lit_pi): New macro.
6088 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6090         * libm-test.inc: Replace usage of M_PI2l with
6091         (lit_pi_2_d): New macro.
6093         * math/test-double.h (LITM): New macro.
6094         * math/test-float.h (LITM): Likewise.
6095         * math/test-ldouble.h (LITM): Likewise.
6097 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6099         * libm-test.inc (M_PI_34l): Rename to
6100         (lit_pi_3_m_4_d): New Macro.
6101         (M_PI_34_LOG10El): Rename to
6102         (lit_pi_3_m_4_ln10_m_d): New Macro.
6103         (M_PI2_LOG10El): Rename to
6104         (lit_pi_2_ln10_m_d):  New Macro.
6105         (M_PI4_LOG10El): Rename to
6106         (lit_pi_4_ln10_m_d):  New Macro.
6107         (M_PI_LOG10El): Rename to
6108         (lit_pi_ln10_d):  New Macro.
6110 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6112         [BZ #20157]
6113         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
6114         determine whether to negate low half if [_ARCH_PPCGR], and integer
6115         comparison otherwise.
6116         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
6117         determine whether to negate low half.
6119         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
6120         (NO_TEST_INLINE_DOUBLE): Likewise.
6121         (TEST_COND_x86_64): Likewise.
6122         (TEST_COND_x86): Likewise.
6123         (M_PI_6l): Likewise.
6125 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6127         * math/libm-test.inc:
6128         (TEST_FLOAT): Change usage to TEST_COND_binary32.
6129         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
6130         (TEST_LDOUBLE): Update usage to evaluate as true if
6131         the guarded tests match the property being tested.
6132         (LDBL_MAX_EXP): Change to MAX_EXP.
6133         (LDBL_MIN_EXP): Change to MIN_EXP.
6134         (LDBL_MANT_DIG): Change to MANT_DIG, except for
6135         nexttoward tests.
6137 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6139         * math/libm-test.inc:
6140         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
6141         (TYPE_MIN): Likewise.
6142         (TYPE_TRUE_MIN): Likewise.
6143         (TYPE_MAX): Likewise.
6144         (MIN_EXP): Likewise.
6145         (MAX_EXP): Likewise.
6146         (MANT_DIG): Likewise.
6148         (FSTR_MAX): New macro.
6149         (__CONCATX): Likewise.
6150         (QTYPE_STR): Likewise.
6151         (TEST_COND_binary32): Likewise.
6152         (TEST_COND_binary64): Likewise.
6153         (TEST_COND_binary128): Likewise.
6154         (TEST_COND_ibm128): Likewise.
6155         (TEST_COND_intel96): Likewise.
6156         (TEST_COND_m68k96): Likewise.
6158         (TEST_COND_flt_32): Redefine as equivalent format test macro.
6159         (TEST_COND_dbl_64): Likewise.
6160         (TEST_COND_ldbl_96_intel): Likewise.
6161         (TEST_COND_ldbl_96_m68k): Likewise.
6162         (TEST_COND_ldbl_128): Likewise.
6163         (TEST_COND_ldbl_128ibm): Likewise.
6165         (plus_zero): Redefine using LIT macro.
6166         (minus_zero): Likewise.
6167         (plus_infty): Redefine as (INF).
6168         (minux_infty): Redefine as (-INF).
6169         (max_value): Redefine as TYPE_MAX.
6170         (min_value): Redefine as TYPE_MIN.
6171         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
6173         (print_float): Refactor to use snprintf to convert FLOAT values
6174         to string. This brings it closer to dropin replacement of strtof
6175         for the TS 18661 defined types.
6176         (update_stats): Likewise.
6177         (print_complex_function_ulps): Likewise.
6178         (print_max_error): Likewise.
6179         (print_complex_max_error): Likewise.
6180         (check_float_internal): Likewise.
6182         * math/test-float.h (PREFIX): New macro.
6183         (LIT): Likewise.
6184         (TYPE_STR): Likewise.
6185         (FTOSTR): Likewise.
6187         * math/test-double.h (PREFIX): New macro.
6188         (LIT): Likewise.
6189         (TYPE_STR): Likewise.
6190         (FTOSTR): Likewise.
6192         * math/test-ldouble.h (PREFIX): New macro.
6193         (LIT): Likewise.
6194         (TYPE_STR): Likewise.
6195         (FTOSTR): Likewise.
6197 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
6199         [BZ #20156]
6200         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
6201         to itself when zero or not finite.
6202         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
6203         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
6204         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
6205         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
6207 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
6209         [BZ #20153]
6210         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
6211         x * x + x for infinities and NaNs.
6213         [BZ #20151]
6214         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
6215         argument to itself before returning result.
6216         (__ieee754_y0l): Likewise.
6217         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
6218         (__ieee754_y1l).
6220         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
6221         (atan_test_data): Likewise.
6222         (ceil_test_data): Likewise.
6223         (cos_test_data): Likewise.
6224         (cosh_test_data): Likewise.
6225         (erf_test_data): Likewise.
6226         (exp2_test_data): Likewise.
6227         (fabs_test_data): Likewise.
6228         (floor_test_data): Likewise.
6229         (ilogb_test_data): Likewise.
6230         (j0_test_data): Likewise.
6231         (j1_test_data): Likewise.
6232         (jn_test_data): Likewise.
6233         (lgamma_test_data): Likewise.
6234         (lrint_test_data): Likewise.
6235         (llrint_test_data): Likewise.
6236         (logb_test_data): Likewise.
6237         (lround_test_data): Likewise.
6238         (llround_test_data): Likewise.
6239         (nearbyint_test_data): Likewise.
6240         (rint_test_data): Likewise.
6241         (round_test_data): Likewise.
6242         (sin_test_data): Likewise.
6243         (sincos_test_data): Likewise.
6244         (sinh_test_data): Likewise.
6245         (sqrt_test_data): Likewise.
6246         (tan_test_data): Likewise.
6247         (tanh_test_data): Likewise.
6248         (tgamma_test_data): Likewise.
6249         (trunc_test_data): Likewise.
6250         (y0_test_data): Likewise.
6251         (y1_test_data): Likewise.
6252         (yn_test_data): Likewise.
6254         * math/libm-test.inc: Update comment about NaN testing.
6255         (TEST_SNAN): New macro.
6256         (snan_value): Likewise.
6257         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
6258         (fpclassify_test_data): Add sNaN tests.
6259         (isfinite_test_data): Likewise.
6260         (isinf_test_data): Likewise.
6261         (isnan_test_data): Likewise.
6262         (isnormal_test_data): Likewise.
6263         (issignaling_test_data): Likewise.
6264         (signbit_test_data): Likewise.
6265         * math/gen-libm-test.pl (%beautify): Add snan_value.
6266         (show_exceptions): Add argument $test_snan.
6267         (parse_args): Handle snan_value as non-finite.  Update call to
6268         show_exceptions.
6269         * math/Makefile (libm-test-no-inline-cflags): Add
6270         -fsignaling-nans.
6272 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6274         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
6275         (CFLAGS-oldsendmsg.c): Add rule.
6276         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
6277         Correct recvmsg symbol name.
6278         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
6279         Likewise.
6281 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6283         * sysdeps/unix/sysv/linux/Makefile
6284         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
6285         oldsendmmsg.
6286         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
6287         sendmmsg.
6288         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6289         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6290         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6291         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6293         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6294         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6295         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
6296         Likewise.
6297         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6298         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
6299         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
6300         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
6301         iovlen and controllen fields to adjust to POSIX specification.
6302         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6304         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
6305         and change to correct expected type.
6306         (msghdr.msg_controllen): Likewise.
6307         (cmsghdr.cmsg_len): Likewise.
6308         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
6309         expected POSIX assumption about the size.
6310         (msghdr.msg_controllen): Likewise.
6311         (msghdr.__glibc_reserved1): Likewise.
6312         (msghdr.__glibc_reserved2): Likewise.
6313         (cmsghdr.cmsg_len): Likewise.
6314         (cmsghdr.__glibc_reserved1): Likewise.
6315         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
6316         Add ptw-oldrecvmsg and ptw-oldsendmsg.
6317         (CFLAGS-sendmsg.c): Remove rule.
6318         (CFLAGS-recvmsg.c): Likewise.
6319         (CFLAGS-oldsendmsg.c): Add rule.
6320         (CFLAGS-oldrecvmsg.c): Likewise.
6321         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
6322         recvmsg and sendmsg.
6323         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
6324         Likewise.
6325         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
6326         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
6327         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
6328         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
6329         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
6330         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
6331         Likewise.
6332         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
6333         Likewise.
6334         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
6335         Likewise.
6336         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
6337         Likewise.
6338         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
6339         Likewise.
6340         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
6341         Likewise.
6342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
6343         (GLIBC_2.24): Likewise.
6344         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
6345         Likewise.
6346         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
6347         Likewise.
6348         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
6349         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
6350         Likewise.
6351         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
6352         Likewise.
6353         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
6354         Likewise.
6355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
6356         (GLIBC_2.24): Likewise.
6357         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
6358         Likewise.
6359         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
6360         Likewise.
6361         * sysdeps/unix/sysv/linux/Makefile
6362         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
6363         (CFLAGS-sendmsg.c): Add rule.
6364         (CFLAGS-recvmsg.c): Likewise.
6365         (CFLAGS-oldsendmsg.c): Likewise.
6366         (CFLAGS-oldrecvmsg.c): Likewise.
6367         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
6368         initialization.
6369         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
6370         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
6371         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
6372         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
6373         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
6374         iovlen and controllen fields to adjust to POSIX specification.
6375         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
6376         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
6377         added recvmsg and sendmsg.
6378         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
6379         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
6380         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
6381         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
6382         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
6383         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
6384         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
6385         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
6386         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
6387         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
6388         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
6389         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
6390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
6391         Likewise.
6392         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
6393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
6394         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
6395         Likewise.
6396         Likewise.
6397         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
6398         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
6399         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
6400         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
6401         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6402         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
6403         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
6404         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
6405         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
6406         Likewise.
6407         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
6408         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
6410         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
6411         from auto-generation.
6412         (sendmsg): Likewise.
6413         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
6414         (sendmsg): Likewise.
6415         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
6416         (sendmsg): Likewise.
6417         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
6418         (sendmsg): Likewise.
6419         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
6420         (sendmsg): Likewise.
6421         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
6422         (sendmsg): Likewise.
6423         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
6424         Likewise.
6425         (sendmsg): Likewise.
6426         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
6427         (sendmsg): Likewise.
6428         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6429         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6430         Remove.
6431         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6432         Likewise.
6433         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6434         Undefine.
6435         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6436         Likewise.
6437         * sysdeps/unix/sysv/linux/kernel-features.h
6438         (__ASSUME_SENDMSG_SYSCALL): Define.
6439         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6440         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6441         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6442         Remove.
6443         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6444         Likewise.
6445         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6446         Undefine.
6447         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6448         Likewise.
6449         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6450         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6451         Remove.
6452         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6453         Likewise.
6454         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
6455         Undefine.
6456         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
6457         Likewise.
6458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6459         (__ASSUME_SENDMSG_SYSCALL): Undefine.
6460         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6461         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6462         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6463         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6464         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6465         (__ASSUME_SENDMSG_SYSCALL): Likewise.
6466         (__ASSUME_RECVMSG_SYSCALL): Likewise.
6468 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6470         * stdlib/gen-tst-strtod-round.c: Add backslash to
6471         compile command in comment.
6472         (printfp): Remove the literal suffix, and define an infinite
6473         value as INF to avoid expansion clash with INFINITY.
6474         (round_str): Remove the literal suffix.
6475         (round_for_all): Likewise, remove the now duplicate ldbl-64
6476         entry, and remove some magic constants.
6478         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
6479         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
6480         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
6481         (_CONCAT): New macro.
6482         (CONCAT): Likewise.
6483         (CHOOSE_ld): Likewise.
6484         (CHOOSE_f): Likewise.
6485         (CHOOSE_d): Likewise.
6486         (FTYPE_MEMBER): Likewise.
6487         (BOOL_MEMBER): Likewise.
6488         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
6489         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
6490         (_XNTRY): Likewise.
6491         (XNTRY): Likewise.
6492         (_ENTRY): Likewise.
6493         (ENTRY): Likewise.
6494         (test_exactness): Generate members via macro.
6495         (test_results): Likewise.
6496         (test): Update members.
6497         (TEST): Redefine using new macros.
6498         (INF): New macro.
6499         (fetestmodes): New structure.
6500         (do_test): Refactor to be type generic.
6501         (test_in_one_mode): Refactor duplicate code into
6502         (GEN_ONE_TEST): New macro.
6504         * stdlib/tst-strtod-round-data.h: Regenerate.
6506         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
6507         Extend to pass additional arbitrary parameters to
6508         generators.
6510 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
6512         [BZ #15479]
6513         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
6514         floating-point state after first floating-point operation on
6515         input.  Restore full floating-point state instead of just rounding
6516         mode.
6517         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
6518         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
6519         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
6520         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
6521         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
6523         [BZ #15479]
6524         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
6525         floating-point state after first floating-point operation on
6526         input.  Restore full floating-point state instead of just rounding
6527         mode.
6528         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
6529         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
6530         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
6531         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
6532         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
6534 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6536         [BZ #19727]
6537         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
6538         valid high surrogate.
6539         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
6540         of an utf16 surrogate.
6541         * iconv/gconv_simple.c (BODY): Likewise.
6542         * iconvdata/bug-iconv12.c: New file.
6543         * iconvdata/Makefile (tests): Add bug-iconv12.
6545 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6547         [BZ #19726]
6548         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
6549         outptrp in case of an illegal input.
6550         * iconv/tst-iconv6.c: New file.
6551         * iconv/Makefile (tests): Add tst-iconv6.
6553 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6555         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
6556         an error in case of a value in range of an utf16 low surrogate.
6558 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6560         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
6561         an error in case of a value in range of an utf16 low surrogate.
6563 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6565         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
6566         Move to ...
6567         * sysdeps/s390/Makefile: ... here.
6568         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
6569         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
6570         (BRANCH_ON_COUNT): New define.
6571         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
6572         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
6573         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
6574         run on s390-32, too.
6575         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
6576         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
6577         run on s390-32, too.
6578         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
6579         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
6580         run on s390-32, too.
6582 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6584         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
6585         etf3eh or new vector loop-variant.
6587 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6589         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
6590         etf3eh or new vector loop-variant.
6592 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6594         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
6595         or new vector loop-variant.
6597 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6599         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
6600         Rename to TR_LOOP and usage of tr instead of troo instruction.
6602 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6604         * sysdeps/s390/multiarch/gconv_simple.c: New File.
6605         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
6607 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6609         * sysdeps/s390/multiarch/8bit-generic.c: New File.
6610         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
6611         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
6612         New override define.
6613         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
6615 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6617         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
6618         * sysdeps/s390/configure.ac: Add test for S390 vector register
6619         support in gcc.
6620         * sysdeps/s390/configure: Regenerated.
6622 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
6624         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
6625         Install file from $(objpfx)gconv-modules.
6626         ($(objpfx)gconv-modules): Concatenate architecture specific file
6627         in variable sysdeps-gconv-modules and gconv-modules in src dir.
6628         * sysdeps/s390/gconv-modules: New file.
6629         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
6630         Deleted.
6631         ($(objpfx)gconv-modules-s390): Deleted.
6632         (sysdeps-gconv-modules): New variable.
6634 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6636         [BZ #15479]
6637         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
6638         of immediate operand to rounding instruction.
6639         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
6640         Likewise.
6641         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
6642         Likewise.
6643         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
6644         Likewise.
6646 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6648         * math/libm-test.inc (MIN_EXP): Directly define as
6649         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
6651 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6653         * math/libm-test.inc (MANT_DIG): Directly define as
6654         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
6656 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6658         * stdlib/gen-tst-strtod-round.c (main):
6659           Change usage to more closely match the generated
6660           output.  Add usage and compilation instructions.
6661           (string_to_fp): Add and use FILE* parameter as
6662           output target.
6663           (print_fp): Likewise.
6664           (round_str): Likewise.
6665           (round_for_all): Likewise.
6666         * stdlib/tst-strtod-round.c (tests): Move into
6667         * stdlib/tst-strtod-round-data.h: New file.
6669 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #15479]
6672         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
6673         (__round): Do not force "inexact" exception.
6674         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
6675         variable.
6676         (__round): Do not force "inexact" exception.
6677         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
6678         (__roundf): Do not force "inexact" exception.
6679         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
6680         (__roundl): Do not force "inexact" exception.
6681         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
6682         (__roundl): Do not force "inexact" exception.
6683         * math/libm-test.inc (round_test_data): Do not allow spurious
6684         "inexact" exceptions.
6686         [BZ #15479]
6687         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
6688         exception in comment.
6689         (huge): Remove variable.
6690         (__floor): Do not force "inexact" exception.
6691         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
6692         "inexact" exception in comment.
6693         (huge): Remove variable.
6694         (__floor): Do not force "inexact" exception.
6695         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
6696         exception in comment.
6697         (huge): Remove variable.
6698         (__floorf): Do not force "inexact" exception.
6699         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
6700         exception in comment.
6701         (huge): Remove variable.
6702         (__floorl): Do not force "inexact" exception.
6704         [BZ #15479]
6705         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
6706         exception in comment.
6707         (huge): Remove variable.
6708         (__ceil): Do not force "inexact" exception.
6709         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
6710         "inexact" exception in comment.
6711         (huge): Remove variable.
6712         (__ceil): Do not force "inexact" exception.
6713         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
6714         (__ceilf): Do not force "inexact" exception.
6715         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
6716         exception in comment.
6717         (huge): Remove variable.
6718         (__ceill): Do not force "inexact" exception.
6720 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
6722         * config.h.in (BIND_NOW): New.
6723         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
6724         * configure: Regenerated.
6725         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
6726         indirect branch via the GOT slot.
6728 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6730         [BZ #19765]
6731         * sysdeps/s390/mempcpy.S: New File.
6732         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
6733         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
6734         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
6735         Add mempcpy variants.
6736         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
6737         (memcpy): Adjust to be usable from mempcpy entry point.
6738         (__memcpy_mvcle): Likewise.
6739         * sysdeps/s390/s390-64/memcpy.S: Likewise.
6740         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
6741         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
6742         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
6743         (__memcpy_z10): Likewise.
6744         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6746 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6748         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
6749         Remove __GI_ symbol.
6750         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
6751         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
6752         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
6753         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
6754         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
6755         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
6757 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6759         * sysdeps/s390/s390-64/memcpy.S (memcpy):
6760         Use cghi instead of chi to compare 64bit value.
6762 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
6764         * sysdeps/s390/s390-32/memcpy.S (memcpy):
6765         Jump to 1MB check before executing mvc-loop.
6767 2016-05-24  Florian Weimer  <fweimer@redhat.com>
6769         [BZ #6527]
6770         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
6771         unconditionally.
6772         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
6774 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6776         * stdlib/tst-strtod6.c (do_test): Use new type generic
6777         invocation of the test function.
6778         (test): Refactor into ...
6779         (TEST_STRTOD): New macro base function.
6781 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6783         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
6784         (TEST_STRTOD): New macro.
6785         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
6787 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6789         * stdlib/tst-strtod6.c (do_test): Use new type generic
6790         invocation of the test function.
6791         (test): Refactor into ...
6792         (TEST_STRTOD): New macro base function.
6794 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6796         CVE-2016-4429
6797         [BZ #20112]
6798         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
6799         payload.
6801 2016-05-23  Florian Weimer  <fweimer@redhat.com>
6803         [BZ #20111]
6804         * bits/sockaddr.h (_SS_SIZE): Define.
6805         * bits/socket.h (_SS_SIZE): Remove.
6806         (_SS_PADSIZE): Adjust to account for all padding.
6807         (struct sockaddr_storage): Update comment.  Avoid implicit
6808         padding.
6809         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
6810         (_SS_PADSIZE): Adjust to account for all padding.
6811         (struct sockaddr_storage): Update comment.  Avoid implicit
6812         padding.
6813         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
6814         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
6815         (_SS_PADSIZE): Adjust to account for all padding.
6816         (struct sockaddr_storage): Update comment.  Avoid implicit
6817         padding.
6818         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
6819         __SS_SIZE is 126 in this version.
6820         * inet/tst-sockaddr.c: New file.
6821         * inet/Makefile (tests): Add tst-sockaddr.c
6822         (tst-sockaddr.c): Compile with non-strict aliasing.
6824 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
6826         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
6827         [XPG3 || XPG4].
6828         (NL_ARGMAX): Also expect for [XPG3].
6829         (NL_LANGMAX): Likewise.
6830         (NL_MSGMAX): Likewise.
6831         (NL_NMAX): Likewise.
6832         (NL_SETMAX): Likewise.
6833         (NL_TEXTMAX): Likewise.
6834         (NZERO): Likewise.
6835         (TMP_MAX): Likewise.
6836         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
6837         variable.
6839         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
6840         (PF_MAX): Update value.
6841         (AF_KCM): New macro.
6842         (SOL_NETBEUI): Likewise.
6843         (SOL_LLC): Likewise.
6844         (SOL_DCCP): Likewise.
6845         (SOL_NETLINK): Likewise.
6846         (SOL_TIPC): Likewise.
6847         (SOL_RXRPC): Likewise.
6848         (SOL_PPPOL2TP): Likewise.
6849         (SOL_BLUETOOTH): Likewise.
6850         (SOL_PNPIPE): Likewise.
6851         (SOL_RDS): Likewise.
6852         (SOL_IUCV): Likewise.
6853         (SOL_CAIF): Likewise.
6854         (SOL_ALG): Likewise.
6855         (SOL_NFC): Likewise.
6856         (SOL_KCM): Likewise.
6857         (MSG_BATCH): New enum value and macro.
6859 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
6861         [BZ #18185]
6862         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
6863         sharing L2 cache to 2 for Knights Landing.
6865 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
6867         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
6868         (FTW_DP): Do not expect for [XPG3 || XPG4].
6869         (FTW_SL): Do not expect for [XPG3].
6870         (FTW_SLN): Likewise.
6871         (FTW_PHYS): Likewise.
6872         (FTW_MOUNT): Likewise.
6873         (FTW_DEPTH): Likewise.
6874         (FTW_CHDIR): Likewise.
6875         (nftw): Likewise.
6876         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
6877         variable.
6879 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6881         * manual/errno.texi: Fix various typos & grammar errors.
6883 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
6885         * manual/intro.texi: Fix duplicated typo.
6887 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6889         [BZ #13304]
6890         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
6891         <float.h>, <math_private.h> and <stdlib.h>.
6892         (add_split): New function.
6893         (mul_split): Likewise.
6894         (ext_val): New typedef.
6895         (store_ext_val): New function.
6896         (mul_ext_val): New function.
6897         (compare): New function.
6898         (add_split_ext): New function.
6899         (__fmal): After checking for Inf, NaN and zero, compute result as
6900         an exact sum of scaled double values in round-to-nearest before
6901         adding those up and adjusting for other rounding modes.
6902         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
6903         tests of fma.
6904         * math/auto-libm-test-out: Regenerated.
6906 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6908         [BZ #20119]
6909         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
6910         processor level type mask for CPUID with EAX == 11.
6912 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6914         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
6915         logical threads if the HTT bit is 0.
6916         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
6917         (index_cpu_HTT): Likewise.
6918         (reg_HTT): Likewise.
6920 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
6922         [BZ #20115]
6923         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
6924         Remove alignments on jump targets.
6926 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
6928         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
6929         (getpwent): Likewise.
6930         (setpwent): Likewise.
6931         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
6932         variable.
6934         * conform/data/search.h-data (insque): Do not expect for [XPG3].
6935         (remque): Likewise.
6936         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
6937         variable.
6939 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6941         * math/libm-test.inc: Update comment not to refer to signs of NaNs
6942         not being tested.
6944 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6946         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6947         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
6948         call.
6949         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6950         (__condvar_cleanup1): Likewise.
6952 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6954         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
6955         New
6956         (__pthread_unwind): Renamed to ...
6957         (PTHREAD_UNWIND): This.
6958         (__pthread_enable_asynccancel): Replace
6959         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
6961 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
6963         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
6964         (CLONE_NEWCGROUP): New macro.
6966         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
6967         (Q_GETNEXTQUOTA): New macro.
6969 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
6971         [BZ #19907]
6972         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
6973         buffer updated by the previous run.
6974         * string/test-memcpy.c (do_one_test): Likewise.
6975         * benchtests/bench-memmove.c (do_one_test): Add a comment.
6976         * string/test-memmove.c (do_one_test): Likewise.
6978 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
6980         [BZ #20094]
6981         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
6982         not [__USE_XOPEN].
6983         (unlockpt): Likewise.
6984         (ptsname): Likewise.
6985         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
6986         variable.
6988         [BZ #20076]
6989         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
6990         instead of [__USE_UNIX98].
6991         (S_ISSOCK): Likewise.
6992         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
6993         variable.
6995         [BZ #20074]
6996         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
6997         [__USE_POSIX].
6998         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
6999         variable.
7001         [BZ #20051]
7002         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
7003         (ttyslot): Do not declare.
7004         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
7005         (ttyslot): New prototype.
7006         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
7007         variable.
7008         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
7010 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7012         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
7014 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7016         Fix race condition in tst-mallocfork2, use fewer resources.
7017         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
7018         to current process group.
7019         (signal_sender): Yield in the non-sleeping case.
7021 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
7023         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
7024         (ecvt): Likewise.
7025         (fcvt): Likewise.
7026         (gcvt): Likewise.
7027         (getsubopt): Likewise.
7028         (grantpt): Likewise.
7029         (initstate): Likewise.
7030         (l64a): Likewise.
7031         (mktemp): Likewise.
7032         (mkstemp): Likewise.
7033         (ptsname): Likewise.
7034         (random): Likewise.
7035         (realpath): Likewise.
7036         (setstate): Likewise.
7037         (srandom): Likewise.
7038         (ttyslot): Likewise.
7039         (unlockpt): Likewise.
7040         (valloc): Likewise.
7042         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
7043         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
7044         variable.
7046 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7048         [BZ #20072]
7049         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
7050         init_cpu_features only if SHARED is defined.
7051         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
7053 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
7055         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
7056         non-inclusive caches on Intel processors.
7058 2016-05-13  Florian Weimer  <fweimer@redhat.com>
7060         * malloc/malloc.c (dumped_main_arena_start)
7061         (dumped_main_arena_end): New variables.
7062         (DUMPED_MAIN_ARENA_CHUNK): New macro.
7063         (do_check_chunk): Skip dumped fake mmapped chunks.
7064         (munmap_chunk): Likewise.
7065         (__libc_free): Do not adjust statistics for fake mmapped chunks.
7066         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
7067         mmapped chunks.
7068         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
7069         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
7070         and dumped_main_arena_end to cover the dumped heap.
7072 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
7074         * conform/data/time.h-data (getdate_err): Do not expect for
7075         [XPG3].
7076         (getdate): Likewise.
7077         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
7078         variable.
7080         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
7081         (F_ULOCK): Likewise.
7082         (F_TEST): Likewise.
7083         (F_TLOCK): Likewise.
7084         (useconds_t): Likewise.
7085         (intptr_t): Do not expect for [XPG3] or [XPG4].
7086         (brk): Do not expect for [XPG3]
7087         (fchown): Likewise.
7088         (fchdir): Likewise.
7089         (ftruncate): Likewise.
7090         (getdtablesize): Likewise.
7091         (gethostid): Likewise.
7092         (getpagesize): Likewise.
7093         (getpgid): Likewise.
7094         (getsid): Likewise.
7095         (getwd): Likewise.
7096         (lchown): Likewise.
7097         (lockf): Likewise.
7098         (readlink): Likewise.
7099         (sbrk): Likewise.
7100         (setpgrp): Likewise.
7101         (setregid): Likewise.
7102         (setreuid): Likewise.
7103         (symlink): Likewise.
7104         (sync): Likewise.
7105         (truncate): Likewise.
7106         (ualarm): Likewise.
7107         (usleep): Likewise.
7108         (vfork): Likewise.
7109         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
7110         variable.
7112         [BZ #20054]
7113         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
7114         not [__USE_UNIX98].
7115         * conform/data/unistd.h-data (gethostname): Do not expect for
7116         [XPG3].
7118         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
7119         [!POSIX] (S_IFBLK): Likewise.
7120         [!POSIX] (S_IFCHR): Likewise.
7121         [!POSIX] (S_IFIFO): Likewise.
7122         [!POSIX] (S_IFREG): Likewise.
7123         [!POSIX] (S_IFDIR): Likewise.
7124         [!POSIX] (S_IFLNK): Likewise.
7125         [!POSIX] (S_IFSOCK): Likewise.
7126         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
7127         variable.
7128         (test-xfail-XPG4/fcntl.h/conform): Likewise.
7130 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
7132         * sysdeps/aarch64/memset.S (__memset):
7133         Rewrite of optimized memset.
7135 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7137         [BZ #19703]
7138         Partially async-signal-safe fork for single-threaded processes.
7139         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
7140         variable.  Do not acquire and reset/release malloc and libio locks
7141         in single-threaded processes.
7142         * malloc/tst-mallocfork2.c: New file.
7143         * malloc/Makefile (tests): Add it.
7145 2016-05-12  Florian Weimer  <fweimer@redhat.com>
7147         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
7148         argument.  Use scratch buffer instead of extend_alloca.
7149         (gethosts): Use scratch buffer instead of extend_alloca.
7150         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
7151         extend_alloca.
7152         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
7154 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
7156         [BZ #20055]
7157         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
7158         instead of [__USE_UNIX98].
7159         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
7160         [__USE_UNIX98].
7161         * conform/data/termios.h-data (tcgetsid): Do not expect for
7162         [XPG3].
7163         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
7164         variable.
7165         (test-xfail-XPG4/termios.h/conform): Likewise.
7167 2016-05-11  Florian Weimer  <fweimer@redhat.com>
7169         Do not use mcheck in localedef.
7170         * locale/programs/localedef.c (turn_on_mcheck)
7171         (__malloc_initialize_hook): Remove.
7173 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
7175         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
7176         * sysdeps/s390/s390-64/Makefile: Likewise.
7178 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
7180         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
7181         Remove ifunc-defines.sym.
7182         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
7183         Likewise.
7184         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
7185         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
7186         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
7187         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
7188         rtld-global-offsets.sym.
7189         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
7190         * sysdeps/x86/cpu-features-offsets.sym: This.
7191         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
7192         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
7194 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
7196         [BZ #20073]
7197         * io/sys/stat.h (fchmod): Declare for
7198         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
7199         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
7200         variable.
7202         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
7203         [XPG3] (S_IFSOCK): Likewise.
7204         [XPG3] (S_ISVTX): Likewise.
7205         [XPG3] (S_ISLNK): Likewise.
7206         [XPG3] (S_ISSOCK): Likewise.
7207         [XPG3] (fchmod): Likewise.
7208         [XPG3] (lstat): Likewise.
7209         [XPG3] (mknod): Likewise.
7211         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
7212         [XPG3].  Expect type long and XFAIL for [XPG4].
7213         (st_blocks): Likewise.
7215         [BZ #20044]
7216         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
7217         (pthread_atfork): New prototype.
7218         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
7219         variable.
7221         [BZ #20043]
7222         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
7223         prototype.
7225 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7227         [BZ #20017]
7228         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
7229         gmtime.
7231 2016-05-10  Florian Weimer  <fweimer@redhat.com>
7233         [BZ #19994]
7234         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
7235         flag in _res.options.
7237 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
7239         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
7240         [XPG3 || XPG4].
7241         (blksize_t): Likewise.
7242         (clockid_t): Likewise.
7243         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
7244         variable.
7245         (test-xfail-XPG4/sys/types.h/conform): Likewise.
7247 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
7249         * sysdeps/unix/sysv/linux/s390/init-first.c:
7250         Add VDSO_SYMBOL(getcpu).
7251         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
7252         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
7253         Add VDSO_SYMBOL(getcpu).
7254         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
7255         New define HAVE_GETCPU_VSYSCALL.
7256         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7258 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
7260         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
7261         instead of <sysdeps/x86_64/cacheinfo.c>.
7262         * sysdeps/x86_64/cacheinfo.c: Moved to ...
7263         * sysdeps/x86/cacheinfo.c: Here.
7265 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7267         * malloc/malloc-internal.h: Adjust header file guard.
7269 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7271         [BZ #19787]
7272         * inet/getnameinfo.c (check_sprintf_result): New function.
7273         (CHECKED_SNPRINTF): New macro.
7274         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
7275         to the host buffer.
7276         (gni_host_local): Use checked_copy to copy the host name.
7277         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
7278         (gni_serv_local): Use checked_copy to copy the service name.
7279         (getnameinfo): Remove unnecessary truncation of result buffers.
7281 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7283         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
7284         in case of inet_ntop failure.
7286 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7288         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
7289         avoid long lines.
7290         (gni_host_inet_numeric): Likewise.  Reduce scope of local
7291         variables.
7292         (gni_host_inet, gni_host_local): Add comment.
7293         (gni_host): Add comment.  Use temporary to avoid long lines.
7295 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7297         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
7298         registers specifiers where general purpose registers specifiers should
7299         have been used.
7301 2016-05-04  Florian Weimer  <fweimer@redhat.com>
7303         [BZ #19779]
7304         CVE-2016-1234
7305         Avoid copying names of directory entries.
7306         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
7307         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
7308         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
7309         (struct readdir_result): New type.
7310         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
7311         (GL_READDIR): New macros.
7312         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
7313         (convert_dirent, convert_dirent64): New functions.
7314         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
7315         convert_dirent64.  Adjust references to the readdir result.
7316         * sysdeps/unix/sysv/linux/i386/glob64.c:
7317         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
7318         * posix/bug-glob2.c (LONG_NAME): Define.
7319         (filesystem): Add LONG_NAME.
7320         (my_DIR): Increase the size of room_for_dirent.
7322 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
7324         [BZ #20041]
7325         * misc/sys/select.h (__need_timespec): Only define if
7326         [__USE_XOPEN2K].
7327         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
7328         variable.
7329         (test-xfail-XPG4/utmpx.h/conform): Likewise.
7330         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
7331         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
7333 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7334             Segher Boessenkool  <segher@gcc.gnu.org>
7336         [BZ #20004]
7337         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
7338         (__novec_swapcontext): Add missing load.
7340 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
7342         [BZ #20023]
7343         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
7344         <time.h>.
7345         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
7346         variable.
7347         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
7349 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
7352         flags CLONE_VM compare.
7354 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7356         [BZ #20031]
7357         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
7358         completely empty.
7360 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7362         [BZ #19573]
7363         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
7364         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
7365         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
7366         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
7367         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
7368         (hesiod_free_list): Mark as hidden.
7369         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
7370         res_set, res_get.
7371         * hesiod/hesiod.c: Remove unnecessary forward declarations.
7372         (init, __hesiod_res_get, __hesiod_res_set): Remove.
7373         (hesiod_init): Remove obsolete res_ninit call.
7374         (hesiod_end): Do not free resolver state.  Do not invoke callback.
7375         (hesiod_bind): Do not call init.
7376         (get_txt_records): Use res_mkquery, res_send instead of
7377         res_nmkquery, res_nsend.
7378         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
7379         instead of _nss_hesiod_init.
7380         (_nss_hesiod_initgroups_dyn): Likewise.
7381         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
7382         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
7383         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
7385 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7387         * hesiod/hesiod_p.h (DEF_RHS): Remove.
7388         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
7390 2016-05-02  Florian Weimer  <fweimer@redhat.com>
7392         * hesiod/hesiod.h: Remove RCS keyword.
7393         * hesiod/hesiod_p.h: Likewise.
7395         * hesiod/hesiod.c: Likewise.
7397 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
7399         [BZ #12450]
7400         * locale/iso-639.def: Add Samogitian/sgs.
7402 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
7404         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
7406         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
7408 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
7409             Carlos O'Donell  <carlos@redhat.com>
7411         [BZ #19072]
7412         * grp/Makefile (headers): Add grp-merge.h
7413         (routines): Add grp-merge.
7414         * grp/getgrgid_r.c: Include grp-merge.h.
7415         (DEEPCOPY_FN): Define.
7416         (MERGE_FN): Define.
7417         * grp/getgrname_r.c: Include grp-merge.h.
7418         (DEEPCOPY_FN): Define.
7419         (MERGE_FN): Define.
7420         * grp/grp-merge.c: New file.
7421         * grp/grp-merge.h: New file.
7422         * include/grp-merge.h: New file.
7423         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
7424         __copy_grp@GLIBC_PRIVATE.
7425         * manual/nss.texi (Actions in the NSS configuration): Describe
7426         return, continue, and merge.
7427         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
7428         (DEEPCOPY_FN): Define.
7429         (MERGE_FN): Define.
7430         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
7431         (DEEPCOPY_FN): Define.
7432         (MERGE_FN): Define.
7433         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
7434         [!MERGE_FN]: Define __merge_einval.
7435         (CHECK_MERGE): Define.
7436         (REENTRANT_NAME): Process merge if do_merge is true.
7437         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
7438         (__nss_getent_r): Likewise.
7439         * nss/nsswitch.c (nss_parse_service_list): Likewise.
7440         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
7442 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7444         [BZ #20012]
7445         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
7446         length to calculate the buffer to read.
7447         (fmemopen_write): Set the buffer position based on bytes written.
7448         (fmemopen_seek): Return EINVAL for invalid whence modes.
7450         [BZ #19957]
7451         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
7452         tst-getpid2.
7453         (test): Add tst-clone2.
7454         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
7455         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
7456         pid/tid fields for CLONE_VM.
7457         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7458         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7459         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7460         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
7461         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7462         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7463         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7464         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7465         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7466         Likewise.
7467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7468         Likewise.
7469         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7470         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7471         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7472         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7473         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7474         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7475         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7476         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
7478 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7480         [BZ #19642]
7481         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
7482         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
7483         (gni_serv_local, gni_serv): New functions extracted from
7484         getnameinfo.
7485         (getnameinfo): Call gni_host and gni_serv to perform the
7486         processing.  Always free scratch buffer.
7488 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7490         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
7491         remaining bytes in the dest string, with zeros.
7493 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7495         [BZ #20010]
7496         CVE-2016-3706
7497         * sysdeps/posix/getaddrinfo.c
7498         (convert_hostent_to_gaih_addrtuple): New function.
7499         (gethosts): Call convert_hostent_to_gaih_addrtuple.
7500         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
7501         AF_INET data.
7503 2016-04-29  Florian Weimer  <fweimer@redhat.com>
7505         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
7506         callback function gl_readdir.
7507         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
7508         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
7509         (glob_in_dir): Remove len.  Use strdup instead of malloc and
7510         memcpy to copy the name.
7511         * manual/pattern.texi (Calling Glob): Document requirements for
7512         implementations of the gl_readdir callback function.
7513         * manual/examples/mkdirent.c: New example.
7514         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
7515         per the manual guidance.
7516         * posix/tst-gnuglob.c (my_readdir): Likewise.
7518 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
7520         [BZ #20014]
7521         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
7522         not [__USE_POSIX].
7523         (getchar_unlocked): Likewise.
7524         (putc_unlocked): Likewise.
7525         (putchar_unlocked): Likewise.
7526         (flockfile): Likewise.
7527         (ftrylockfile): Likewise.
7528         (funlockfile): Likewise.
7529         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
7530         variable.
7531         (test-xfail-XPG4/stdio.h/conform): Likewise.
7533         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
7534         Expect constant.
7535         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
7536         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
7537         variable.
7538         (test-xfail-XPG4/langinfo.h/conform): Likewise.
7539         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
7541         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
7542         [__USE_LARGEFILE64] (off64_t): Likewise.
7543         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
7544         variable.
7546 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7548         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
7550 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7552         * resolv/inet_addr.c: Reindent preprocessor conditionals.
7553         * resolv/res_init.c: Likewise.
7554         * resolv/res_mkquery.c: Likewise.
7556 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7558         * resolv/res_init.c (isascii): Do not define.  Use definition in
7559         <ctype.h>.
7560         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
7561         (LOG_AUTH): Remove.
7562         (SPRINTF): Remove, adjust caller.
7563         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
7565 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7567         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
7568         SUNSECURITY conditional.
7569         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
7571 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7573         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
7574         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
7575         Remove BSD-related preprocessor conditionals.
7576         * conf/portability.h: Remove.
7578 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7580         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
7581         * resolv/res_data.c: Likewise.
7583 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7585         * resolv/res_comp.c: Remove code conditional on __ultrix__.
7586         * resolv/res_data.c: Remove code conditional on ultrix.
7588 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7590         * resolv/res_init.c (RFC1535): Do not define.  Remove
7591         RFC1535 preprocessor conditionals.
7592         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
7593         because there configuration options which make the resolver
7594         behavior different.
7596 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7598         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
7599         RESOLVSORT preprocessor conditionals.
7600         * resolv/nss_dns/dns-host.c: Likewise.
7601         * resolv/res_init.c: Likewise.
7603 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7605         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
7606         is never defined.
7608 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7610         * inet/inet_lnaof.c: Remove SCSS keyword.
7611         * inet/inet_mkadr.c: Likewise.
7612         * inet/inet_net.c: Likewise.
7613         * inet/inet_netof.c: Likewise.
7614         * inet/rcmd.c: Likewise.
7615         * inet/rexec.c: Likewise.
7616         * inet/ruserpass.c: Likewise.
7618 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7620         * resolv/inet_addr.c: Remove _LIBC conditionals.
7621         * resolv/res_data.c: Likewise.
7622         * resolv/res_init.c: Likewise.
7623         * resolv/res_mkquery.c: Likewise.
7624         * resolv/res_libc.c: Update comment.
7625         * resolv/README: Update.
7627 2016-04-28  Florian Weimer  <fweimer@redhat.com>
7629         * resolv/gethnamaddr.c: Remove SCSS keyword.
7630         * resolv/herror.c: Likewise.
7631         * resolv/inet_addr.c: Likewise.
7632         * resolv/inet_net_ntop.c: Likewise.
7633         * resolv/inet_net_pton.c: Likewise.
7634         * resolv/inet_neta.c: Likewise.
7635         * resolv/inet_ntop.c: Likewise.
7636         * resolv/inet_pton.c: Likewise.
7637         * resolv/ns_date.c: Remove RCS keyword.
7638         * resolv/ns_name.c: Likewise.
7639         * resolv/ns_netint.c: Likewise.
7640         * resolv/ns_parse.c: Likewise.
7641         * resolv/ns_print.c: Likewise.
7642         * resolv/ns_samedomain.c: Likewise.
7643         * resolv/ns_ttl.c: Likewise.
7644         * resolv/nsap_addr.c: Likewise.
7645         * resolv/res_comp.c: Remove SCSS and RCS keyword.
7646         * resolv/res_data.c: Remove RCS keyword.
7647         * resolv/res_debug.c: Remove SCSS and RCS keyword.
7648         * resolv/res_init.c: Likewise.
7649         * resolv/res_mkquery.c: Likewise.
7650         * resolv/res_query.c: Likewise.
7651         * resolv/res_send.c: Likewise.
7653 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7655         * conform/data/stdio.h-data (fdopen): Expect also for
7656         [XPG3 || XPG4].
7658         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
7659         (fseeko): Likewise.
7660         (ftello): Likewise.
7661         (ftrylockfile): Likewise.
7662         (funlockfile): Likewise.
7663         (getc_unlocked): Likewise.
7664         (getchar_unlocked): Likewise.
7665         (putc_unlocked): Likewise.
7666         (putchar_unlocked): Likewise.
7668 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7670         [BZ #19868]
7671         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
7672         DNS packet syntax checks (which were not needed before).  Skip
7673         over non-PTR records.
7675 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7677         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
7678         definition.  Include <stddef.h> instead.
7680 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7682         [BZ #19831]
7683         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
7684         function.
7685         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
7686         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
7688 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7690         [BZ #19862]
7691         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
7692         (getanswer_r): Do not call syslog.
7693         (gaih_getanswer_slice): Likewise.
7694         * resolv/gethnamaddr.c (AskedForGot): Remove.
7695         (getanswer): Do not call syslog.
7696         (gethostbyaddr): Likewise.
7698 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
7700         * conform/data/signal.h-data (union sigval): Expect also if
7701         [XOPEN2K].
7702         (struct sigevent): Likewise.
7703         (SIGEV_NONE): Likewise.
7704         (SIGEV_SIGNAL): Likewise.
7705         (SIGEV_THREAD): Likewise.
7706         (SIGRTMIN): Likewise.
7707         (SIGRTMAX): Likewise.
7708         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
7709         variable.
7710         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
7712 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7714         [BZ #19830]
7715         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
7716         (gaih_getanswer_slice): Likewise.
7717         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
7718         Also check for availability of RR metadata.
7720 2016-04-27  Florian Weimer  <fweimer@redhat.com>
7722         [BZ #19825]
7723         * resolv/res_send.c (send_vc): Remove early *resplen2
7724         initialization.  Set *resplen2 on socket error.  Call
7725         close_and_return_error for other errors.
7727 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
7729         * sysdeps/unix/sysv/linux/netiucv/iucv.h
7730         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
7731         (SCM_IUCV_TRGCLS): New define.
7733 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7735         [BZ #20005]
7736         * libio/fmemopen.c (fmemopen_write): Update internal position after
7737         write.
7738         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
7739         * stdio-common/tst-fmemopen4.c: New file..
7741 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
7743         [BZ #19996]
7744         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
7745         not [__USE_XOPEN2K].
7746         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
7747         variable.
7749         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
7750         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
7751         variable.
7753         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
7754         [__USE_XOPEN2K8].
7755         [__USE_LARGEFILE64] (off64_t): Likewise.
7756         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
7757         variable.
7759 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
7761         [BZ #19989]
7762         * libio/stdio.h (cuserid): Do not declare if
7763         [__USE_XOPEN2K && !__USE_GNU].
7764         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
7765         variable.
7767 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7769         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7770         (sysdep_routines): Add P8 and PPC64 strcspn targets.
7771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7772         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
7773         ifunc'ed strcspn.
7774         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
7775         [EALIGN]: Removed.
7776         [END]: Likewise
7777         [STRSPN]: Define instead of the above to control symbol name.
7778         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
7779         New file.
7780         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
7781         Likewise.
7782         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
7783         Likewise.
7784         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
7785         Likewise.
7786         * sysdeps/powerpc/powerpc64/power8/strspn.S:
7787         [INITIAL_MASK]: New macro.
7788         [STRCSPN]: Likewise.
7789         [UPDATE_MASK]: Likewise.
7790         [USE_AS_STRCSPN]: Lisewise.
7792 2016-04-25  Florian Weimer  <fweimer@redhat.com>
7794         [BZ #19931]
7795         * stdio-common/tst-vfprintf-width-prec.c: New file.
7796         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
7797         (tests-special): Add tst-vfprintf-width-prec-mem.out.
7798         (generated): Add mtrace-related files.
7799         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
7800         (tst-%-mem.out): New pattern rule, replaces
7801         tst-printf-bz18872-mem.out.
7802         * stdio-common/vfprintf.c (vfprintf): When handling a precision
7803         specifier, deallocate any previously allocated work buffer.
7805 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
7807         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
7808         Add nop before __startcontext, add explaining comments.
7810 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
7812         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
7813         any more. Notably since IPV6_PKTINFO has been reintroduced with a
7814         completely different API.
7816         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
7817         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
7818         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
7819         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
7820         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
7821         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
7822         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
7823         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
7824         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
7825         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
7827 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
7829         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
7831 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
7833         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
7834         when it is the default of 0.
7836 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7838         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
7839         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7840         (sysdep_routines): Add new strcasestr targets.
7841         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7842         (__libc_ifunc_impl_list): Likewise.
7843         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
7844         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
7845         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
7846         * sysdeps/powerpc/powerpc64/power8/Makefile:
7847         New file to add strcasestr-ppc64 to sysdep_routines.
7848         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
7849         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
7851 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
7853         * benchtests/Makefile (wcsmbs-benchset): Include only for
7854         native builds and runs.
7855         (LOCALES): Likewise.
7856         (bench-build): Build timing-type here instead of the bench
7857         target.  Generate locale only for native builds.
7858         * benchtests/README: Add note for cross-building.
7860         * benchtests/Makefile (bench-clean): Clean up extra-objs.
7862         * benchtests/README: Update README to include instructions on
7863         using bench-build.
7865         * Makefile.in (bench-build): New target.
7866         * Rules (PHONY): Add bench-build target.
7867         * benchtests/Makefile (bench): Depend on bench-build.
7868         (bench-build): New target.
7870 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7872         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
7873         profil_reply_port.
7874         (profile_waiter): Do not initialize profil_reply_port.
7875         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
7876         frequency instead of tick length in us.
7878 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
7880         [BZ #18712]
7881         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
7882         (__old_mempcpy_small): Likewise.
7883         (__old_strcpy_small): Likewise.
7884         (__old_stpcpy_small): Likewise.
7885         (__old_strpbrk_c2): Fix compat symbol name.
7886         (__old_strpbrk_c3): Likewise.
7887         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
7888         (__mempcpy_small): Remove.
7889         (__strcpy_small): Remove.
7890         (__stpcpy_small): Remove.
7892 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
7894         [BZ #19400]
7895         * locale/iso-639.def: Add the Talossan/tzl language.
7897 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7899         [BZ #16983]
7900         * locale/programs/ld-address.c (address_finish): Update postal_fmt
7901         comment.  Add "ln" to strchr check on postal_fmt.
7903 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
7905         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
7906         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
7907         tel_dom_fmt.
7909 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
7911         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
7912         (sysdep_routines): Added __strlen_power8.
7913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
7914         __strlen_power8 entry.
7915         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
7916         Implementation for POWER8.
7917         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
7918         for __strlen_power8.
7919         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
7920         Implementation for POWER8.
7922 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
7924         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
7926 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
7928         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
7929         Goldmont and Airmont processors.
7931 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
7933         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
7934         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
7935         (__STRING2_SMALL_GET32): Remove.
7936         (memset): Remove.
7937         (__memset_1): Remove.
7938         (__memset_gc): Remove.
7939         (__mempcpy): Remove.
7940         (mempcpy): Remove.
7941         (__mempcpy_args): Remove.
7942         (strchr): Remove.
7943         (strcpy): Remove.
7944         (strcpy_args): Remove.
7945         (__stpcpy_args): Remove.
7946         (__strcmp_cc): Remove.
7947         (__strcmp_gc): Remove.
7948         (strstr): Remove.
7950 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
7952         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
7953         * nis/nis_call.c (nis_server_cache_add): Likewise.
7955 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7957         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
7959 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7961         * malloc/arena.c (__malloc_fork_lock_parent)
7962         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
7963         internal_function attribute.
7965 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
7967         * stdio-common/printf_fp.c (__printf_fp_l):
7968         Rename ___printf_fp_l to __printf_fp_l and
7969         remove strong alias. Use libc_hidden_def instead
7970         of ldbl_hidden_def macro.
7972 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7974         Remove malloc hooks from fork handler.  They are no longer needed
7975         because malloc runs right before fork, and no malloc calls from
7976         other fork handlers are not possible anymore.
7977         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
7978         declarations.
7979         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
7980         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
7981         (atfork_recursive_cntr): Remove.
7982         (__malloc_fork_lock_parent): Do not override malloc hooks and
7983         thread_arena.
7984         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
7985         thread_arena.
7986         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
7987         thread_arena instead of save_arena.
7989 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7991         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
7992         (thread_atfork, thread_atfork_static): Remove.
7993         * sysdeps/mach/hurd/malloc-machine.h:
7994         (thread_atfork, thread_atfork_static): Remove.
7996 2016-04-14  Florian Weimer  <fweimer@redhat.com>
7998         [BZ #19431]
7999         Run the malloc fork handler as late as possible to avoid deadlocks.
8000         * malloc/malloc-internal.h: New file.
8001         * malloc/malloc.c: Include it.
8002         * malloc/arena.c (ATFORK_MEM): Remove.
8003         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
8004         Update comment.
8005         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
8006         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
8007         Remove outdated comment.
8008         (ptmalloc_init): Do not call thread_atfork.  Remove
8009         thread_atfork_static.
8010         * malloc/tst-malloc-fork-deadlock.c: New file.
8011         * Makefile (tests): Add tst-malloc-fork-deadlock.
8012         (tst-malloc-fork-deadlock): Link against libpthread.
8013         * manual/memory.texi (Aligned Memory Blocks): Update safety
8014         annotation comments.
8015         * sysdeps/nptl/fork.c (__libc_fork): Call
8016         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
8017         __malloc_fork_unlock_child.
8018         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
8020 2016-04-14  Florian Weimer  <fweimer@redhat.com>
8022         [BZ #19613]
8023         Remove union wait.
8024         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
8025         (w_stopsig, w_stopval): Remove.
8026         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
8027         stat_loc argument.
8028         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
8029         (__WAIT_STATUS_DEFN): Remove.
8030         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8031         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
8032         (wait, wait3, wait4): Use int * for the stat_loc argument.
8033         * posix/wait.c (__wait): Likewise.
8034         * posix/wait3.c (__wait3): Likewise.
8035         * posix/wait4.c (__wait4): Likewise.
8036         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
8037         (__WAIT_STATUS_DEFN): Remove.
8038         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
8039         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
8040         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
8041         argument.
8042         * sysdeps/posix/wait.c (__libc_wait): Likewise.
8043         * sysdeps/posix/wait3.c (__wait3): Likewise.
8044         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
8045         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
8046         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
8047         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
8048         stat_loc argument.
8049         * manual/process.texi (BSD Wait Functions): Remove union wait.
8051 2016-04-13  Andreas Schwab  <schwab@suse.de>
8053         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
8054         (test-extras): Add tst-tlsalign-vars.
8055         * math/Makefile: Wrap long lines.
8056         (libm-vec-test-wrappers): Define.
8057         (test-extras): Add $(libm-vec-test-wrappers).
8058         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
8059         * nss/Makefile (extra-test-objs): Add nss_test1.os.
8060         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
8061         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
8062         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
8063         (extra-test-objs): Add corresponding objects.
8065 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
8067         [BZ #19928]
8068         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
8069         New.
8070         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
8071         times of shared cache size.
8072         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
8073         (VMOVNT): New.
8074         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
8075         (VMOVNT): Likewise.
8076         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
8077         (VMOVNT): Likewise.
8078         (VMOVU): Changed to movups for smaller code sizes.
8079         (VMOVA): Changed to movaps for smaller code sizes.
8080         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
8081         comments.
8082         (PREFETCH): New.
8083         (PREFETCH_SIZE): Likewise.
8084         (PREFETCHED_LOAD_SIZE): Likewise.
8085         (PREFETCH_ONE_SET): Likewise.
8086         Rewrite to use forward and backward loops, which move 4 vector
8087         registers at a time, to support overlapping addresses and use
8088         non temporal store if size is above the threshold and there is
8089         no overlap between destination and source.
8091 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
8093         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
8094         Include dl-vdso.
8095         * sysdeps/unix/sysv/linux/mips/Versions: Add
8096         __vdso_clock_gettime.
8097         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
8098         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
8099         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
8100         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
8101         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
8102         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
8103         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
8104         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
8105         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
8107 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8109         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
8110         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
8111         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8112         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8113         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8114         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8115         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8116         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8117         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
8118         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
8119         syscalls generation.
8120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8121         [__NR_pwrite64] (__NR_write): Remove define.
8122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8123         [__NR_pwrite64] (__NR_write): Remove define.
8124         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
8125         Remove define.
8126         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
8127         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
8128         Remove define.
8129         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
8130         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
8131         Linux implementation as base.
8132         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8134         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
8135         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
8136         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8137         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
8139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8140         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
8141         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
8142         syscall generation.
8143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8144         [__NR_pread64] (__NR_pread): Remove define.
8145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
8146         [__NR_pread64] (__NR_pread): Likewise.
8147         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
8148         define.
8149         (__libc_pread): Use SYSCALL_LL macro on offset argument.
8150         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
8151         Remove define.
8152         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
8153         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
8154         Linux implementation as base.
8155         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8156         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8157         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8159         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
8160         definition.
8161         (__ALIGNMENT_COUNT): Likewise.
8162         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
8163         (__ALIGNMENT_COUNT): Likewise.
8164         (SYSCALL_LL): New define.
8165         (SYSCALL_LL64): Likewise.
8166         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
8167         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
8168         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
8169         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
8171         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8172         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
8173         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8174         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8175         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8176         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
8178 2016-04-11  Florian Weimer  <fweimer@redhat.com>
8180         [BZ #19865]
8181         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
8182         original buffer before retry.
8184 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8186         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
8187         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
8188         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
8189         GLRO(dl_auxv) list.
8190         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
8191         including <ldsodefs.h>.
8192         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
8194 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
8196         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
8197         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
8198         $(CPPFLAGS).
8200 2016-04-09  Khem Raj  <raj.khem@gmail.com>
8202         [BZ #17950]
8203         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
8204         Add -mfpmath=387.
8206 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
8208         * sysdeps/i386/configure.ac: Change == to = when calling test.
8209         * sysdeps/x86_64/configure.ac: Likewise.
8210         * sysdeps/i386/configure: Regenerated.
8211         * sysdeps/x86_64/configure: Likewise.
8213 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
8215         [BZ #16137]
8216         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
8217         * benchtests/bench-strcoll.c (input_files): Likewise.
8218         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
8219         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
8220         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
8222 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
8224         [BZ #19929]
8225         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
8226         [__USE_XOPEN2K8 && !__USE_GNU].
8227         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
8228         variable.
8230         [BZ #19925]
8231         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
8232         define if [!__USE_MISC && __USE_XOPEN2K].
8233         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
8234         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
8235         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
8236         Likewise.
8237         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
8238         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
8239         variable.
8240         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
8242 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8244         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
8245         (sysdep_routines): Add new strspn targets.
8246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8247         (__libc_ifunc_impl_list): Add strspn.
8248         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
8249         New file.
8250         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
8251         Likewise.
8252         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
8253         Likewise.
8254         * sysdeps/powerpc/powerpc64/power8/strspn.S:
8255         Likewise.
8257 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8259         * misc/hsearch_r.c: Include <limits.h>.
8261 2016-04-07  Florian Weimer  <fweimer@redhat.com>
8263         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
8265 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8267         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
8268         (MEMCPY_SYMBOL): New.
8269         (MEMPCPY_SYMBOL): Likewise.
8270         (MEMMOVE_CHK_SYMBOL): Likewise.
8271         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
8272         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
8273         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
8274         Provide alias for memcpy in libc.a and ld.so.
8276 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8278         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
8279         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
8280         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
8281         Disabled fro now.
8282         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
8283         symbols.  Properly check USE_MULTIARCH on __memset symbols.
8285 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
8287         * benchtests/Makefile (string-benchset): Add memcpy-large,
8288         memmove-large and memset-large.
8289         * benchtests/bench-memcpy-large.c: New file.
8290         * benchtests/bench-memmove-large.c: Likewise.
8291         * benchtests/bench-memmove-large.c: Likewise.
8292         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
8294 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8296         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
8297         32-bit displacement to avoid long nop between instructions.
8299 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
8301         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
8302         a comment on VMOVU and VMOVA.
8304 2016-04-04  Florian Weimer  <fweimer@redhat.com>
8306         [BZ #19633]
8307         Use specified locale for number formatting in strfmon_l.
8308         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
8309         (__nl_lookup_word): New inline functions.
8310         * include/printf.h (__print_fp_l): Declare.
8311         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
8312         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
8313         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
8314         (___printf_fp): New function.
8315         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
8316         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
8317         * stdlib/tst-strfmon_l.c (do_test): New test.
8318         * stdlib/Makefile (tests): Add kt.
8319         (LOCALES): Build additional locales.
8320         (tst-strfmon_l.out): Require locales.
8322 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8324         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
8325         if not in libc.
8326         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8327         Likewise.
8328         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
8329         Likewise.
8330         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8331         Likewise.
8333 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
8335         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8336         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
8337         with unaligned_erms.
8338         (__memmove_erms): Skip if source == destination.
8339         (__memmove_unaligned_erms): Don't check source == destination
8340         first.
8342 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8344         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
8345         bit_arch_Fast_Copy_Backward for Intel Core proessors.
8347 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8349         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
8350         * string/strspn.c (strspn): Likewise.
8352 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8354         * benchtests/bench-memset.c (do_test): Support 64-byte
8355         alignment.
8356         (test_main): Test 64-byte alignment.
8358 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8360         * benchtests/bench-memmove.c (test_main): Test 64-byte
8361         alignment.
8363 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
8365         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
8367 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8369         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
8370         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
8371         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
8373         * string/strpbrk.c (strpbrk): Rewrite function.
8374         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
8375         (__strpbrk_c2): Likewise.
8376         (__strpbrk_c3): Likewise.
8377         * string/string-inlines.c
8378         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
8379         Likewise.
8380         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
8381         Likewise.
8383         * string/strspn.c (strcspn): Rewrite function.
8384         * string/bits/string2.h (strspn): Use __builtin_strcspn.
8385         (__strspn_c1): Remove inline function.
8386         (__strspn_c2): Likewise.
8387         (__strspn_c3): Likewise.
8388         * string/string-inlines.c
8389         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
8390         compatibility symbol.
8391         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
8392         Likewise.
8393         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
8394         Likewise.
8395         * string/string-inlines.c: Include generic version.
8397 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
8398             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8400         * string/Version (libc): Add GLIBC_2.24.
8401         * string/strcspn.c (strcspn): Rewrite function.
8402         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
8403         (__strcspn_c1): Remove inline function.
8404         (__strcspn_c2): Likewise.
8405         (__strcspn_c3): Likewise.
8406         * string/string-inline.c
8407         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
8408         compatibility symbol.
8409         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
8410         Likewise.
8411         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
8412         Likewise.
8413         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
8415 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8417         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
8418         Use ahi instead of aghi to adjust stack pointer.
8420 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
8422         [BZ #19853]
8423         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
8424         TEST to take significant digits as second parameter.
8425         [TEST]: Redefine in terms of TEST_N taking 30
8426         significant digits.
8427         (do_test): Add test case to demonstrate precision
8428         failure in the ldbl-128ibm printf.
8429         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
8430         (__mpn_extract_long_double): Carry 7 extra intermediate
8431         bits of precision to aide computing difference when
8432         signs differ.
8434 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8436         [BZ #19881]
8437         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8438         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
8439         memset-avx512-unaligned-erms.
8440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8441         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
8442         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
8443         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
8444         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
8445         __memset_sse2_unaligned_erms, __memset_erms,
8446         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
8447         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
8448         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
8449         file.
8450         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
8451         Likewise.
8452         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
8453         Likewise.
8454         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
8455         Likewise.
8457 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
8459         [BZ #19776]
8460         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8461         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
8462         memmove-avx512-unaligned-erms.
8463         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
8464         (__libc_ifunc_impl_list): Test
8465         __memmove_chk_avx512_unaligned_2,
8466         __memmove_chk_avx512_unaligned_erms,
8467         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
8468         __memmove_chk_sse2_unaligned_2,
8469         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
8470         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
8471         __memmove_avx512_unaligned_erms, __memmove_erms,
8472         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
8473         __memcpy_chk_avx512_unaligned_2,
8474         __memcpy_chk_avx512_unaligned_erms,
8475         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
8476         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
8477         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
8478         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
8479         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
8480         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
8481         __mempcpy_chk_avx512_unaligned_erms,
8482         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
8483         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
8484         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
8485         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
8486         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
8487         __mempcpy_erms.
8488         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
8489         file.
8490         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
8491         Likwise.
8492         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
8493         Likwise.
8494         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
8495         Likwise.
8497 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8499         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
8500         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
8501         (La_s390_64_regs): Likewise.
8502         (La_s390_32_retval): Append vector register lrv_v24.
8503         (La_s390_64_retval): Likeweise.
8504         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
8505         Handle extended structs La_s390_32_regs and La_s390_32_retval.
8506         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
8507         Handle extended structs La_s390_64_regs and La_s390_64_retval.
8509 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
8511         [BZ #19916]
8512         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
8513         to create a non-vector/vector version for _dl_runtime_resolve and
8514         _dl_runtime_profile. Move implementation to ...
8515         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
8516         (_dl_runtime_resolve) Save and restore fpr/vrs.
8517         (_dl_runtime_profile) Save and restore vrs and fix some issues
8518         if _dl_call_pltexit is called.
8519         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
8520         Choose the correct resolver function if running on a machine with vx.
8521         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
8522         to create a non-vector/vector version for _dl_runtime_resolve and
8523         _dl_runtime_profile. Move implementation to ...
8524         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
8525         (_dl_runtime_resolve) Save and restore fpr/vrs.
8526         (_dl_runtime_profile) Save and restore vrs and fix some issues
8527         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
8528         Choose the correct resolver function if running on a machine with vx.
8530 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8532         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
8534 2016-03-31  Florian Weimer  <fweimer@redhat.com>
8536         [BZ #19509]
8537         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
8538         skip_map != NULL.
8539         * elf/tst-dlsym-error.c: New file.
8540         * elf/Makefile (tests): Add tst-dlsym-error.
8541         (tst-dlsym-error): Link against libdl.
8543 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
8545         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8546         (__ASSUME_FUTIMESAT): Remove macro.
8547         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
8549 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8551         [BZ #19879]
8552         CVE-2016-3075
8553         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
8554         copy name.
8556 2016-03-29  Florian Weimer  <fweimer@redhat.com>
8558         [BZ #19837]
8559         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
8560         error if parse_line fails.
8562 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8564         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
8565         (index_cpu_ERMS): Likewise.
8566         (reg_ERMS): Likewise.
8568 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
8570         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
8571         PER_LINUX_FDPIC): Add.
8573 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8575         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8576         memcpy-avx512-no-vzeroupper.
8577         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
8578         to ...
8579         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
8580         (MEMCPY): Don't define.
8581         (MEMCPY_CHK): Likewise.
8582         (MEMPCPY): Likewise.
8583         (MEMPCPY_CHK): Likewise.
8584         (MEMPCPY_CHK): Renamed to ...
8585         (__mempcpy_chk_avx512_no_vzeroupper): This.
8586         (MEMPCPY_CHK): Renamed to ...
8587         (__mempcpy_chk_avx512_no_vzeroupper): This.
8588         (MEMCPY_CHK): Renamed to ...
8589         (__memmove_chk_avx512_no_vzeroupper): This.
8590         (MEMCPY): Renamed to ...
8591         (__memmove_avx512_no_vzeroupper): This.
8592         (__memcpy_avx512_no_vzeroupper): New alias.
8593         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
8595 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8597         [BZ #18858]
8598         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
8599         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
8600         and mempcpy-avx512-no-vzeroupper.
8601         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
8602         New.
8603         (MEMPCPY): Likewise.
8604         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
8605         (MEMPCPY_CHK): New.
8606         (MEMPCPY): Likewise.
8607         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
8608         (MEMPCPY): Likewise.
8609         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
8610         (MEMPCPY): Likewise.
8611         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
8612         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
8613         Likewise.
8614         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
8615         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
8617 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
8618              Amit Pawar  <Amit.Pawar@amd.com>
8620         [BZ #19583]
8621         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
8622         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
8623         processors.  Set Fast_Copy_Backward for AMD Excavator
8624         processors.
8625         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
8626         New.
8627         (index_arch_Fast_Unaligned_Copy): Likewise.
8628         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
8629         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
8631 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8633         [BZ #19791]
8634         * resolv/res_send.c (close_and_return_error): New function.
8635         (send_dg): Initialize *resplen2 after reopen failure.  Call
8636         close_and_return_error for error returns.  On error paths without
8637         __res_iclose, initialze *resplen2 explicitly.  Update comment for
8638         successful return.
8640 2016-03-25  Florian Weimer  <fweimer@redhat.com>
8642         [BZ# 19860]
8643         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
8644         zero if the compiler does not provide the AVX512F bit.
8646 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
8648         [BZ #19848]
8649         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
8650         from 8 to 4.
8651         (__ieee754_powl): Compare integer exponent against 4 not 8.
8652         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
8653         from 8 to 4.
8654         (__ieee754_powl): Compare integer exponent against 4 not 8.
8655         * math/auto-libm-test-in: Add more tests of pow.
8656         * math/auto-libm-test-out: Regenerated.
8657         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
8658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8660 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8662         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
8663         Make code unconditional.
8664         [!__NR_utimensat]: Remove conditional code.
8665         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
8666         Make code unconditional.
8667         [!__NR_utimensat]: Remove conditional code.
8668         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
8669         Make code unconditional.
8670         [!__NR_utimensat]: Remove conditional code.
8672 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
8674         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
8675         Make code unconditional.
8677 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
8679         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
8680         call-clobbered %eax on retry path.
8681         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
8683 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8685         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
8686         Don't set %rcx twice before "rep movsb".
8688 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
8690         [BZ #19583]
8691         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
8692         inline.  Check family before setting family, model and
8693         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
8694         bits here.
8695         (init_cpu_features): Replace HAS_CPU_FEATURE and
8696         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
8697         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
8698         for Intel processors with usable AVX2.  Call get_common_indeces
8699         for other processors with family == NULL.
8700         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
8701         (CPU_FEATURES_ARCH_P): Likewise.
8702         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
8703         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
8705 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8707         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
8708         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
8709         $(shared-thread-library) instead of hardcoding the path to libpthread.
8711 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
8713         * sysdeps/unix/sysv/linux/kernel-features.h
8714         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
8715         * sysdeps/unix/sysv/linux/getdents.c
8716         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
8717         [!have_no_getdents64_defined]: Likewise.
8718         (__GETDENTS): Remove __have_no_getdents64 conditional.
8720 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
8722         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
8723         Remove macro.
8724         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
8725         <kernel-features.h>.
8726         (signalfd) [__NR_signalfd4]: Make code unconditional.
8727         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
8729 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8731         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
8732         style.
8734 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
8736         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
8737         (__pthread_enable_asynccancel): Use JUMPTARGET to call
8738         __pthread_unwind.
8739         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
8740         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
8741         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
8742         (__condvar_cleanup1): Likewise.
8744 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
8746         [BZ #19822]
8747         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
8748         move it to the final $@ location.
8750 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8752         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
8753         access where posix_spawn success and pid argument is null.
8754         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
8755         success case.
8757 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
8759         * sysdeps/mach/hurd/i386/c++-types.data: New file.
8761         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
8763         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
8764         and __fcntl.
8765         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
8766         __fcntl only.
8767         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
8768         adding attribute_hidden to __open and __fcntl.
8770         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
8771         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
8772         depend on libc-modules.h,
8773         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
8775 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
8777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
8778         Remove macro.
8779         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
8780         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
8781         entry.
8783         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
8784         Remove macro.
8785         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
8786         include <kernel-features.h>.
8787         [!__ASSUME_FALLOCATE]: Remove conditional code.
8788         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
8790 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
8792         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
8793         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
8794         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
8795         (_ZGVdN4v_cos_avx2): Likewise.
8796         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
8797         (_ZGVdN4v_cos): Likewise.
8798         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
8799         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
8800         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
8801         (_ZGVdN4v_exp_avx2): Likewise.
8802         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
8803         (_ZGVdN4v_exp): Likewise.
8804         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
8805         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
8806         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
8807         (_ZGVdN4v_log_avx2): Likewise.
8808         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
8809         (_ZGVdN4v_log): Likewise.
8810         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
8811         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
8812         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
8813         (_ZGVdN4vv_pow_avx2): Likewise.
8814         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
8815         (_ZGVdN4vv_pow): Likewise.
8816         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
8817         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
8818         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
8819         (_ZGVdN4v_sin_avx2): Likewise.
8820         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
8821         (_ZGVdN4v_sin): Likewise.
8822         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
8823         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
8824         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
8825         (_ZGVdN4vvv_sincos_avx2): Likewise.
8826         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
8827         (_ZGVdN4vvv_sincos): Likewise.
8828         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
8829         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
8830         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
8831         (_ZGVbN4v_cosf_sse4): Likewise.
8832         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
8833         (_ZGVdN8v_cosf_avx2): Likewise.
8834         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
8835         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
8836         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
8837         (_ZGVbN4v_expf_sse4): Likewise.
8838         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
8839         (_ZGVdN8v_expf_avx2): Likewise.
8840         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
8841         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
8842         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
8843         (_ZGVbN4v_logf_sse4): Likewise.
8844         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
8845         (_ZGVdN8v_logf_avx2): Likewise.
8846         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
8847         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
8848         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
8849         (_ZGVbN4vv_powf_sse4): Likewise.
8850         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
8851         (_ZGVdN8vv_powf_avx2): Likewise.
8852         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
8853         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
8854         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
8855         (_ZGVbN4vvv_sincosf_sse4): Likewise.
8856         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
8857         (_ZGVdN8vvv_sincosf_avx2): Likewise.
8858         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
8859         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
8860         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
8861         (_ZGVbN4v_sinf_sse4): Likewise.
8862         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
8863         (_ZGVdN8v_sinf_avx2): Likewise.
8864         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8865         Use JUMPTARGET to call callee.
8866         (WRAPPER_IMPL_SSE2_ff): Likewise.
8867         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8868         (WRAPPER_IMPL_AVX): Likewise.
8869         (WRAPPER_IMPL_AVX_ff): Likewise.
8870         (WRAPPER_IMPL_AVX_fFF): Likewise.
8871         (WRAPPER_IMPL_AVX512): Likewise.
8872         (WRAPPER_IMPL_AVX512_ff): Likewise.
8873         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
8874         Likewise.
8875         (WRAPPER_IMPL_SSE2_ff): Likewise.
8876         (WRAPPER_IMPL_SSE2_fFF): Likewise.
8877         (WRAPPER_IMPL_AVX): Likewise.
8878         (WRAPPER_IMPL_AVX_ff): Likewise.
8879         (WRAPPER_IMPL_AVX_fFF): Likewise.
8880         (WRAPPER_IMPL_AVX512): Likewise.
8881         (WRAPPER_IMPL_AVX512_ff): Likewise.
8882         (WRAPPER_IMPL_AVX512_fFF): Likewise.
8884 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8886         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
8887         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
8888         qualifier.
8889         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
8890         internal_function qualifiers.
8892 2016-03-15  Carlos O'Donell <carlos@redhat.com>
8894         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
8895         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
8896         * math/atest-exp.c (exp_mpn): Mark chk unused.
8897         * math/atest-exp2.c (exp_mpn): Likwise.
8898         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
8899         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
8901 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
8903         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
8904         Remove macro.
8905         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
8906         <kernel-features.h>.
8907         [__NR_ppoll]: Make code unconditional.
8908         [!__ASSUME_PPOLL]: Remove conditional code.
8910         * sysdeps/unix/sysv/linux/kernel-features.h
8911         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
8912         (__ASSUME_ACCEPT4): Likewise.
8913         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8914         Define.
8915         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
8916         Likewise.
8917         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8918         Likewise.
8919         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
8920         Likewise.
8921         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
8922         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
8923         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
8924         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8925         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8926         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8927         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8928         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8929         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8930         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8931         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
8932         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8933         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8934         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8935         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8936         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8937         Likewise.
8938         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8939         Likewise.
8940         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8941         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8942         0x040300].
8943         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
8944         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
8945         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8946         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8947         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8948         0x030300].
8949         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
8950         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8951         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8952         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8953         0x040300].
8954         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8955         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8956         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8957         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8958         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8959         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8960         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
8961         0x030300].
8962         * sysdeps/unix/sysv/linux/mips/kernel-features.h
8963         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8964         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8965         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8966         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
8967         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8968         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8969         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8970         * sysdeps/unix/sysv/linux/s390/kernel-features.h
8971         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
8972         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
8973         0x040300].
8974         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8975         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8976         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8977         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
8978         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8979         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8980         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
8981         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8982         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8983         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
8985         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8986         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
8987         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
8988         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
8989         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
8990         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
8991         Likewise.
8992         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
8993         Likewise.
8995 2016-03-15  Andreas Schwab  <schwab@suse.de>
8997         [BZ #19257]
8998         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
8999         statp->_u._ext.nscount as loop count.
9001 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
9003         * math/test-signgam-finite-c99.c: Also #undef
9004         __LIBC_INTERNAL_MATH_INLINES.
9005         * math/test-signgam-main.c: Likewise.
9007 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
9009         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
9010         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
9011         (MADV_FREE): Likewise.
9012         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
9013         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
9014         EPOLLEXCLUSIVE.
9016 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
9018         * timezone/README: Remove mention of checktab.awk. Mention wiki
9019         SharedSourceFiles.
9021 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
9023         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
9024         WUNTRACED.
9026 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9028         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
9029         order to match the type of p when calling atomic_exchange_acq().
9031 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9033         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
9034         cfi_offset calls.
9035         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
9036         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
9037         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
9038         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
9039         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
9041 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
9043         * timezone/checktab.awk: Removed.
9045 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
9047         * manual/math.texi (Errors in Math Functions): Document relaxed
9048         accuracy goals for IBM long double.
9049         * math/libm-test.inc (test_exceptions): Always allow spurious
9050         "underflow" and "inexact" exceptions for IBM long double.
9052 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
9054         [BZ #19762]
9055         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9056         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
9057         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
9058         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
9059         (bit_arch_*): This for feature array.
9060         (bit_*): Renamed to ...
9061         (bit_cpu_*): This for cpu array.
9062         (index_*): Renamed to ...
9063         (index_arch_*): This for feature array.
9064         (index_*): Renamed to ...
9065         (index_cpu_*): This for cpu array.
9066         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
9067         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
9068         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
9069         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
9070         bit_##name with index_cpu_##name and bit_cpu_##name.
9071         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
9072         bit_##name with index_arch_##name and bit_arch_##name.
9074 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
9076         [BZ #19792]
9077         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
9078         Terminate FDE before return label.
9080 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
9082         [BZ #19790]
9083         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
9084         (rintl): Define as macro.
9085         [USE_AS_NEARBYINTL] (__rintl): Likewise.
9086         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
9087         of fesetround.  Ensure results are evaluated before end of scope.
9088         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
9089         USE_AS_NEARBYINTL and include s_rintl.c.
9090         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
9091         Disable exception traps in new environment.
9092         (libc_feholdsetround_ppc_ctx): Likewise.
9094 2016-03-08  Roland McGrath  <roland@hack.frob.com>
9096         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
9097         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
9098         (tst_audit10_aux) [__AVX512F__]: ... here.
9100 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
9102         * include/sys/auxv.h: New file.
9104 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9106         [BZ #19759]
9107         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
9109 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9111         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
9112         operand modifier.
9113         (feclearexcept): Likewise.
9115 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
9117         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
9118         to reflect the entire 32-bit HWCAP.
9119         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
9120         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
9122 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
9124         [BZ #19783]
9125         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
9126         $(test-via-rtld-prefix).
9127         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
9129 2016-03-08  Florian Weimer  <fweimer@redhat.com>
9131         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
9132         union wait.  Report any non-zero exit status as error.
9134 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9136         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
9137         configured with --enable-hardcoded-path-in-tests.
9139 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
9141         [BZ #19677]
9142         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9143         (__ieee754_remainderl): Put zero low parts in canonical form.
9144         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
9145         file.  Based on
9146         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
9147         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
9148         with wrapper round test-fmodrem-ldbl-128ibm.c.
9149         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
9150         file.
9151         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
9152         Likewise.
9153         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
9154         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
9156 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9158         [BZ #19610]
9159         * elf/ldconfig.c (opt_link): Update comment.
9160         (options): Update help string for option -X.
9161         (search_dir): Unlink stale symbolic link only if updating symbolic
9162         links.
9163         * elf/tst-ldconfig-X.sh: New file.
9164         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
9165         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
9167 2016-03-07  Andreas Schwab  <schwab@suse.de>
9169         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
9170         needed arguments.
9172 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
9174         [BZ #15333]
9175         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
9176         to lstat64.
9178 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9180         * libio/filedoalloc.c (isatty): Remove.
9181         (local_isatty): Add comment.  Call __isatty directly.
9182         (_IO_file_doallocate): Update comment.  Assume _LIBC.
9183         * libio/wfiledoalloc.c (isatty): Remove.
9184         (_IO_wfile_doallocate): Update comment.
9186 2016-03-07  Florian Weimer  <fweimer@redhat.com>
9188         [BZ #19269]
9189         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
9190         tst-audit4-aux.o.
9191         (tst-audit10): Depend on tst-audit10-aux.o.
9192         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
9193         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
9194         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
9195         instead of inline AVX code.
9196         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
9197         instead of inline AVX512 code.
9198         * sysdeps/x86_64/tst-audit4-aux.c: New file
9199         * sysdeps/x86_64/tst-audit10-aux.c: New file
9201         [BZ #19648]
9202         * test-skeleton.c (main): Do not set RLIMIT_DATA.
9204 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9206         [BZ #14750]
9207         [BZ #10354]
9208         [BZ #18433]
9209         * include/sched.h (__clone): Add hidden prototype.
9210         (__clone2): Likewise.
9211         * include/unistd.h (__dup): Likewise.
9212         * posix/Makefile (tests): Add tst-spawn2.
9213         * posix/tst-spawn2.c: New file.
9214         * sysdeps/posix/dup.c (__dup): Add hidden definition.
9215         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
9216         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
9217         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
9218         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
9219         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
9220         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
9221         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
9222         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
9223         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
9224         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
9225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
9226         Likewise.
9227         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
9228         Likewise.
9229         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
9230         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
9231         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
9232         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
9233         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
9234         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
9235         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
9236         * sysdeps/unix/sysv/linux/nptl-signals.h
9237         (____nptl_is_internal_signal): New function.
9238         * sysdeps/unix/sysv/linux/spawni.c: New file.
9240         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
9241         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
9242         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
9243         * posix/tst-execvp2.c (do_test): Likewise.
9244         * posix/tst-execvp3.c (do_test): Likewise.
9245         * posix/tst-execvp4.c (do_test): Likewise.
9246         * posix/tst-execvpe1.c: New file.
9247         * posix/tst-execvpe2.c: Likewise.
9248         * posix/tst-execvpe3.c: Likewise.
9249         * posix/tst-execvpe4.c: Likewise.
9250         * posix/tst-execvpe5.c: Likewise.
9251         * posix/tst-execvpe6.c: Likewise.
9253         [BZ #19534]
9254         * posix/execl.c (execl): Remove dynamic memory allocation.
9255         * posix/execle.c (execle): Likewise.
9256         * posix/execlp.c (execlp): Likewise.
9258 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9260         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
9261         Replace .text with .text.avx512.
9262         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9263         Likewise.
9265 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
9267         * sysdeps/generic/libnsl.abilist: New file.
9268         * sysdeps/generic/libutil.abilist: New file.
9270 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
9272         [BZ #19762]
9273         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
9274         HAS_ARCH_FEATURE with Fast_Rep_String.
9275         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
9276         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
9277         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
9278         Likewise.
9279         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
9280         Likewise.
9281         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
9282         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
9283         Likewise.
9284         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
9285         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
9286         Likewise.
9288 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9290         [BZ #19745]
9291         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
9292         with *%rax in call.
9294 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9296         [BZ #19745]
9297         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
9298         with *__libc_start_main@GOTPCREL(%rip) in call.
9300 2016-03-04  Roland McGrath  <roland@hack.frob.com>
9302         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
9303         inside conditional for nonempty $(CXX).
9305         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
9306         nonempty.
9308         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
9309         to test for empty $(CXX) rather than $(CXX) of "no".
9311 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
9313         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
9315 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
9316             H.J. Lu  <hongjiu.lu@intel.com>
9318         [BZ #18880]
9319         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
9320         instead of Slow_BSF, and also check for Fast_Copy_Backward to
9321         enable __memcpy_ssse3_back.
9323 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9325         [BZ #19758]
9326         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
9327         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
9329 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
9331         [BZ #19490]
9332         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
9333         (__fentry__): Likewise.
9335 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
9337         * gmon/Makefile (noprof): Add $(sysdep_noprof).
9338         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
9340 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9342         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
9343         __mcount_internal directly.
9344         (C_LABEL(__fentry__)): Likewise.
9345         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
9346         directly.
9348 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
9350         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
9351         (__start_context): Call __setcontext directly.
9353 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
9355         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
9356         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9357         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
9358         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9359         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9360         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9361         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
9362         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9363         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
9364         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
9365         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9366         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9367         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
9368         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9369         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9370         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9371         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
9372         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
9373         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9374         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
9375         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
9376         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9377         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9378         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
9379         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
9380         Remove conditional code.
9381         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9382         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
9383         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9384         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9385         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
9386         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9387         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
9388         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9389         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
9390         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9391         * sysdeps/unix/sysv/linux/tile/kernel-features.h
9392         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
9394 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
9396         * NEWS (2.23): Fix typo in bug 19048 text.
9398 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
9400         [BZ #14259]
9401         * Makeconfig: Rename msgcatdir to localedir.
9402         Rename inst_msgcatdir to inst_localedir.
9403         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
9404         * config.make.in: Add localedir.
9405         * elf/Makefile ($(objpfx)sotruss): Use localedir.
9406         (ldd-rewrite): Likewise.
9407         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
9408         (install-others): Use inst_localedir.
9409         (CPPFLAGS): Use localedir.
9410         * locale/Makefile (locale-CPPFLAGS): Likewise.
9411         * po/Makefile (mo-installed): Use inst_localedir.
9413         [BZ #19575]
9414         * localedata/charmaps/GB18030: Update comments regarding PAU to
9415         non-PUA mappings.
9417 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
9419         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
9420         test for header.
9421         * sysdeps/unix/sysv/linux/configure: Regenerated.
9422         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
9423         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
9424         Remove conditional code.
9425         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
9427         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
9428         Define to 3.2.0.
9429         (arch_minimum_kernel): Likewise.
9430         * sysdeps/unix/sysv/linux/configure: Regenerated.
9431         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
9432         Define to 2.6.32.
9433         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
9434         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
9435         (arch_minimum_kernel): Define to 2.6.32.
9436         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
9437         * README: Document Linux 3.2 requirement.
9438         * manual/install.texi (Linux): Document Linux 3.2 headers
9439         requirement.
9440         * INSTALL: Regenerated.
9442 2016-02-24  Andreas Schwab  <schwab@suse.de>
9444         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
9445         if !NO_LONG_DOUBLE.
9447 2016-02-22  Roland McGrath  <roland@hack.frob.com>
9449         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
9450         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
9452 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
9454         [BZ #19512]
9455         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
9457 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9459         * posix/tst-dir.c: Include libc-internal.h.
9461 2016-02-20  Florian Weimer  <fweimer@redhat.com>
9463         [BZ #19056]
9464         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
9465         * manual/filesys.texi (Reading/Closing Directory): Mention
9466         deprecaion.
9467         * posix/tst-dir.c (main): Disable deprecation warning in test.
9469 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
9471         [BZ #19679]
9472         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
9473         Renamed to ...
9474         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
9475         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9476         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
9477         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9478         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9479         * sysdeps/x86_64/dl-trampoline.h
9480         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
9481         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
9483 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9485         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
9487 2016-02-19  Mark Wielaard  <mjw@redhat.com>
9489         * elf/elf.h (R_386_GOT32X): New.
9490         (R_386_NUM): Update.
9491         (R_X86_64_GOTPCRELX: New.
9492         (R_X86_64_REX_GOTPCRELX): New.
9493         (R_X86_64_NUM): Update.
9495 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
9497         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
9499 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
9501         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
9502         assign attr->stackaddr to it, and adjust it down when
9503         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
9504         [_STACK_GROWS_UP]: Delete assert.
9505         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
9506         Implement stack grows up logic.
9507         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
9508         stack grows up logic.
9510 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9512         * NEWS: Update with 2.24 template.
9514 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9516         [BZ #19678]
9517         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
9518         Ensure +0.0 is returned when taking the next value below the least
9519         positive value.
9521 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9523         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
9524         available.  Do not define NO_THREADS.
9525         * malloc/malloc.c: Do not check NO_THREADS.
9526         * malloc/arena.c: Likewise.
9528 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9530         * malloc/malloc.c (__libc_mallinfo): Update comment.
9531         (struct malloc_par): Remove max_total_mem member, it was always 0.
9532         (int_mallinfo): Store 0 into usmblks (no functional change).
9533         * malloc/hooks.c (struct malloc_state): Document that
9534         max_total_mem is always 0.
9535         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
9536         always 0.
9537         * manual/memory.texi (Statistics of Malloc): Likewise.
9539 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9541         * malloc/malloc.c (sysmalloc): Do not update arena_max.
9542         * malloc/arena.c (arena_max): Remove.
9543         (heap_trim, _int_new_arena): Do not update arena_max.
9545 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9547         * resolv/res_init.c (res_ninit): Update comment.
9549 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9551         [BZ #19505]
9552         * posix/spawn_int.h: Add headers and include guard.
9553         (__spawn_valid_fd): New function.
9554         * posix/spawn_faction_addopen.c
9555         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
9556         * posix/spawn_faction_addclose.c
9557         (posix_spawn_file_actions_addclose): Likewise.
9558         * posix/spawn_faction_adddup2.c
9559         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
9560         second file descriptor.
9561         * posix/spawn_valid_fd.c: New file.
9562         * posix/tst-posix_spawn-fd.c: New file.
9563         * posix/Makefile (routines): Add spawn_valid_fd.
9564         (tests): Add tst-posix_spawn-fd.
9566 2016-02-19  Florian Weimer  <fweimer@redhat.com>
9568         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
9569         (do_test): Limit the number of arenas, so that we can use fewer
9570         outer threads.  Limit timeout to 3 seconds, in preparation for a
9571         larger TIMEOUT value.
9573 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
9575         [BZ #19674]
9576         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
9577         sign in overflowing and underflowing results when overflow or
9578         underflow is detected early.  Include sign in result before rather
9579         than after scaling.
9581         [BZ #19603]
9582         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
9583         (__ieee754_remainderl): Adjust sign of integer version of low part
9584         when taking absolute value of high part.
9585         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
9586         * math/libm-test.inc (remainder_test_data): Add another test.
9587         (remquo_test_data): Likewise.
9589 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
9591         [BZ #19602]
9592         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
9593         equal high parts and both low parts zero specially.
9594         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
9595         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
9596         Add test-fmodl-ldbl-128ibm.
9598         [BZ #19595]
9599         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
9600         common logic for all cases of shifting subnormal results.  Do not
9601         insert sign bit in shifted mantissa.  Always pass -1023 as biased
9602         exponent to ldbl_insert_mantissa in subnormal case.
9604         [BZ #19594]
9605         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
9606         on high and low parts then adjust result and use
9607         ldbl_canonicalize_int if needed.
9609         [BZ #19593]
9610         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
9611         on high part and __floor or __ceil on low part then use
9612         ldbl_canonicalize_int if needed.
9614         [BZ #19592]
9615         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
9616         high and low parts then use ldbl_canonicalize_int if needed.
9618         [BZ #17899]
9619         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
9620         New function.
9621         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
9622         on high and low parts then use ldbl_canonicalize_int if needed.
9624 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9626         * configure: Regenerated.
9628         * po/libc.pot: Regenerated.
9630         * po/be.po: Updated translation.
9631         * po/bg.po: Likewise.
9632         * po/ca.po: Likewise.
9633         * po/cs.po: Likewise.
9634         * po/da.po: Likewise.
9635         * po/el.po: Likewise.
9636         * po/eo.po: Likewise.
9637         * po/es.po: Likewise.
9638         * po/fi.po: Likewise.
9639         * po/fr.po: Likewise.
9640         * po/gl.po: Likewise.
9641         * po/hr.po: Likewise.
9642         * po/hu.po: Likewise.
9643         * po/ia.po: Likewise.
9644         * po/id.po: Likewise.
9645         * po/it.po: Likewise.
9646         * po/ja.po: Likewise.
9647         * po/lt.po: Likewise.
9648         * po/nb.po: Likewise.
9649         * po/nl.po: Likewise.
9650         * po/pt_BR.po: Likewise.
9651         * po/rw.po: Likewise.
9652         * po/sk.po: Likewise.
9653         * po/sl.po: Likewise.
9654         * po/sv.po: Likewise.
9655         * po/tr.po: Likewise.
9656         * po/zh_CN.po: Likewise.
9657         * po/zh_TW.po: Likewise.
9659         * version.h (RELEAES): Set to "development".
9660         (VERSION): Set to 2.23.90.
9662         * version.h (RELEASE): Set to "stable".
9663         (VERSION): Set to 2.23.
9664         * include/feature.h (__GLIBC_MINOR__): Set to 23.
9666         * NEWS: Updated fixed bugs.
9668 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
9669             Wilco Dijkstra  <wdijkstr@arm.com>
9671         [BZ #19462]
9672         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
9673         (_STRING_INLINE_unaligned): This.
9674         * include/string.h: Include <string_private.h>.
9675         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
9676         _STRING_INLINE_unaligned.
9677         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
9678         (_STRING_INLINE_unaligned): New.
9679         * sysdeps/aarch64/string_private.h: New file.
9680         * sysdeps/generic/string_private.h: Likewise.
9681         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
9682         * sysdeps/s390/string_private.h: Likewise.
9683         * sysdeps/x86/string_private.h: Likewise.
9684         * sysdeps/m68k/m680x0/m68020/bits/string.h
9685         (_STRING_ARCH_unaligned): Renamed to ...
9686         (_STRING_INLINE_unaligned): This.
9687         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
9688         to ...
9689         (_STRING_INLINE_unaligned): This.
9690         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
9691         to ...
9692         (_STRING_INLINE_unaligned): This.
9693         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
9694         to ...
9695         (_STRING_INLINE_unaligned): This.
9697 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
9698             H.J. Lu  <hongjiu.lu@intel.com>
9700         [BZ #19590]
9701         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
9702         relocation.
9704 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
9706         [BZ #18665]
9707         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
9708         *herrno_p.
9709         (gaih_getanswer): Document functional behviour. Return tryagain
9710         if any result is tryagain.
9711         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
9712         when freed.
9713         * resolv/res_send.c: Add copyright text.
9714         (__libc_res_nsend): Document that MAXPACKET is expected.
9715         (send_vc): Document. Remove buffer reuse.
9716         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
9717         size of the buffer. Add Dprint for truncated UDP buffer.
9719 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
9721         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
9722         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
9723         * INSTALL: Regenerate.
9725 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
9726             Jonathan Wakely  <jwakely@redhat.com>
9727             Carlos O'Donell  <carlos@redhat.com>
9729         [BZ 19439]
9730         * math/Makefile (tests): Add test-math-isinff.
9731         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
9732         * math/bits/mathcalls.h [__USE_MISC]: Use
9733         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
9734         functions not in C++11 and which don't conflict e.g. isinff,
9735         isinfl etc.
9736         * math/test-math-isinff.cc: New file.
9738 2016-02-12  Florian Weimer  <fweimer@redhat.com>
9740         * misc/bug18240.c (do_test): Set RLIMIT_AS.
9742 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
9744         [BZ #19529]
9745         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
9747 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9749         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
9751 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
9753         [BZ #19550]
9754         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
9755         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
9756         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
9757         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
9758         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
9759         New syscall entry.
9760         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
9761         New syscall entry.
9762         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
9763         syscall entry.
9765 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
9767         [BZ #18240]
9768         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
9769         unsigned int wraparound.
9771 2016-01-27  Florian Weimer  <fweimer@redhat.com>
9773         [BZ #18240]
9774         * misc/bug18240.c: New test.
9775         * misc/Makefile (tests): Add it.
9777 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
9778             Joseph Myers  <joseph@codesourcery.com>
9780         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
9781         load in branch delay slot when less than a word of input left.
9783 2016-01-27  Andreas Schwab  <schwab@suse.de>
9785         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
9786         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
9787         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
9788         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
9790 2016-01-26  David S. Miller  <davem@davemloft.net>
9792         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
9794 2016-01-25  David S. Miller  <davem@davemloft.net>
9796         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
9797         __sqrtl_finite.
9798         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
9799         instead using versioned_symbol.
9800         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
9801         of entries.
9803         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
9804         __sqrtl_finite to GLIBC_2.23
9806 2016-01-25  Ricchard Henderson  <rth@redhat.com>
9808         * sysdeps/alpha/fpu/libm-test-ulps: Update.
9810 2016-01-25  Andreas Schwab  <schwab@suse.de>
9812         [BZ #17514]
9813         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
9814         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
9815         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
9816         * nptl/tst-mutex-errorcheck.c: New file.
9818 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9820         [BZ #18560]
9821         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
9822         (IPCOP_semop): Likewise.
9823         (IPCOP_semget): Likewise.
9824         (IPCOP_semctl): Likewise.
9825         (IPCOP_msgsnd): Likewise.
9826         (IPCOP_msgrcv): Likewise.
9827         (IPCOP_msgget): Likewise.
9828         (IPCOP_msgctl): Likewise.
9829         (IPCOP_shmat): Likewise.
9830         (IPCOP_shmdt): Likewise.
9831         (IPCOP_shmget): Likewise.
9832         (IPCOP_shmctl): Likewise.
9834 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
9836         * string/tst-endian.c: Include <libc-internal.h>.
9837         (do_test): Ignore tautological-compare warnings around
9838         "htobeXX (beXXtoh (i)) != i" and
9839         "htoleXX (leXXtoh (i)) != i" if-statements.
9841 2016-01-24  David S. Miller  <davem@davemloft.net>
9843         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
9844         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
9845         alias.
9846         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
9847         __sqrtl_finite.
9849         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9851 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
9853         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
9854         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
9855         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9857 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9859         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
9860         (thread_func): Use new function to simplify barrier check.
9861         (do_test): Use new function to simplify checking barrier exit
9862         code, and actually join the child thread.
9864 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9866         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
9867         semicolon.
9868         (__libc_tend): Likewise.
9869         (__libc_tabort): Likewise.
9871 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
9873         * sysdeps/nios2/libm-test-ulps: Update.
9874         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
9875         (__gtsf2): Likewise.
9876         (__unorddf2): Likewise.
9877         (__unordsf2): Likewise.
9878         (__ledf2): Likewise.
9880 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
9882         * nis/nis_table.c (__follow_path): Disable diagnostic for
9883         uninitialized variable that is a false positive for gcc 4.7.
9884         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
9886 2016-01-20  Roland McGrath  <roland@hack.frob.com>
9888         * sysdeps/nacl/lowlevellock-futex.h
9889         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
9890         Always evaluate PRIVATE argument.
9892 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
9894         [BZ #19490]
9895         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
9896         (pthread_cond_broadcast): Use ENTRY/END
9897         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
9898         (pthread_cond_signal): Likewise.
9899         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
9900         Likewise.
9901         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
9902         Likewise.
9903         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
9904         Likewise.
9906 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
9908         * sysdeps/ieee754/dbl-64/s_finite.c
9909         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
9910         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
9911         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
9912         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
9913         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
9915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
9916         (__gtsf2): Add as optional for libc.so.
9917         (__unordsf2): Likewise.
9918         (__signbit): Remove for libc.so.
9919         (__signbitl): Likewise.
9921 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
9923         * iconvdata/bug-iconv11.c (test_ibm93x):
9924         Use %zu printf format specifier for size_t argument.
9926 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
9928         * math/gen-libm-test.pl (parse_ulps): Do not reduce
9929         already-recorded ulps.
9930         * sysdeps/arm/libm-test-ulps: Regenerated.
9931         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
9932         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9933         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
9935 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9936             Paul Pluzhnikov  <ppluzhnikov@google.com>
9938         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
9939         assembler not supporting AVX-512.
9941 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
9943         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
9945 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
9947         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
9948         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
9950         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
9952         * sysdeps/arm/libm-test-ulps: Regenerated.
9954 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9956         [BZ #19451]
9957         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
9959 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
9961         [BZ #19486]
9962         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
9963         * sysdeps/generic/fix-fp-int-convert-overflow.h
9964         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
9965         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
9966         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
9967         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
9968         Likewise.
9969         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
9970         Avoid conversions to long int where inexact exceptions
9971         could be raised.
9972         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
9973         Likewise.
9974         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
9975         Avoid conversions to long long int where inexact exceptions
9976         could be raised.
9977         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
9978         Likewise.
9980 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
9982         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
9983         * configure: Regenerated.
9985 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
9987         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
9989 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
9991         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
9992         outside of comment.
9994 2016-01-15  Torvald Riegel  <triegel@redhat.com>
9996         * nptl/tst-barrier1.c: Add description on first line.
9997         * nptl/tst-barrier2.c: Likewise.
9998         * nptl/tst-barrier3.c: Likewise.
9999         * nptl/tst-barrier4.c: Likewise.
10000         * nptl/tst-barrier5.c: Likewise.
10002 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10004         [BZ #18868]
10005         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
10007 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
10009         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
10010         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10011         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
10012         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
10013         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
10014         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
10015         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
10016         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10017         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10018         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
10019         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
10021 2016-01-15  Torvald Riegel  <triegel@redhat.com>
10023         [BZ #13065]
10024         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
10025         new implementation.
10026         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
10027         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
10028         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
10029         (BARRIER_IN_THRESHOLD): New macro.
10030         * nptl/pthread_barrierattr_setpshared.c
10031         (pthread_barrierattr_setpshared): Clean up.
10032         * nptl/tst-barrier4.c: Correct comment.
10033         * nptl/tst-barrier5.c: New file.
10034         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
10035         (gen-as-const-headers): Remove lowlevelbarrier.sym.
10036         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
10037         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
10038         * nptl/lowlevelbarrier.sym: Remove.
10039         * nptl/DESIGN-barrier.txt: Remove.
10040         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
10041         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
10042         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
10043         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
10044         error.
10045         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
10046         implementation.
10048 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10050         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
10051         (do_child): Mask SIGRTMIN while thr is running.
10053 2016-01-15  Martin Sebor  <msebor@redhat.com>
10055         [BZ #19432]
10056         * iconvdata/Makefile: Add bug-iconv11.
10057         * iconvdata/bug-iconv11.c: New test.
10058         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
10059         * iconvdata/ibm933.c: Same.
10060         * iconvdata/ibm935.c: Same.
10061         * iconvdata/ibm937.c: Same.
10062         * iconvdata/ibm939.c: Same.
10064 2016-01-15  Martin Sebor  <msebor@redhat.com>
10066         [BZ #19443]
10067         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
10068         [DEBUG] (_ufc_set_bits): Declare used.
10069         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
10070         [DEBUG] (print_all): Declare used.
10071         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
10072         operands of the ternary ?: expression to target type.
10073         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
10074         calling the undeclared abort.
10075         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
10077 2016-01-15  Martin Sebor  <msebor@redhat.com>
10079         [BZ #18755]
10080         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
10081         warnings.
10082         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
10083         (__gai_create_helper_thread): Same.
10084         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
10085         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
10086         to suppress -Wmaybe-uninitialized warnings.
10088 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
10090         [BZ #19465]
10091         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
10092         inside if.
10093         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10094         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10095         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10097 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
10099         [BZ #19466]
10100         * time/tst-mktime2.c (time_t_max): Removed.
10101         (time_t_min): Likewise.
10102         (TYPE_SIGNED): New.
10103         (TYPE_MINIMUM): Likewise.
10104         (TYPE_MAXIMUM): Likewise.
10105         (TIME_T_MIN): Likewise.
10106         (TIME_T_MAX): Likewise.
10107         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
10108         and TIME_T_MIN.
10109         (do_test): Likewise.
10111 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
10113         [BZ #19467]
10114         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
10115         index_Fast_Unaligned_Load flag for Excavator family CPUs.
10117 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
10119         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
10121 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
10123         * benchtests/Makefile (PYTHON): Define.
10124         (bench-func): Use $(PYTHON) to run python scripts.
10125         ($(objpfx)bench-%.c): Likewise.
10127 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
10129         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
10130         leading slash when `file_name' is "/".
10132 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
10134         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
10135         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
10136         Likewise.
10137         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
10138         Likewise.
10139         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
10140         Likewise.
10141         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
10142         enum constant and macro.
10143         (PTRACE_SETSIGMASK): Likewise.
10144         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10145         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
10146         (PTRACE_GETSIGMASK): Likewise.
10147         (PTRACE_SETSIGMASK): Likewise.
10148         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
10150         Likewise.
10151         (PTRACE_SETSIGMASK): Likewise.
10152         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10153         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
10154         (PTRACE_GETSIGMASK): Likewise.
10155         (PTRACE_SETSIGMASK): Likewise.
10156         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10157         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
10158         Likewise.
10159         (PTRACE_SETSIGMASK): Likewise.
10160         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10161         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
10162         Likewise.
10163         (PTRACE_SETSIGMASK): Likewise.
10164         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10165         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
10166         Likewise.
10167         (PTRACE_SETSIGMASK): Likewise.
10168         (PTRACE_SECCOMP_GET_FILTER): Likewise.
10170 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
10171             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10173         [BZ #19439]
10174         * math/bits/mathcalls.h
10175         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
10176         prototype.
10177         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
10179 2016-01-11  Andreas Schwab  <schwab@suse.de>
10181         [BZ #19253]
10182         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
10183         cache when TZDEFRULES was used.
10184         * time/tst-tzname.c: New file.
10185         * time/Makefile (test): Add tst-tzname.
10186         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
10187         * timezone/Makefile (test-zones): Add $(posixrules-file).
10188         ($(testdata)/$(posixrules-file)): New rule.
10190 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
10192         Fix doc quoting problems with Texinfo 5
10193         Without this change, in the info file output, Texinfo 5 quotes code
10194         in text with undirected single quotes 'like this' and generates
10195         code examples that with many PDF readers cannot be cut out of PDFs
10196         and pasted into code.
10197         * manual/libc.texinfo: Configure the libc manual like the GNU
10198         Emacs manual, by using @documentencoding and setting
10199         txicodequoteundirected and txicodequotebacktick.  This way,
10200         Texinfo 5 quotes code in text with directed single quotes ‘like
10201         this’ and produces examples that can be cut out of PDFs.  This
10202         change causes Texinfo 5 to generate info files that contain UTF-8
10203         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
10204         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
10206 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10208         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
10209         __libc_tabort, __libc_tend): New wrappers that enforce compiler
10210         barriers to their respective compiler built-ins.
10211         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
10212         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
10213         * sysdeps/powerpc/sysdep.h: Likewise.
10214         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
10215         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
10216         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
10218 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
10220         * scripts/config.guess: Revert previous shebang change.
10221         * scripts/config.sub: Likewise.
10222         * scripts/mkinstalldirs: Likewise.
10224 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10226         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
10227         PPC_FEATURE2_HAS_IEEE128.
10228         * sysdeps/powerpc/dl-procinfo.c:
10229         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
10231 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
10233         [BZ #19415]
10234         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
10235         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
10236         (_dl_lookup_address): Rewrite using function resolver trampoline.
10237         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
10238         two bits in address.
10240 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10242         * longlong.h: Change !__SHMEDIA__ to
10243         (!defined (__SHMEDIA__) || !__SHMEDIA__).
10244         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
10246 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
10247             Joseph Myers  <joseph@codesourcery.com>
10248             Mark Shinwell  <shinwell@codesourcery.com>
10249             Andrew Stubbs  <ams@codesourcery.com>
10250             Rich Felker <dalias@libc.org>
10252         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
10254 2016-01-07  Richard Henderson  <rth@redhat.com>
10256         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
10258 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
10260         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
10261         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
10262         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
10263         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
10264         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
10266 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
10267             Joseph Myers  <joseph@codesourcery.com>
10269         * timezone/private.h: Update from tzcode 2015g.
10270         * timezone/tzfile.h: Likewise.
10271         * timezone/tzselect.ksh: Likewise.
10272         * timezone/zdump.c: Likewise.
10273         * timezone/zic.c: Likewise.
10274         * timezone/ialloc.c: Remove file.
10275         * timezone/scheck.c: Likewise.
10276         * timezone/Makefile (extra-objs): Remove variable.
10277         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
10278         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
10279         -Wno-maybe-uninitialized.
10280         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
10281         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
10282         (CFLAGS-ialloc.c): Remove variable.
10283         (CFLAGS-scheck.c): Likewise.
10284         * timezone/README: Update list of files from tzcode.
10286 2016-01-07  Khem Raj  <raj.khem@gmail.com>
10288         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
10289         instead of __fxprintf when _LIBC is undefined.
10291 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
10293         * catgets/test-gencat.sh: Remove space after shebang.
10294         * conform/GlibcConform.pm: Likewise.
10295         * conform/check-header-lists.sh: Likewise.
10296         * conform/conformtest.pl: Likewise.
10297         * conform/linknamespace.pl: Likewise.
10298         * conform/list-header-symbols.pl: Likewise.
10299         * debug/catchsegv.sh: Likewise.
10300         * elf/genrtldtbl.awk: Likewise.
10301         * elf/tst-pathopt.sh: Likewise.
10302         * elf/tst-rtld-load-self.sh: Likewise.
10303         * grp/tst_fgetgrent.sh: Likewise.
10304         * iconvdata/gen-8bit-gap-1.sh: Likewise.
10305         * iconvdata/gen-8bit-gap.sh: Likewise.
10306         * iconvdata/gen-8bit.sh: Likewise.
10307         * iconvdata/run-iconv-test.sh: Likewise.
10308         * intl/tst-gettext.sh: Likewise.
10309         * intl/tst-gettext2.sh: Likewise.
10310         * intl/tst-gettext4.sh: Likewise.
10311         * intl/tst-gettext6.sh: Likewise.
10312         * intl/tst-translit.sh: Likewise.
10313         * io/ftwtest-sh: Likewise.
10314         * libio/test-freopen.sh: Likewise.
10315         * locale/gen-translit.pl: Likewise.
10316         * malloc/tst-mtrace.sh: Likewise.
10317         * manual/check-safety.sh: Likewise.
10318         * manual/libc-texinfo.sh: Likewise.
10319         * manual/tsort.awk: Likewise.
10320         * manual/xtract-typefun.awk: Likewise.
10321         * nptl/tst-cancel-wrappers.sh: Likewise.
10322         * nptl/tst-tls6.sh: Likewise.
10323         * posix/globtest.sh: Likewise.
10324         * posix/tst-getconf.sh: Likewise.
10325         * posix/wordexp-tst.sh: Likewise.
10326         * scripts/check-c++-types.sh: Likewise.
10327         * scripts/check-local-headers.sh: Likewise.
10328         * scripts/config.guess: Likewise.
10329         * scripts/config.sub: Likewise.
10330         * scripts/cpp: Likewise.
10331         * scripts/cross-test-ssh.sh: Likewise.
10332         * scripts/documented.sh: Likewise.
10333         * scripts/evaluate-test.sh: Likewise.
10334         * scripts/gen-libc-abis: Likewise.
10335         * scripts/gen-sorted.awk: Likewise.
10336         * scripts/list-fixed-bugs.py: Likewise.
10337         * scripts/merge-test-results.sh: Likewise.
10338         * scripts/mkinstalldirs: Likewise.
10339         * scripts/rellns-sh: Likewise.
10340         * scripts/test-installation.pl: Likewise.
10341         * scripts/update-copyrights: Likewise.
10342         * stdio-common/tst-printf.sh: Likewise.
10343         * stdio-common/tst-unbputc.sh: Likewise.
10344         * stdlib/tst-fmtmsg.sh: Likewise.
10345         * stdlib/tst-setcontext3.sh: Likewise.
10346         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
10347         * sysdeps/unix/make-syscalls.sh: Likewise.
10349 2016-01-06  John David Anglin  <dave.anglin@bell.net>
10351         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
10352         asm stw with atomic_exchange_rel.  Add explanatory comment.
10353         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
10354         Likewise.
10356 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10358         [BZ #19122]
10359         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
10360         * sysdeps/generic/dl-unistd.h: New file.
10361         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
10363 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
10365          [BZ #19122]
10366          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
10367          * sysdeps/generic/dl-mman.h: New file.
10368          * sysdeps/mach/hurd/dl-mman.h: Likewise.
10370 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
10372         * manual/texinfo.tex: Update to version 2016-01-04.21 with
10373         trailing whitespace removed.
10374         * scripts/config.guess: Update to version 2016-01-01.
10375         * scripts/config.sub: Update to version 2016-01-01.
10376         * scripts/move-if-change: Update from gnulib.
10378 2016-01-04  Anton Blanchard  <anton@samba.org>
10380         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
10381         for array indices.
10382         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
10384 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
10386         * NEWS: Update copyright dates.
10387         * catgets/gencat.c (print_version): Likewise.
10388         * csu/version.c (banner): Likewise.
10389         * debug/catchsegv.sh: Likewise.
10390         * debug/pcprofiledump.c (print_version): Likewise.
10391         * debug/xtrace.sh (do_version): Likewise.
10392         * elf/ldconfig.c (print_version): Likewise.
10393         * elf/ldd.bash.in: Likewise.
10394         * elf/pldd.c (print_version): Likewise.
10395         * elf/sotruss.sh: Likewise.
10396         * elf/sprof.c (print_version): Likewise.
10397         * iconv/iconv_prog.c (print_version): Likewise.
10398         * iconv/iconvconfig.c (print_version): Likewise.
10399         * locale/programs/locale.c (print_version): Likewise.
10400         * locale/programs/localedef.c (print_version): Likewise.
10401         * login/programs/pt_chown.c (print_version): Likewise.
10402         * malloc/memusage.sh (do_version): Likewise.
10403         * malloc/memusagestat.c (print_version): Likewise.
10404         * malloc/mtrace.pl: Likewise.
10405         * manual/libc.texinfo: Likewise.
10406         * nptl/version.c (banner): Likewise.
10407         * nscd/nscd.c (print_version): Likewise.
10408         * nss/getent.c (print_version): Likewise.
10409         * nss/makedb.c (print_version): Likewise.
10410         * posix/getconf.c (main): Likewise.
10411         * scripts/test-installation.pl: Likewise.
10412         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
10414         * All files with FSF copyright notices: Update copyright dates
10415         using scripts/update-copyrights.
10416         * intl/plural.c: Regenerated.
10417         * locale/programs/charmap-kw.h: Likewise.
10418         * locale/programs/locfile-kw.h: Likewise.
10420 2016-01-02  Helge Deller  <deller@gmx.de>
10422         [BZ #19285]
10423         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
10424         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
10425         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
10426         (MADV_xxK_PAGES): Remove.
10428 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
10430         [BZ #15421]
10431         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
10432         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
10433         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
10434         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
10436 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
10438         [BZ #19408]
10439         * sysdeps/unix/sysv/linux/personality.c: New file.
10440         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
10441         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
10442         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
10443         (sysdep_routines): Add personality.
10444         (tests): Add tst-personality.
10445         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
10446         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
10447         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
10448         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
10449         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
10450         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
10451         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
10452         Likewise.
10453         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
10454         Likewise.
10455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
10456         Likewise.
10457         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
10458         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
10459         Likewise.
10461 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
10463         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
10464         (PATH_ARM_SYSTYPE): Remove.
10465         (PATH_CPUINFO): Likewise.
10466         (IO_BASE_FOOTBRIDGE): Likewise.
10467         (IO_SHIFT_FOOTBRIDGE): Likewise.
10468         (struct platform): Likewise.
10469         (init_iosys): Remove compatibility code for 2.4 kernels.
10470         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
10472 2015-12-29  Florian Weimer  <fweimer@redhat.com>
10474         * malloc/tst-malloc-thread-fail.c: New file.
10475         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
10476         (tst-malloc-thread-fail): Link against libpthread.
10478 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
10480         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
10481         (get_parser): New function.
10482         (main): New function.
10484 2015-12-29  Rob Wu  <rob@robwu.nl>
10486         [BZ #19369]
10487         * resolv/res_init.c (__res_vinit): Reset defdname before use.
10489 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
10491         [BZ #19270]
10492         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
10494 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
10496         [BZ #15421]
10497         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
10499 2015-12-23  Torvald Riegel  <triegel@redhat.com>
10501         [BZ #13690]
10502         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
10503         after releasing it.
10504         (__lll_robust_unlock): Likewise.
10505         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
10506         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
10507         (lll_robust_unlock): Likewise.
10508         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
10509         Prevent warnings in callers.
10511 2015-12-23  Florian Weimer  <fweimer@redhat.com>
10513         * malloc/arena.c (list_lock): Update comment.
10515 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10517         * sysdeps/powerpc/hwcapinfo.c: Export symbol
10518         __parse_hwcap_and_convert_at_platform to libc.a.
10520 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10522         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
10523         platform and feature support for POWER9.
10524         * sysdeps/powerpc/dl-procinfo.h: Likewise.
10525         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
10526         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
10527         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
10528         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
10529         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
10530         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
10531         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
10533 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10535         Harmonize generic stdio-lock support with nptl
10537         This fixes build when _IO_funlockfile is a macro, fixes build where
10538         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
10539         stack unwind.
10541         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
10542         _IO_release_lock ): Use cleanup attribute on new
10543         _IO_acquire_lock_file variable instead of assuming that
10544         _IO_release_lock will be called.
10545         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
10546         _IO_acquire_lock_needs_exceptions_enabled.
10547         (_IO_acquire_lock_clear_flags2): New macro.
10549 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10551         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
10553 2015-12-21  Florian Weimer  <fweimer@redhat.com>
10555         [BZ #19182]
10556         * malloc/arena.c (list_lock): Document lock ordering requirements.
10557         (free_list_lock): New lock.
10558         (ptmalloc_lock_all): Comment on free_list_lock.
10559         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
10560         (detach_arena): Update comment.  free_list_lock is now needed.
10561         (_int_new_arena): Use free_list_lock around detach_arena call.
10562         Acquire arena lock after list_lock.  Add comment, including FIXME
10563         about incorrect synchronization.
10564         (get_free_list): Switch to free_list_lock.
10565         (reused_arena): Acquire free_list_lock around detach_arena call
10566         and attached threads counter update.  Add two FIXMEs about
10567         incorrect synchronization.
10568         (arena_thread_freeres): Switch to free_list_lock.
10569         * malloc/malloc.c (struct malloc_state): Update comments to
10570         mention free_list_lock.
10572 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
10574         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
10575         Remove functions.
10576         (sloww, sloww1): Accept argument to offset quadrant.
10577         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
10578         quadrant.
10579         (__sin, __cos): Consolidate common code into new functions.
10580         (reduce_sincos_1, do_sincos_1): New functions.
10581         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10583         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
10584         code to new functions.
10585         (reduce_sincos_2, do_sincos_2): New functions.
10586         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
10588         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
10589         common code for sincos.
10590         (__cos) [!IN_SINCOS]: Likewise.
10591         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
10592         New function.
10593         (__sincos): Use it.
10595 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
10597         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
10598         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
10599         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
10601 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
10603         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
10604         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
10605         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
10606         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
10607         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10608         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
10609         index_Prefer_No_VZEROUPPER): New feature.
10610         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
10611         Prefer_No_VZEROUPPER for Knights Landing.
10613 015-12-18  Torvald Riegel  <triegel@redhat.com>
10615         * math/atest-exp2.c (mp_exp_m1): Remove.
10617 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10619         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
10620         syscalls.
10621         (__SYSCALL0): New macro.
10622         (__SYSCALL1): Likewise.
10623         (__SYSCALL2): Likewise.
10624         (__SYSCALL3): Likewise.
10625         (__SYSCALL4): Likewise.
10626         (__SYSCALL5): Likewise.
10627         (__SYSCALL6): Likewise.
10628         (__SYSCALL_CONCAT_X): Likewise.
10629         (__SYSCALL_CONCAT): Likewise.
10630         (__SYSCALL_DIST): Likewise.
10631         (__SYSCALL_CALL): Likewise.
10633 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
10635         [BZ #19363]
10636         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
10638 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10640         [BZ #19375]
10641         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
10642         negative subnormals.
10644 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
10646         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
10647         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
10648         (INTERNAL_SYSCALL_NCS): Use it.
10649         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
10651 2015-12-16  Florian Weimer  <fweimer@redhat.com>
10653         [BZ #19243]
10654         * malloc/arena.c (get_free_list): Remove assert and adjust
10655         reference count handling.  Add comment about reused_arena
10656         interaction.
10657         (reused_arena): Add comments abount get_free_list interaction.
10658         * malloc/tst-malloc-thread-exit.c: New file.
10659         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
10660         (tst-malloc-thread-exit): Link against libpthread.
10662 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10664         [BZ #19367]
10665         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
10666         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
10667         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
10668         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
10669         (index_Prefer_MAP_32BIT_EXEC): Likewise.
10671 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
10673         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
10674         Silvermont optimizations for Knights Landing.
10676 2015-12-15  Andreas Schwab  <schwab@suse.de>
10678         [BZ #17197]
10679         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
10680         immediately after emitting SI.
10681         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
10682         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
10683         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
10684         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
10685         * iconvdata/bug-iconv10.c: New file.
10686         * iconvdata/Makefile (tests): Add bug-iconv10.
10687         ($(objpfx)bug-iconv10.out): New rule.
10689 2015-12-15  Florian Weimer  <fweimer@redhat.com>
10691         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
10692         aliasing violation.
10694 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
10696         [BZ #18472]
10697         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
10698         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
10699         conditionals for them.
10700         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
10701         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
10702         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
10703         sys/kdaemon.h.
10704         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
10705         compat-only syscall, obsoleted in glibc 2.23.
10706         (create_module): Likewise.
10707         (get_kernel_syms): Likewise.
10708         (query_module): Likewise.
10709         (uselib): Likewise.
10710         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
10712 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
10714         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
10715         <linux/version.h>.
10716         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
10717         conditional code.
10718         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
10719         and ioshift_name initialization.
10721 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10723         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
10724         Fix indentation.
10726 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10728         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
10730 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
10732         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
10734 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
10735             Jakub Wilk  <jwilk@debian.org>
10737         [BZ #19347]
10738         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
10739         to change the group of the device to the tty group.
10741 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
10743         Split large string section; add truncation advice
10744         * manual/examples/strncat.c: Remove.
10745         This example was misleading, as the code would have undefined
10746         behavior if "hello" was longer than SIZE.  Anyway, the manual
10747         shouldn't encourage strncpy+strncat for this sort of thing.
10748         * manual/string.texi (Copying Strings and Arrays): Split into
10749         three sections Copying Strings and Arrays, Concatenating Strings,
10750         and Truncating Strings, as this section was way too long.  All
10751         cross-referenced changed.  Add advice about string-truncation
10752         functions.  Remove misleading strncat example.
10754 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
10756         * manual/nss.texi (NSS Modules Interface): Document
10757         NSS_STATUS_NOTFOUND and SUCCESS.
10759 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10761         [BZ 18568]
10762         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
10763         201505L, for Unicode 8.
10765 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
10767         * locale/C-translit.h: Regenerate.
10769 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
10771         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
10772         and U+0153.
10774 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
10776         [BZ #19351]
10777         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
10778         expanding log(1+z), compare z rather than its square with epsilon
10779         to determine when to avoid evaluating the expansion.
10781         [BZ #19350]
10782         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
10783         Increase overflow threshold.
10785         [BZ #19349]
10786         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
10787         when small.
10789         * sysdeps/unix/sysv/linux/i386/kernel-features.h
10790         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10791         New macro.
10792         [__LINUX_KERNEL_VERSION >= 0x040300]
10793         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10794         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10795         Likewise.
10796         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10797         Likewise.
10798         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10799         Likewise.
10800         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10801         Likewise.
10802         [__LINUX_KERNEL_VERSION >= 0x040300]
10803         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10804         [__LINUX_KERNEL_VERSION >= 0x040300]
10805         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10806         [__LINUX_KERNEL_VERSION >= 0x040300]
10807         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10808         [__LINUX_KERNEL_VERSION >= 0x040300]
10809         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10810         [__LINUX_KERNEL_VERSION >= 0x040300]
10811         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10812         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10813         Likewise.
10814         [__LINUX_KERNEL_VERSION >= 0x040300]
10815         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10816         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10817         Likewise.
10818         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10819         Likewise.
10820         [__LINUX_KERNEL_VERSION >= 0x040300]
10821         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10822         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10823         Likewise.
10824         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10825         Likewise.
10826         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10827         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
10828         Likewise.
10829         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
10830         Likewise.
10831         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
10832         Likewise.
10833         [__LINUX_KERNEL_VERSION >= 0x040300]
10834         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10835         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
10836         Likewise.
10837         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
10838         Likewise.
10839         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
10840         Likewise.
10841         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
10842         Likewise.
10843         [__LINUX_KERNEL_VERSION >= 0x040300]
10844         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
10845         [__LINUX_KERNEL_VERSION >= 0x040300]
10846         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10847         [__LINUX_KERNEL_VERSION >= 0x040300]
10848         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10849         [__LINUX_KERNEL_VERSION >= 0x040300]
10850         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10851         [__LINUX_KERNEL_VERSION >= 0x040300]
10852         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10853         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
10854         Likewise.
10855         [__LINUX_KERNEL_VERSION >= 0x040300]
10856         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
10857         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
10858         Likewise.
10859         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
10860         Likewise.
10861         [__LINUX_KERNEL_VERSION >= 0x040300]
10862         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
10863         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
10864         Likewise.
10865         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
10866         Likewise.
10867         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10868         (__ASSUME_SOCKET_SYSCALL): Likewise.
10869         (__ASSUME_BIND_SYSCALL): Likewise.
10870         (__ASSUME_CONNECT_SYSCALL): Likewise.
10871         (__ASSUME_LISTEN_SYSCALL): Likewise.
10872         (__ASSUME_ACCEPT_SYSCALL): Likewise.
10873         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10874         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10875         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10876         (__ASSUME_SEND_SYSCALL): Likewise.
10877         (__ASSUME_SENDTO_SYSCALL): Likewise.
10878         (__ASSUME_RECV_SYSCALL): Likewise.
10879         (__ASSUME_RECVFROM_SYSCALL): Likewise.
10880         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
10881         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10882         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10883         (__ASSUME_SENDMSG_SYSCALL): Likewise.
10884         (__ASSUME_RECVMSG_SYSCALL): Likewise.
10885         * sysdeps/unix/sysv/linux/sh/kernel-features.h
10886         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
10887         Likewise.
10888         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
10889         Likewise.
10890         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
10891         Likewise.
10892         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
10893         Likewise.
10894         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
10895         Likewise.
10896         [__LINUX_KERNEL_VERSION >= 0x020625]
10897         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
10898         [__LINUX_KERNEL_VERSION >= 0x020625]
10899         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
10900         [__LINUX_KERNEL_VERSION >= 0x020625]
10901         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
10902         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
10903         Likewise.
10904         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
10905         Likewise.
10906         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
10907         Likewise.
10908         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
10909         Likewise.
10910         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
10911         Likewise.
10912         [__LINUX_KERNEL_VERSION >= 0x020625]
10913         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
10914         [__LINUX_KERNEL_VERSION >= 0x020625]
10915         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
10916         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
10917         Likewise.
10918         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
10919         Likewise.
10921 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10923         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
10924         record the current if the current ABI and CPU support the FP64
10925         extension.
10926         (has-modd-spreg): Define to record the current if the current ABI and
10927         CPU support 32-bit floating point values in odd FPU registers.
10928         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
10929         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
10930         $(has-modd-spreg) equals yes.
10931         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
10932         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
10933         $(has-modd-spreg) equal yes.
10935 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
10937         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
10938         basename.
10940 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
10942         * benchtests/Makefile (bench-math): Move ffs and ffsll...
10943         (bench-string): ... here.
10944         (bench): Add bench-string.
10945         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
10946         to *-benchset to reflect what they are.
10947         (benchset): Adjust.
10949         * benchtests/sincos-inputs: Add inputs from sin-inputs and
10950         cos-inputs.
10952 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
10954         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
10955         __attribute__ ((__simd__)) for vector math function declarations.
10957 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10959         Fix typo in strncat, wcsncat manual entries
10960         * manual/string.texi (Copying and Concatenation): Fix typos in
10961         sample implementations of strncat and wcsncat, by having them use
10962         the old value of the destination length, not the new one.
10964 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
10966         [BZ #16961]
10967         [BZ #16962]
10968         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
10969         string on the stack for strtod.
10970         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
10971         a string on the stack for strtof.
10972         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
10973         constructing a string on the stack for strtold.
10974         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
10975         __strtold_nan to GLIBC_PRIVATE.
10976         * math/test-nan-overflow.c: New file.
10977         * math/test-nan-payload.c: Likewise.
10978         * math/Makefile (tests): Add test-nan-overflow and
10979         test-nan-payload.
10981 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
10983         Consistency about byte vs character in string.texi
10984         * manual/string.texi (String and Array Utilities):
10985         Distinguish more carefully among bytes, multibyte characters,
10986         and wide characters.  Use "byte" when talking about C 'char',
10987         to distinguish it more clearly from multibyte characters.
10988         Say "wide character" or "multibyte character" instead of
10989         "character", when a wide or multibyte character is intended.
10990         Similarly for "multibyte string" versus "string".
10991         Define these terms more carefully.
10993 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
10995         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
10996         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
10997         Likewise.
10998         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
10999         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
11000         * sysdeps/sh/math_private.h: New file.
11001         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
11002         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
11003         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
11004         long double function name.
11005         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
11006         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
11007         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
11008         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
11009         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
11010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
11011         Remove __finitel, __isinfl, and __isnanl.
11012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11015         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11016         Remove __finitel.
11017         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11018         Likewise.
11019         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11021 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
11023         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
11024         installed libmvec_nonshared.a.
11026 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
11028         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
11029         (sysdep_routines): Likewise.
11030         (sysdep-rtld-routines): Likewise.
11031         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
11032         [$(subdir) = nptl](tests-static): test-get_hwcap-static
11033         * sysdeps/powerpc/Versions: Added new
11034         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
11035         * sysdeps/powerpc/hwcapinfo.c: New file.
11036         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
11037         and parse hwcap, hwcap2 and platform number information.
11038         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
11039         to store HWCAP+HWCAP2 and platform number.
11040         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
11041         for HWCAP+HWCAP2 and platform number in the TCB.
11042         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
11043         the HWCAP, HWCAP2 and platform number in the TCB.
11044         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
11045         (TLS_INIT_TP): Included calls to add the hwcap and
11046         at_platform values in the TCB in TP initialization.
11047         (TLS_DEFINE_INIT_TP): Likewise.
11048         (THREAD_GET_HWCAP): New macro.
11049         (THREAD_SET_HWCAP): Likewise.
11050         (THREAD_GET_AT_PLATFORM): Likewise.
11051         (THREAD_SET_AT_PLATFORM): Likewise.
11052         * sysdeps/powerpc/powerpc32/dl-machine.h:
11053         (dl_platform_init): New function that calls
11054         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
11055         powerpc32.
11056         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
11057         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
11058         this functionality, static linking case.
11059         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
11060         linking case.
11061         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
11062         __parse_hwcap_and_convert_at_platform for the static linking case.
11063         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
11064         Included the new __parse_hwcap_and_convert_at_platform symbol in the
11065         ABI list for GLIBC 2.23.
11066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
11067         Likewise.
11068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
11069         Likewise.
11071 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
11073         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
11074         * configure: Regenerate.
11075         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
11076         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
11078 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
11080         * iconvdata/ibm930.c: Add comment explaining encoding uses.
11081         * iconvdata/ibm933.c: Likewise.
11082         * iconvdata/ibm935.c: Likewise.
11083         * iconvdata/ibm937.c: Likewise.
11084         * iconvdata/ibm939.c: Likewise.
11086 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11088         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
11089         pthread_join.
11090         * nptl/tst-cancel21.c (tf): Likewise.
11092 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
11094         [BZ #19313]
11095         * bits/typesizes.h (__CPU_MASK_TYPE): New.
11096         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11097         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
11098         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
11099         Likewise.
11100         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
11101         Likewise.
11102         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
11103         Likewise.
11104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
11105         Likewise.
11106         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
11107         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
11108         unsigned long int with __CPU_MASK_TYPE.
11110 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
11112         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11114 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
11116         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
11117         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
11118         t512.x.
11119         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
11121 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
11123         [BZ #19214]
11124         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
11125         argument to return extended model.  Update family and model
11126         with extended family and model when family == 0x0f.
11127         (init_cpu_features): Updated.
11129 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11131         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
11132         signed off_t, so 32bit bigger than 2GiB values are fine actually.
11134         * sysdeps/mach/hurd/mmap64.c: New file.
11136 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
11138         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
11139         rights for its main user thread in NEWTASK.
11141 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
11143         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
11144         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
11146 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
11148         [BZ #14259]
11149         * Makeconfig: Rename localedir to complocaledir.
11150         Rename inst_localedir to inst_complocaledir.
11151         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
11152         * config.make.in: Use complocaledir and libc_cv_complocaledir.
11153         * configure.ac: Use libc_cv_complocaledir.
11154         * configure: Regenerate.
11155         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
11156         -DCOMPLOCALEDIR.
11157         * locale/findlocale.c: Use COMPLOCALEDIR.
11158         * locale/loadarchive.c: Likewise.
11159         * locale/programs/locale.c: Likewise.
11160         * locale/programs/localedef.c: Likewise.
11161         * locale/programs/locarchive.c: Likewise.
11162         * localedata/Makefile: Use inst_complocaledir.
11163         * sysdeps/gnu/configure: Regenerate.
11164         * sysdeps/hppa/configure: Regenerate.
11165         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
11166         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
11167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11168         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
11169         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
11170         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
11171         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
11173 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
11175         [BZ #19058]
11176         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
11177         AS_NEEDED.
11178         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
11179         workaround.
11180         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
11181         libmvec-static-only-routines): Added new file.
11182         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
11184 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11186         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
11187         of interrupted RPC instead of restoring it.
11189         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
11190         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
11191         libc_hidden_def.
11192         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
11193         into initialized data instead of common. Define rtld_hidden_data_def.
11194         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
11195         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
11196         libc_hidden_def.
11197         (if_freenameindex): Add libc_hidden_weak.
11198         (if_nameindex): Add libc_hidden_weak.
11199         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
11200         __open64.
11201         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
11202         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
11203         * sysdeps/mach/nanosleep.c: Include <time.h>
11204         (__nanosleep): Rename to __libc_nanosleep.
11205         (__nanosleep): Add weak_alias.
11206         (nanosleep): Update alias.
11208 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
11210         * stdlib/strtod_nan.c: New file.
11211         * stdlib/strtod_nan_double.h: Likewise.
11212         * stdlib/strtod_nan_float.h: Likewise.
11213         * stdlib/strtod_nan_main.c: Likewise.
11214         * stdlib/strtod_nan_narrow.h: Likewise.
11215         * stdlib/strtod_nan_wide.h: Likewise.
11216         * stdlib/strtof_nan.c: Likewise.
11217         * stdlib/strtold_nan.c: Likewise.
11218         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
11219         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
11220         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
11221         * wcsmbs/wcstod_nan.c: Likewise.
11222         * wcsmbs/wcstof_nan.c: Likewise.
11223         * wcsmbs/wcstold_nan.c: Likewise.
11224         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
11225         strtold_nan.
11226         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
11227         wcstof_nan.
11228         * include/stdlib.h (__strtof_nan): Declare and use
11229         libc_hidden_proto.
11230         (__strtod_nan): Likewise.
11231         (__strtold_nan): Likewise.
11232         (__wcstof_nan): Likewise.
11233         (__wcstod_nan): Likewise.
11234         (__wcstold_nan): Likewise.
11235         * include/wchar.h (____wcstoull_l_internal): Declare.
11236         * stdlib/strtod_l.c: Do not include <ieee754.h>.
11237         (____strtoull_l_internal): Remove declaration.
11238         (STRTOF_NAN): Define macro.
11239         (SET_MANTISSA): Remove macro.
11240         (STRTOULL): Likewise.
11241         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
11242         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
11243         (STRTOF_NAN): Define macro.
11244         (SET_MANTISSA): Remove macro.
11245         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
11246         (SET_MANTISSA): Remove macro.
11247         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
11248         macro.
11249         (SET_MANTISSA): Remove macro.
11250         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
11251         macro.
11252         (SET_MANTISSA): Remove macro.
11253         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
11254         (SET_MANTISSA): Remove macro.
11255         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
11256         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
11257         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
11259         [BZ #19266]
11260         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
11261         upper case and lower case letters inside NAN(), not using TOLOWER.
11262         * stdlib/tst-strtod-nan-locale-main.c: New file.
11263         * stdlib/tst-strtod-nan-locale.c: Likewise.
11264         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
11265         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
11266         Depend on $(gen-locales).
11267         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
11268         * wcsmbs/tst-wcstod-nan-locale.c: New file.
11269         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
11270         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
11271         Depend on $(gen-locales).
11272         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
11274 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
11276         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
11278         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
11279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
11280         __finitel, __isinfl, and __isnanl.
11281         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
11282         Likewise.
11283         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11284         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
11285         __finitel.
11286         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11287         Likewise.
11288         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11290 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
11292         * malloc/memusage.c (me): Remove redundant getenv call.
11294 2015-10-24  Florian Weimer  <fweimer@redhat.com>
11296         [BZ #19143]
11297         [BZ #19164]
11298         * nptl/check-cpuset.h: Remove.
11299         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
11300         Remove CPU set size check.
11301         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
11302         Likewise.
11303         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
11304         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
11305         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
11306         (__pthread_setaffinity_new): Remove CPU set size check.
11307         * sysdeps/unix/sysv/linux/sched_setaffinity.c
11308         (__kernel_cpumask_size): Remove.
11309         (__sched_setaffinity_new): Remove CPU set size check.
11310         * manual/threads.texi (Default Thread Attributes): Remove stale
11311         reference to check_cpuset_attr, determine_cpumask_size in comment.
11312         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
11313         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
11314         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
11315         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
11316         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
11317         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
11318         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
11319         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
11320         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
11321         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
11322         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
11323         skeleton test file.
11324         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
11325         tst-affinity-pid.
11327 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11329         * scripts/update-abilist.sh: New file.
11330         * Makefile (+subdir_targets): Add subdir_update-all-abi.
11331         * Makerules (update-all-abi-%, update-all-abi)
11332         (subdir_update-all-abi): New targets.
11333         * elf/Makefile (update-all-abi): New target.
11335 2015-11-24  Florian Weimer  <fweimer@redhat.com>
11337         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
11338         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
11339         (__libc_lock_define_initialized): Use it.
11340         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
11341         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
11342         * malloc/malloc.c (main_arena): Likewise.
11343         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11344         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
11346 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
11348         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
11349         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
11350         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11351         (PTRACE_O_MASK): Update value.
11352         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
11353         New value in enum __ptrace_setoptions.
11354         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11355         (PTRACE_O_MASK): Update value.
11356         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
11357         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11358         (PTRACE_O_MASK): Update value.
11359         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
11360         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11361         (PTRACE_O_MASK): Update value.
11362         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
11363         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
11364         (PTRACE_O_MASK): Update value.
11365         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
11366         New value in enum __ptrace_setoptions.
11367         (PTRACE_O_MASK): Update value.
11368         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
11369         New value in enum __ptrace_setoptions.
11370         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
11371         (PTRACE_O_MASK): Update value.
11373         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
11374         New macro.
11375         (PACKET_AUXDATA): Likewise.
11376         (PACKET_ORIGDEV): Likewise.
11377         (PACKET_VERSION): Likewise.
11378         (PACKET_HDRLEN): Likewise.
11379         (PACKET_RESERVE): Likewise.
11380         (PACKET_TX_RING): Likewise.
11381         (PACKET_LOSS): Likewise.
11382         (PACKET_VNET_HDR): Likewise.
11383         (PACKET_TX_TIMESTAMP): Likewise.
11384         (PACKET_TIMESTAMP): Likewise.
11385         (PACKET_FANOUT): Likewise.
11386         (PACKET_TX_HAS_OFF): Likewise.
11387         (PACKET_QDISC_BYPASS): Likewise.
11388         (PACKET_ROLLOVER_STATS): Likewise.
11389         (PACKET_FANOUT_DATA): Likewise.
11390         (PACKET_MR_UNICAST): Likewise.
11392         [BZ #19242]
11393         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
11394         (TOUPPER): Likewise.
11395         * stdlib/tst-strtol-locale-main.c: New file.
11396         * stdlib/tst-strtol-locale.c: Likewise.
11397         * stdlib/Makefile (tests): Add tst-strtol-locale.
11398         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
11399         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
11400         Depend on $(gen-locales).
11401         * wcsmbs/tst-wcstol-locale.c: New file.
11402         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
11403         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
11404         tr_TR.ISO-8859-9.
11405         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
11406         Depend on $(gen-locales).
11408 2015-11-20  Roland McGrath  <roland@hack.frob.com>
11410         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
11411         __glibc_likely instead of __builtin_expect.  After falling back to
11412         dyncode_create in a non-ET_DYN case, use the allocate_code_data
11413         system interface to register the code pages as occupied.
11415 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
11417         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11418         [!ARM_MATH_PRIVATE_H].
11419         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
11420         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11421         [!HPPA_MATH_PRIVATE_H].
11422         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
11423         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
11424         to [!I386_MATH_PRIVATE_H].
11425         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
11426         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
11427         Change guard to [!M68K_MATH_PRIVATE_H].
11428         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
11429         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
11430         guard to [!MICROBLAZE_MATH_PRIVATE_H].
11431         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
11432         macro.
11433         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11434         [!MIPS_MATH_PRIVATE_H].
11435         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
11436         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11437         [!NIO2_MATH_PRIVATE_H].
11438         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
11439         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
11440         [!TILE_MATH_PRIVATE_H].
11441         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
11443         [BZ #15421]
11444         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
11445         initialize with 0 and define as weak alias of __signgam.
11446         * include/math.h [!_ISOMAC] (__signgam): Declare.
11447         * math/Makefile (libm-calls): Add w_lgamma_compat.
11448         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
11449         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
11450         test-signgam-ullong-init.
11451         (tests-static): Add test-signgam-uchar-static,
11452         test-signgam-uchar-init-static, test-signgam-uint-static,
11453         test-signgam-uint-init-static, test-signgam-ullong-static and
11454         test-signgam-ullong-init-static.
11455         (CFLAGS-test-signgam-uchar.c): New variable.
11456         (CFLAGS-test-signgam-uchar-init.c): Likewise.
11457         (CFLAGS-test-signgam-uchar-static.c): Likewise.
11458         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
11459         (CFLAGS-test-signgam-uint.c): Likewise.
11460         (CFLAGS-test-signgam-uint-init.c): Likewise.
11461         (CFLAGS-test-signgam-uint-static.c): Likewise.
11462         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
11463         (CFLAGS-test-signgam-ullong.c): Likewise.
11464         (CFLAGS-test-signgam-ullong-init.c): Likewise.
11465         (CFLAGS-test-signgam-ullong-static.c): Likewise.
11466         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
11467         * math/Versions (libm): Add GLIBC_2.23.
11468         * math/lgamma-compat.h: New file.
11469         * math/test-signgam-main.c: Likewise.
11470         * math/test-signgam-uchar-init-static.c: Likewise.
11471         * math/test-signgam-uchar-init.c: Likewise.
11472         * math/test-signgam-uchar-static.c: Likewise.
11473         * math/test-signgam-uchar.c: Likewise.
11474         * math/test-signgam-uint-init-static.c: Likewise.
11475         * math/test-signgam-uint-init.c: Likewise.
11476         * math/test-signgam-uint-static.c: Likewise.
11477         * math/test-signgam-uint.c: Likewise.
11478         * math/test-signgam-ullong-init-static.c: Likewise.
11479         * math/test-signgam-ullong-init.c: Likewise.
11480         * math/test-signgam-ullong-static.c: Likewise.
11481         * math/test-signgam-ullong.c: Likewise.
11482         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
11483         wrapper of w_lgamma_main.c.
11484         * math/w_lgamma_compat.c: New file.
11485         * math/w_lgamma_compatf.c: Likewise.
11486         * math/w_lgamma_compatl.c: Likewise.
11487         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
11488         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11489         defining compatibility symbols.
11490         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
11491         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
11492         wrapper of w_lgammaf_main.c.
11493         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
11494         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11495         defining compatibility symbols.
11496         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
11497         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
11498         wrapper of w_lgammal_main.c.
11499         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
11500         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
11501         defining compatibility symbols.
11502         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
11503         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
11504         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
11505         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
11506         <lgamma-compat.h>.
11507         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
11508         (__ieee754_gamma): Define as alias.
11509         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
11510         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
11511         <lgamma-compat.h>.
11512         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
11513         (__ieee754_gammaf): Define as alias.
11514         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
11515         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
11516         <lgamma-compat.h>.
11517         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
11518         (__ieee754_gammal): Define as alias.
11519         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
11520         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
11521         <math/w_lgamma_compat.c>.
11522         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
11523         Define as alias of __lgamma_compat and use in defining lgammal.
11524         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
11525         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
11526         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
11527         (USE_AS_COMPAT): New macro.
11528         (LGAMMA_OLD_VER): Undefine and redefine.
11529         (lgammal): Do not define here.
11530         (gammal): Only define here if [GAMMA_ALIAS].
11531         * conform/linknamespace.pl (@whitelist): Remove signgam.
11532         * sysdeps/nacl/libm.abilist: Update.
11533         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11534         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11535         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11536         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11537         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11538         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11539         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11540         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11541         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11542         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11543         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11544         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11546         Likewise.
11547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11548         Likewise.
11549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11550         Likewise.
11551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11552         Likewise.
11553         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11554         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11555         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11556         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11557         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11558         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11559         Likewise.
11560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11561         Likewise.
11562         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11563         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11564         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11566 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11568         [BZ #16364]
11569         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
11570         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
11572 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
11574         * sysdeps/s390/fpu/bits/mathinline.h:
11575         Use __asm__ [__volatile__] instead of asm [volatile].
11576         * sysdeps/s390/abort-instr.h: Likewise.
11577         * sysdeps/s390/atomic-machine.h: Likewise.
11578         * sysdeps/s390/bits/string.h: Likewise.
11579         * sysdeps/s390/dl-tls.h: Likewise.
11580         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
11581         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
11582         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
11583         * sysdeps/s390/fpu/fesetround.c: Likewise.
11584         * sysdeps/s390/fpu/fpu_control.h: Likewise.
11585         * sysdeps/s390/fpu/s_fma.c: Likewise.
11586         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
11587         * sysdeps/s390/memusage.h: Likewise.
11588         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
11589         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
11590         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
11591         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
11592         * sysdeps/s390/nptl/tls.h: Likewise.
11593         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
11594         * sysdeps/s390/s390-32/backtrace.c: Likewise.
11595         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
11596         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
11597         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11598         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
11599         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
11600         * sysdeps/s390/s390-64/backtrace.c: Likewise.
11601         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
11602         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
11603         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
11604         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11605         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
11606         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
11607         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
11608         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
11609         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
11610         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11611         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
11612         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
11613         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
11614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11615         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
11617 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11618             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11620         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11621         Add lwarx hint, and use macro for acquire instruction.
11622         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11623         Likewise.
11624         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
11625         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
11626         update to use new atomic macros.
11628 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11630         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
11631         (__lll_trylock_elision): Fix setting of adapt_count.
11632         * sysdeps/unix/sysv/linux/powerpc/htm.h
11633         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
11634         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
11635         (_ABORT_SYSCALL): Renumber, and clarify definition.
11636         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
11638 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
11640         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
11641         after system headers to prevent MIN/MAX redefinition.  Define
11642         HAVE_ALLOCA to preserve builtin alloca usage.
11644 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
11646         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
11647         static and don't set or restore rounding.
11648         (__cos)[IN_SINCOS]: Likewise.
11649         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
11650         (__sincos): Set and restore rounding mode.  Remove check for infinite
11651         or NaN input.
11653         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
11655         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
11656         as used.
11658 2015-11-16  Florian Weimer  <fweimer@redhat.com>
11660         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
11662 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
11664         * config.make.in (have-glob-dat-reloc): New.
11665         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
11666         target supports GLOB_DAT relocaton. AC_SUBST.
11667         * configure: Regenerated.
11668         * elf/Makefile (tests): Add tst-prelink.
11669         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11670         (tst-prelink-ENV): New.
11671         ($(objpfx)tst-prelink-conflict.out): Likewise.
11672         ($(objpfx)tst-prelink-cmp.out): Likewise.
11673         * sysdeps/x86/tst-prelink.c: Moved to ...
11674         * elf/tst-prelink.c: Here.
11675         * sysdeps/x86/tst-prelink.exp: Moved to ...
11676         * elf/tst-prelink.exp: Here.
11677         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
11678         (tst-prelink-ENV): Removed.
11679         ($(objpfx)tst-prelink-conflict.out): Likewise.
11680         ($(objpfx)tst-prelink-cmp.out): Likewise.
11681         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
11683 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
11685         [BZ #14551]
11686         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
11687         (__mpn_construct_long_double): If high part overflows to infinity,
11688         set errno and recompute overflowed result of the correct sign.
11689         * sysdeps/ieee754/ldbl-128ibm/Makefile
11690         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
11691         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
11692         $(libm).
11693         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
11695 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
11697         [BZ #15479]
11698         [BZ #19238]
11699         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
11700         floating-point state after first operation on input.  Restore full
11701         state rather than just rounding mode.
11702         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
11703         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
11704         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
11706         [BZ #19235]
11707         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
11708         add 0.5 to integer arguments.
11709         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
11710         Likewise.
11711         (.LC2): New object.
11713 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
11715         * scripts/pylintrc (reports): Set to no.
11717 2015-11-10  Roland McGrath  <roland@hack.frob.com>
11719         * elf/dl-load.c (open_verify): Take new argument FD.
11720         Skip __open call if passed FD is not -1.
11721         (_dl_map_object, open_path): Update callers.
11722         * elf/dl-sysdep-open.h: New file.
11723         * elf/dl-load.c: Include it.
11724         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
11725         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
11726         * sysdeps/nacl/dl-sysdep-open.h: New file.
11727         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
11728         from libc to rtld.
11730 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11732         [BZ #19228]
11733         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
11734         and restore full floating-point state.
11735         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11736         Likewise.
11737         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
11738         Likewise.
11739         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
11740         Likewise.
11741         * math/test-nearbyint-except-2.c: New file.
11742         * math/Makefile (tests): Add test-nearbyint-except-2.
11744 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
11746         [BZ #19178]
11747         * sysdeps/x86/Makefile (tests): Add tst-prelink.
11748         (tst-prelink-ENV): New.
11749         ($(objpfx)tst-prelink-conflict.out): Likewise.
11750         ($(objpfx)tst-prelink-cmp.out): Likewise.
11751         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
11752         * sysdeps/x86/tst-prelink.c: New file.
11753         * sysdeps/x86/tst-prelink.exp: Likewise.
11755 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
11757         * math/auto-libm-test-in: Add another test of pow.
11758         * math/auto-libm-test-out: Regenerated.
11759         * math/libm-test.inc (pow_test_data): Add another test.
11761 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11763         [BZ #19219]
11764         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
11765         weak_alias to nearbyintl.
11767 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11769         * sysdeps/aarch64/bits/string.h: New file.
11770         (_STRING_ARCH_unaligned): Define.
11772 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
11774         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
11775         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
11776         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
11777         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
11778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
11780 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
11782         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
11783         for original name of the DSO.  Add it to the name list of the DSO
11784         if it is actually given.
11785         (_dl_map_object): Keep track of whether an audit module rewrote
11786         the file name.  If yes, pass the original name to
11787         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
11788         debugging is enabled, log the change of the file name.
11789         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
11790         _dl_map_object_from_fd.
11791         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
11792         * elf/tst-audit11.c: New file
11793         * elf/tst-auditmod11.c: New file.
11794         * elf/tst-audit11mod1.c: New file.
11795         * elf/tst-audit11mod2.c: New file.
11796         * elf/tst-audit11mod2.map: New file.
11797         * elf/tst-audit12.c: New file
11798         * elf/tst-auditmod12.c: New file.
11799         * elf/tst-audit12mod1.c: New file.
11800         * elf/tst-audit12mod2.c: New file.
11801         * elf/tst-audit12mod2.map: New file.
11802         * elf/tst-audit12mod3.c: New file.
11804 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11806         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
11807         Don't create weak aliases,
11808         because versioned symbols are created later.
11809         * sysdeps/s390/s390-32/setjmp.S
11810         (setjmp, _setjmp): Remove weak and rename to an unique name
11811         in SHARED case due to existing versioned symbols.
11812         * sysdeps/s390/s390-64/setjmp.S: Likewise.
11813         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
11814         (getcontext): Create weak alias only in non SHARED case.
11815         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
11817 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
11819         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
11820         (__ASSUME_*_SYSCALL) Define new macros.
11821         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
11822         Remove socketcall syscalls.
11823         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
11824         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
11825         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
11826         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
11827         * sysdeps/unix/sysv/linux/send.c (__libc_send):
11828         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
11830 2015-11-09  Florian Weimer  <fweimer@redhat.com>
11832         [BZ #12926]
11833         Terminate process on invalid netlink response.
11834         * sysdeps/unix/sysv/linux/netlinkaccess.h
11835         (__netlink_assert_response): Declare.
11836         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
11837         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
11838         (sysdep_routines): Add netlink_assert_response.
11839         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
11840         __netlink_assert_response.
11841         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
11842         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
11843         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
11844         __netlink_assert_response.
11846 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
11848         [BZ #19178]
11849         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
11850         (RTYPE_CLASS_PLT): Likewise.
11851         (RTYPE_CLASS_COPY): Likewise.
11852         (RTYPE_CLASS_TLS): Likewise.
11853         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
11854         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
11855         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
11856         DL_DEBUG_PRELINK.
11858 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
11860         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
11861         calls with argument -0.5.
11862         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
11864         * configure.ac (libc_cv_z_nodelete): Remove configure test.
11865         (libc_cv_z_nodlopen): Likewise.
11866         (libc_cv_z_initfirst): Likewise.
11867         * configure: Regenerated.
11869 2015-11-06  Florian Weimer  <fweimer@redhat.com>
11871         Simplify abilist format to be line-based.
11872         * scripts/abilist.awk: Collect descriptors in the descs variable.
11873         (emit): Write descs variable and sort it
11874         externally, with sort.
11875         * sysdeps/**/*.abilist: Convert to new format.
11877 2015-11-06  Mark Wielaard  <mjw@redhat.com>
11879         [BZ #11460]
11880         * io/Makefile (routines): Add fts64.
11881         (tests): Add tst-fts and tst-fts-lfs.
11882         (CFLAGS-fts64.c): New.
11883         * io/Versions (GLIBC_2.23): New.
11884         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
11885         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
11886         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
11887         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
11888         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
11889         (FTSENT64): Likewise.
11890         (fts64_children): Likewise.
11891         (fts64_close): Likewise.
11892         (fts64_open): Likewise.
11893         (fts64_read): Likewise.
11894         (fts64_set): Likewise.
11895         * io/fts64.c: New file.
11896         * io/tst-fts.c: New test.
11897         * io/tst-fts-lfs.c: Likewise.
11898         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
11899         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
11900         fts64_set.
11901         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
11902         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
11903         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
11904         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
11905         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
11906         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
11907         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
11908         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
11909         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
11910         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
11911         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
11912         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
11913         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
11914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
11915         Likewise.
11916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
11917         Likewise.
11918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
11919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
11920         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11921         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11922         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11923         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11924         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11925         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11927         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11928         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11929         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11930         * sysdeps/wordsize-64/fts.c: New file.
11931         * sysdeps/wordsize-64/fts64.c: Likewise.
11932         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
11933         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
11934         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
11935         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
11937 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11939         * math/libm-test.inc (NON_FINITE): New macro.
11940         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
11941         * math/gen-libm-test.pl (show_exceptions): Add argument
11942         $non_finite.
11943         (parse_args): Update call to show_exceptions.
11944         * math/test-math-finite.h: New file.
11945         * math/test-math-no-finite.h: Likewise.
11946         * math/test-double-finite.c: Likewise.
11947         * math/test-float-finite.c: Likewise.
11948         * math/test-ldouble-finite.c: Likewise.
11949         * math/test-double.c: Include "test-math-no-finite.h".
11950         * math/test-float.c: Include "test-math-no-finite.h".
11951         * math/test-ldouble.c: Include "test-math-no-finite.h".
11952         * math/test-math-inline.h (TEST_FINITE): New macro.
11953         * math/test-math-vector.h (TEST_FINITE): Likewise.
11954         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
11955         (libm-tests): Add test-float-finite and test-double-finite.
11956         ($(objpfx)test-float-finite.o): New dependency on
11957         $(objpfx)libm-test.stmp.
11958         ($(objpfx)test-double-finite.o): Likewise.
11959         ($(objpfx)test-ldouble-finite.o): Likewise.
11960         (libm-test-no-inline-cflags): New variable.
11961         (libm-test-finite-cflags): Likewise.
11962         (CFLAGS-test-float-finite.c): Likewise.
11963         (CFLAGS-test-double-finite.c): Likewise.
11964         (CFLAGS-test-ldouble-finite.c): Likewise.
11965         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
11966         (CFLAGS-test-double.c): Likewise.
11967         (CFLAGS-test-ldouble.c): Likewise.
11969 2015-11-05  Roland McGrath  <roland@hack.frob.com>
11971         * io/fcntl.c (__fcntl): Add ... to prototype.
11972         * misc/ioctl.c (__ioctl): Likewise.
11973         * misc/syscall.c (syscall): Likewise.
11975 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
11977         * scripts/list-fixed-bugs.py: New file.
11979         [BZ #19213]
11980         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
11981         returned for argument 1.
11982         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
11983         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
11984         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
11985         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
11986         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
11987         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
11989         [BZ #19211]
11990         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
11991         __USE_XOPEN], not if [!__USE_ISOC99].
11992         (lgammaf): Likewise.
11993         (lgammal): Likewise.
11994         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
11995         (gammaf): Likewise.
11996         (gammal): Likewise.
11997         * math/test-signgam-finite-c11.c: New file.
11998         * math/test-signgam-finite-c99.c: Likewise.
11999         * math/test-signgam-finite.c: Likewise.
12000         * math/Makefile (tests): Add test-signgam-finite,
12001         test-signgam-finite-c99 and test-signgam-finite-c11.
12002         (CFLAGS-test-signgam-finite.c): New variable.
12003         (CFLAGS-test-signgam-finite-c99.c): Likewise.
12004         (CFLAGS-test-signgam-finite-c11.c): Likewise.
12006         [BZ #19212]
12007         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
12008         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
12009         500].
12010         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
12011         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
12012         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
12013         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
12014         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
12015         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
12016         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
12017         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
12018         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
12019         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
12021         [BZ #19209]
12022         * math/bits/math-finite.h (ldexp): Remove declaration.
12023         (ldexpf): Likewise.
12024         (ldexpl): Likewise.
12026         [BZ #19205]
12027         * math/bits/math-finite.h (acosf): Condition declaration on
12028         [__USE_ISOC99].
12029         (acosl): Likewise.
12030         (acoshf): Likewise.
12031         (acoshl): Likewise.
12032         (asinf): Likewise.
12033         (asinl): Likewise.
12034         (atan2f): Likewise.
12035         (atan2l): Likewise.
12036         (atanhf): Likewise.
12037         (atanhl): Likewise.
12038         (coshf): Likewise.
12039         (coshl): Likewise.
12040         (expf): Likewise.
12041         (expl): Likewise.
12042         (fmodf): Likewise.
12043         (fmodl): Likewise.
12044         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
12045         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
12046         (j0l): Likewise.
12047         (y0f): Likewise.
12048         (y0l): Likewise.
12049         (j1f): Likewise.
12050         (j1l): Likewise.
12051         (y1f): Likewise.
12052         (y1l): Likewise.
12053         (jnf): Likewise.
12054         (jnl): Likewise.
12055         (ynf): Likewise.
12056         (ynl): Likewise.
12057         (lgammaf_r): Condition declaration on [__USE_ISOC99].
12058         (lgammal_r): Likewise.
12059         (__lgamma_r_finite): New declaration.
12060         (__lgammaf_r_finite): Likewise.
12061         (__lgammal_r_finite): Likewise.
12062         (lgamma): Use __lgamma_r_finite.
12063         (lgammaf): Condition definition on [__USE_ISOC99].  Use
12064         __lgammaf_r_finite.
12065         (lgammal): Condition definition on [__USE_ISOC99].  Use
12066         __lgammal_r_finite.
12067         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
12068         __lgamma_r_finite.
12069         (gammaf): Condition definition on [__USE_ISOC99].  Use
12070         __lgammaf_r_finite.
12071         (gammal): Condition definition on [__USE_ISOC99].  Use
12072         __lgammal_r_finite.
12073         (logf): Condition declaration on [__USE_ISOC99].
12074         (logl): Likewise.
12075         (log10f): Likewise.
12076         (log10l): Likewise.
12077         (ldexpf): Likewise.
12078         (ldexpl): Likewise.
12079         (powf): Likewise.
12080         (powl): Likewise.
12081         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
12082         __USE_ISOC99].
12083         (remainderf): Condition declaration on [__USE_ISOC99].
12084         (remainderl): Likewise.
12085         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
12086         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
12087         (scalbl): Likewise.
12088         (sinhf): Condition declaration on [__USE_ISOC99].
12089         (sinhl): Likewise.
12090         (sqrtf): Likewise.
12091         (sqrtl): Likewise.
12093 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12095         * sysdeps/arm/atomic-machine.h
12096         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12097         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12098         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
12099         Remove conditional code.
12100         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
12101         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
12102         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
12103         Change conditional to [__ASSEMBLER__].
12104         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12105         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
12106         [!__ASSEMBLER__].
12107         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
12108         code.
12109         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
12110         conditional macro definitions.
12111         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
12112         (__arch_compare_and_exchange_val_16_acq): Likewise.
12113         (__arch_compare_and_exchange_val_32_acq): Likewise.
12114         (atomic_exchange_and_add): Likewise.
12115         (atomic_add): Likewise.
12116         (atomic_add_negative): Likewise.
12117         (atomic_add_zero): Likewise.
12118         (atomic_bit_set): Likewise.
12119         (atomic_bit_test_set): Likewise.
12120         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
12121         code unconditional.
12122         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12124         * math/test-math-errno.h: New file.
12125         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
12126         empty.
12127         (TEST_ERRNO): New macro.
12128         (TEST_EXCEPTIONS): Likewise.
12129         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
12130         (TEST_EXCEPTIONS): Likewise.
12131         * math/test-math-vector.h (TEST_ERRNO): Likewise.
12132         * math/test-double.c: Include "test-math-errno.h".
12133         * math/test-float.c: Likewise.
12134         * math/test-ldouble.c: Likewise.
12135         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
12136         code unconditional.
12137         (test_exceptions): Only run code if TEST_EXCEPTIONS.
12138         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
12139         unconditional.
12140         (test_errno): Only run code if TEST_ERRNO.
12141         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
12143 2015-11-04  Florian Weimer  <fweimer@redhat.com>
12145         * nptl/tst-once5.cc: Remove attribution.
12147 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
12149         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
12150         sqrt, tan, tanh, y0, y1 and yn.
12151         * math/auto-libm-test-out: Regenerated.
12152         * math/libm-test.inc (scalb_test_data): Add more tests.
12153         (scalbn_test_data): Likewise.
12154         (scalbln_test_data): Likewise.
12155         (signbit_test_data): Likewise.
12156         (sin_test_data): Likewise.
12157         (sincos_test_data): Likewise.
12158         (sinh_test_data): Likewise.
12159         (sqrt_test_data): Likewise.
12160         (tan_test_data): Likewise.
12161         (tanh_test_data): Likewise.
12162         (tgamma_test_data): Likewise.
12163         (y0_test_data): Likewise.
12164         (y1_test_data): Likewise.
12165         (yn_test_data): Likewise.
12166         (significand_test_data): Likewise.
12167         * sysdeps/i386/fpu/libm-test-ulps: Update.
12169 2015-11-03  David Kastrup  <dak@gnu.org>
12171         [BZ #18604]
12172         * assert/assert.h (assert): Don't macro-expand failed assertion
12173         expression in error message.
12174         * malloc/malloc.c (assert): Likewise.
12176 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
12178         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
12179         test.
12180         * configure: Regenerated.
12182 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
12184         * math/libm-test.inc (modf_test_data): Add more tests.
12185         (nearbyint_test_data): Likewise.
12186         (nextafter_test_data): Likewise.
12187         (nexttoward_test_data): Likewise.
12188         (pow_test_data): Likewise.
12189         (remainder_test_data): Likewise.
12190         (remquo_test_data): Likewise.
12191         (rint_test_data): Likewise.
12193         [BZ #19201]
12194         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
12195         Check for zero remainder in case of large exponents and ensure
12196         correct sign of result in that case.
12197         * math/libm-test.inc (remainder_test_data): Add more tests.
12199         [BZ #6799]
12200         * math/s_nextafter.c: Include <errno.h>.
12201         (__nextafter): Set errno on overflow and underflow.
12202         * math/s_nexttowardf.c: Include <errno.h>.
12203         (__nexttowardf): Set errno on overflow and underflow.
12204         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
12205         (__nextafterl): Set errno on overflow and underflow.
12206         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
12207         (__nexttoward): Set errno on overflow and underflow.
12208         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
12209         (__nexttowardf): Set errno on overflow and underflow.
12210         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
12211         (__nextafterf): Set errno on overflow and underflow.
12212         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
12213         (__nextafterl): Set errno on overflow and underflow.
12214         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
12215         (__nexttoward): Set errno on overflow and underflow.
12216         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
12217         (__nexttowardf): Set errno on overflow and underflow.
12218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
12219         (__nextafterl): Set errno on overflow and underflow.
12220         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
12221         (__nexttoward): Set errno on overflow and underflow.
12222         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
12223         (__nexttowardf): Set errno on overflow and underflow.
12224         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
12225         (__nexttoward): Set errno on overflow and underflow.
12226         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
12227         (__nexttowardf): Set errno on overflow and underflow.
12228         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
12229         (__nldbl_nexttowardf): Set errno on overflow and underflow.
12230         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
12231         (__nextafterl): Set errno on overflow and underflow.
12232         * math/libm-test.inc (nextafter_test_data): Do not allow errno
12233         setting to be missing on overflow.  Add more tests.
12234         (nexttoward_test_data): Likewise.
12236         * configure.ac (libc_cv_initfini_array): Remove configure test.
12237         * configure: Regenerated.
12239 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
12241         [BZ #19189]
12242         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
12243         non-finite argument handle arguments with negative sign.
12245         * math/libm-test.inc (j0_test_data): Do not test sign of zero
12246         result from infinite argument.
12247         (j1_test_data): Likewise.
12248         (jn_test_data): Likewise.
12249         (y0_test_data): Likewise.
12250         (y1_test_data): Likewise.
12251         (yn_test_data): Likewise.
12253         [BZ #16171]
12254         * math/w_remainder.c (drem): Define as weak alias of __remainder.
12255         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
12256         * math/w_remainderf.c (dremf): Define as weak alias of
12257         __remainderf.
12258         * math/w_remainderl.c (dreml): Define as weak alias of
12259         __remainderl.
12260         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
12261         __remainder.
12262         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
12263         __remainderf.
12264         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
12265         __remainderl.
12266         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
12267         weak alias of remainderl.
12268         * sysdeps/ieee754/ldbl-opt/w_remainder.c
12269         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
12270         alias of __remainder.
12271         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
12272         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
12273         strong alias of __remainderl.
12274         (dreml): Use long_double_symbol.
12275         * math/Makefile (libm-calls): Remove w_drem.
12276         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
12277         (CFLAGS-nldbl-drem.c): Remove variable.
12278         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
12279         * math/w_drem.c: Remove file.
12280         * math/w_dremf.c: Likewise.
12281         * math/w_dreml.c: Likewise.
12282         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
12283         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
12284         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
12286         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
12287         * sysdeps/i386/configure: Regenerated.
12288         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
12289         * sysdeps/x86_64/configure: Regenerated.
12291         * configure.ac (libc_cv_asm_protected_directive): Remove configure
12292         test.
12293         (libc_cv_visibility_attribute): Likewise.
12294         (libc_cv_protected_data): Test unconditionally.
12295         (libc_cv_broken_visibility_attribute): Remove configure test.
12296         (libc_cv_have_sdata_section): Test unconditionally.
12297         * configure: Regenerated.
12299         * include/libc-internal.h (libc_max_align_t): Remove typedef.
12300         * include/scratch_buffer.h: Include <stddef.h> instead of
12301         <libc-internal.h>.
12302         (struct scratch_buffer): Use max_align_t instead of
12303         libc_max_align_t.
12305 2015-10-29  Florian Weimer  <fweimer@redhat.com>
12307         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
12308         instead of extend_alloca.  Change control flow to avoid a goto.
12309         Remove assert which is trivially always true.
12311 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12313         [BZ #16068]
12314         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
12315         (FE_ALL_EXCEPT_X86): New macro.
12316         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12317         FE_ALL_EXCEPT.  Ensure precision control is included in
12318         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12319         handle "denormal operand exception" and clear FZ and DAZ bits.
12320         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
12321         (FE_ALL_EXCEPT_X86): New macro.
12322         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
12323         FE_ALL_EXCEPT.  Ensure precision control is included in
12324         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
12325         handle "denormal operand exception" and clear FZ and DAZ bits.
12326         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
12327         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
12328         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12329         test-fenv-x87 and test-fenv-sse-2.
12330         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
12332         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
12333         * math/test-double.h (BUILD_COMPLEX): New macro.
12334         * math/test-float.h (BUILD_COMPLEX): Likewise.
12335         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
12337         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
12338         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
12339         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
12340         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
12341         instead of DBL_DENORM_MIN in comment.
12342         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
12343         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12344         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
12345         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
12346         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
12347         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
12349 2015-10-28  Florian Weimer  <fweimer@redhat.com>
12351         [BZ# 19048]
12352         * malloc/malloc.c (struct malloc_state): Update comment.  Add
12353         attached_threads member.
12354         (main_arena): Initialize attached_threads.
12355         * malloc/arena.c (list_lock): Update comment.
12356         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
12357         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
12358         (deattach_arena): New function.
12359         (_int_new_arena): Initialize arena reference count and deattach
12360         replaced arena.
12361         (get_free_list, reused_arena): Update reference count and deattach
12362         replaced arena.
12363         (arena_thread_freeres): Update arena reference count and only put
12364         unreferenced arenas on the free list.
12366 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12368         [BZ #19181]
12369         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
12370         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
12371         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
12372         * math/test-fenv-clear-main.c: New file.
12373         * math/test-fenv-clear.c: Likewise.
12374         * math/Makefile (tests): Add test-fenv-clear.
12375         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
12376         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12377         test-fenv-clear-sse.
12378         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
12380         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
12381         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
12382         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
12384 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12386         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
12387         static libc.
12389 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
12391         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
12392         test.
12393         * sysdeps/i386/configure: Regenerated.
12394         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
12395         test.
12396         * sysdeps/x86_64/configure: Regenerated.
12397         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
12398         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
12399         memset-avx2 unconditionally instead of conditionally on
12400         [$(config-cflags-avx2) = yes].
12401         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
12402         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
12403         unconditional.
12404         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
12405         * sysdeps/x86_64/multiarch/memset_chk.S
12406         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
12407         to [IS_IN (libc) && SHARED].
12409 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12411         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
12412         configure test.
12413         * sysdeps/arm/configure: Regenerated.
12414         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
12415         Define variable if not already defined.
12417         [BZ #17404]
12418         * sysdeps/mips/atomic-machine.h
12419         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
12420         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
12421         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
12423         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
12424         unconditional.
12425         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
12426         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12427         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
12428         unconditional.
12429         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12430         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
12431         unconditional.
12432         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12433         * stdlib/setenv.c
12434         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
12435         code unconditional.
12436         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
12437         Remove conditional code.
12438         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
12439         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
12440         unconditional.
12441         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12442         code.
12443         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
12444         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
12445         unconditional.
12446         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12447         code.
12448         * sysdeps/ieee754/ldbl-128/k_tanl.c
12449         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12450         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12451         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
12452         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12453         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12454         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
12455         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
12456         unconditional.
12457         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
12458         code.
12459         * sysdeps/ieee754/ldbl-96/k_tanl.c
12460         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
12461         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
12463         * nptl/tst-initializers1-c11.c: New file.
12464         * nptl/tst-initializers1-gnu11.c: Likewise.
12465         * nptl/Makefile (tests): Add these new tests.
12466         (CFLAGS-tst-initializers1-c11.c): New variable.
12467         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
12469         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
12470         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
12471         instead of -std=gnu99.
12472         * configure.ac (systemtap): Test with -std=gnu11 instead of
12473         -std=gnu99.
12474         * configure: Regenerated.
12475         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
12476         in compilation command in comment.
12478         * sysdeps/nptl/configure.ac: Remove file.
12479         * sysdeps/nptl/configure: Remove generated file.
12480         * configure.ac (libc_cv_forced_unwind): Do not substitute.
12481         * configure: Regenerated.
12482         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
12483         * config.make.in (have-forced-unwind): Remove variable.
12484         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12485         unconditional.
12486         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
12487         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
12488         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
12489         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
12490         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
12491         unconditional.
12493 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12495         [BZ #19174]
12496         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
12497         .skip_lock_out_of_tbegin_retries.
12498         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12499         (__lll_lock_elision): Likewise, and respect a value of
12500         try_tbegin <= 0.
12502 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
12504         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
12505         statement.
12507 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12509         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
12510         variable.
12511         (test-xfail-ISO11/stdalign.h/conform): Likewise.
12512         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
12514         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
12515         of -std=c1x -D_ISOC11_SOURCE.
12517         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
12518         * configure: Regenerated.
12519         * manual/install.texi (Tools for Compilation): Document
12520         requirement for GCC 4.7 or later.
12521         * INSTALL: Regenerated.
12523 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
12525         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
12526         on CNT to a conditional jump to 'puntdata'.
12528 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
12530         * configure.ac (libc_cv_gcc___thread): Remove configure test.
12531         (libc_cv_gcc_tls_model_attr): Likewise.
12532         * configure: Regenerated.
12534         * configure.ac (libc_cv_need_minus_P): Remove configure test.
12535         * configure: Regenerated.
12536         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
12538 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
12540         * configure.ac (old_glibc_headers): Remove configure test.
12541         * configure: Regenerated.
12542         * config.make.in (old-glibc-headers): Remove variable.
12543         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
12544         (install): Remove dependency on remove-old-headers.
12545         (headers2_0): Remove variable.
12546         (remove-old-headers): Remove rule.
12548         * configure.ac (libc_cv_dot_text): Remove configure test.
12549         (libc_cv_asm_set_directive): Use .text instead of
12550         ${libc_cv_dot_text} in configure test.
12551         * configure: Regenerated.
12553 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12555         [BZ #19168]
12556         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
12558 2015-10-26  Florian Weimer  <fweimer@redhat.com>
12560         * configure.ac (CXX): Clear the variable if the C++ toolchain does
12561         not support static linking.
12562         * configure: Regenerate.
12564 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
12566         * math/libm-test.inc (check_float_internal): Do not special-case
12567         errors up to 0.5 ulp.
12569         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
12570         log2.
12571         * math/auto-libm-test-out: Regenerated.
12572         * math/libm-test.inc (MAX_EXP): New macro.
12573         (ilogb_test_data): Add more tests.
12574         (isfinite_test_data): Likewise.
12575         (isgreater_test_data): Likewise.
12576         (isgreaterequal_test_data): Likewise.
12577         (isinf_test_data): Likewise.
12578         (isless_test_data): Likewise.
12579         (islessequal_test_data): Likewise.
12580         (islessgreater_test_data): Likewise.
12581         (isnan_test_data): Likewise.
12582         (isnormal_test_data): Likewise.
12583         (issignaling_test_data): Likewise.
12584         (isunordered_test_data): Likewise.
12585         (j0_test_data): Likewise.
12586         (j1_test_data): Likewise.
12587         (jn_test_data): Likewise.
12588         (lgamma_test_data): Likewise.
12589         (log_test_data): Likewise.
12590         (log10_test_data): Likewise.
12591         (log1p_test_data): Likewise.
12592         (log2_test_data): Likewise.
12593         (logb_test_data): Likewise.
12594         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12596         [BZ #18611]
12597         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
12598         avoid excess range and precision on underflow.
12599         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
12600         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
12601         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
12602         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
12603         underflow.
12604         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
12605         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
12606         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
12607         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
12608         * math/auto-libm-test-in: Do not allow missing errno setting for
12609         tests of j1 and jn.
12610         * math/auto-libm-test-out: Regenerated.
12612 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
12614         [BZ #15491]
12615         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
12616         floating-point environment instead of clearing all exceptions.
12617         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
12618         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
12619         merging in "invalid" exceptions from frndint.
12620         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
12621         * math/test-nearbyint-except.c: New file.
12622         * math/Makefile (tests): Add test-nearbyint-except.
12624 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
12626         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
12628         * sysdeps/tile/libm-test-ulps: Regenerated.
12630 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
12633         (__NR_sync_file_range2): Assume it is always defined.
12634         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
12635         (__NR_sync_file_range): Assume it is always defined.
12637 2015-10-22  Andreas Schwab  <schwab@suse.de>
12639         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12640         INTERNAL_SYSCALL_ERRNO.
12641         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
12642         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12643         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12644         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12645         Likewise.
12646         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12648 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12650         * io/tst-fcntl.c (fd): New static variable.
12651         (do_prepare): Open temporary file here....
12652         (do_test): ...not here.
12654         * io/ftwtest-sh: Also trap on exit to remove temporary files.
12656 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12658         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
12659         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12660         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12661         Moved before "#ifdef __ASSEMBLER__".
12663 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12665         [BZ #19156]
12666         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
12667         arguments very close to 0.
12669 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
12671         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
12672         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
12674 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
12676         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
12677         New.  Defined for GCC 5 and above when not compiling for
12678         profiling.
12679         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
12681         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12682         Renamed to ...
12683         (CFLAGS-epoll_pwait.o): This.
12684         (CFLAGS-mmap.c): Renamed to ...
12685         (CFLAGS-mmap.o): This.
12686         (CFLAGS-mmap64.c): Renamed to ...
12687         (CFLAGS-mmap64.o): This.
12688         (CFLAGS-epoll_pwait.os): New.
12689         (CFLAGS-mmap.os): Likewise.
12690         (CFLAGS-mmap64.os): Likewise.
12691         (CFLAGS-semtimedop.os): Likewise.
12692         (CFLAGS-semtimedop.c): Renamed to ...
12693         (CFLAGS-semtimedop.o): This.
12695 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
12697         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
12698         warning message.
12700 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
12702         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
12703         * Makefile ($(objpfx)c++-types-check.out): Filter out
12704         $(+gccwarn-c) instead of -Wstrict-prototypes.
12706         * io/fts.c (fts_open): Convert to prototype-style function
12707         definition.
12708         * malloc/mcheck.c (mcheck): Likewise.
12709         (mcheck_pedantic): Likewise.
12710         * posix/regexec.c (re_search_2_stub): Likewise.  Use
12711         internal_function.
12712         (re_search_internal): Likewise.
12713         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
12714         prototype-style function definition.
12715         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
12716         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
12717         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
12718         (xdr_utmpptr): Likewise.
12719         (xdr_utmparr): Likewise.
12720         (xdr_utmpidle): Likewise.
12721         (xdr_utmpidleptr): Likewise.
12722         (xdr_utmpidlearr): Likewise.
12724         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
12725         log, log10 and log2.
12726         * math/auto-libm-test-out: Regenerated.
12727         * math/libm-test.inc (fmod_test_data): Add more tests.
12728         (fpclassify_test_data): Likewise.
12729         (frexp_test_data): Likewise.
12730         (hypot_test_data): Likewise.
12731         (ilogb_test_data): Likewise.
12733 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
12735         * debug/fortify_fail.c (__fortify_fail): Convert to
12736         prototype-style function definition.  Use internal_function.
12737         * libio/genops.c (save_for_backup): Convert to prototype-style
12738         function definition.
12739         * libio/wgenops.c (save_for_wbackup): Likewise.
12740         * login/grantpt.c (grantpt): Likewise.
12741         * login/ptsname.c (ptsname): Likewise.
12742         (__ptsname_r): Likewise.
12743         * login/unlockpt.c (unlockpt): Likewise.
12744         * mach/msgserver.c (__mach_msg_server): Likewise.
12745         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
12746         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
12747         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
12748         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
12749         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
12750         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
12751         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
12752         Likewise.
12753         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
12754         internal_function.
12755         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
12756         prototype-style function definition.
12757         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
12758         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
12759         (__pthread_create_2_0): Likewise.
12760         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
12761         * nptl/register-atfork.c (__register_atfork): Likewise.
12762         * posix/glob.c (glob): Likewise.
12763         * posix/regcomp.c (re_comp): Likewise.
12764         * posix/regexec.c (re_exec): Likewise.
12765         * stdlib/add_n.c [__STDC__]: Make code unconditional.
12766         [!__STDC__]: Remove conditional code.
12767         * stdlib/cmp.c [__STDC__]: Make code unconditional.
12768         [!__STDC__]: Remove conditional code.
12769         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
12770         [!__STDC__]: Remove conditional code.
12771         * stdlib/divrem.c [__STDC__]: Make code unconditional.
12772         [!__STDC__]: Remove conditional code.
12773         * stdlib/lshift.c [__STDC__]: Make code unconditional.
12774         [!__STDC__]: Remove conditional code.
12775         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
12776         [!__STDC__]: Remove conditional code.
12777         * stdlib/mul.c [__STDC__]: Make code unconditional.
12778         [!__STDC__]: Remove conditional code.
12779         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
12780         [!__STDC__]: Remove conditional code.
12781         * stdlib/rshift.c [__STDC__]: Make code unconditional.
12782         [!__STDC__]: Remove conditional code.
12783         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
12784         function definition.
12785         (STRTOF): Likewise.
12786         * stdlib/strtod_l.c (__STRTOF): Likewise.
12787         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
12788         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
12789         (__strtol_l): Likewise.
12790         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
12791         [!__STDC__]: Remove conditional code.
12792         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
12793         definition.
12794         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12795         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12796         type.
12797         (__strcasecmp): Convert to prototype-style function definition.
12798         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
12799         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12800         type.
12801         (__strncasecmp): Convert to prototype-style function definition.
12802         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
12803         * sunrpc/xdr.c (xdr_union): Likewise.
12804         * sunrpc/xdr_array.c (xdr_array): Likewise.
12805         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
12806         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
12807         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
12808         Likewise.
12809         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
12810         Likewise.
12811         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
12812         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
12813         Likewise.
12814         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
12815         (LOCALE_PARAM_PROTO): Likewise.
12816         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
12817         argument type.
12818         (ut_argument_spec): Remove macro.
12819         (ut_argument_spec_iso): Rename to ut_argument_spec.
12820         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
12821         prototype-style function definition.
12822         (memcpy_uppcase): Likewise.
12823         (__strftime_internal): Likewise.
12824         (my_strftime): Likewise.
12825         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
12826         (LOCALE_PARAM_DECL): Likewise.
12827         [_LIBC] (LOCALE_PARAM): Include argument type.
12828         (__strptime_internal): Convert to prototype-style function
12829         definition.
12830         (strptime): Likewise.
12831         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
12832         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12833         type.
12834         (__wcscasecmp): Convert to prototype-style function definition.
12835         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
12836         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
12837         type.
12838         (__wcsncasecmp): Convert to prototype-style function definition.
12840         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
12841         function definition.
12842         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
12843         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
12844         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
12845         * elf/dl-minimal.c (_itoa): Likewise.
12846         * hurd/hurdmalloc.c (malloc): Likewise.
12847         (free): Likewise.
12848         (realloc): Likewise.
12849         * inet/inet6_option.c (inet6_option_space): Likewise.
12850         (inet6_option_init): Likewise.
12851         (inet6_option_append): Likewise.
12852         (inet6_option_alloc): Likewise.
12853         (inet6_option_next): Likewise.
12854         (inet6_option_find): Likewise.
12855         * io/ftw.c (FTW_NAME): Likewise.
12856         (NFTW_NAME): Likewise.
12857         (NFTW_NEW_NAME): Likewise.
12858         (NFTW_OLD_NAME): Likewise.
12859         * libio/iofwide.c (_IO_fwide): Likewise.
12860         * libio/strops.c (_IO_str_init_static_internal): Likewise.
12861         (_IO_str_init_static): Likewise.
12862         (_IO_str_init_readonly): Likewise.
12863         (_IO_str_overflow): Likewise.
12864         (_IO_str_underflow): Likewise.
12865         (_IO_str_count): Likewise.
12866         (_IO_str_seekoff): Likewise.
12867         (_IO_str_pbackfail): Likewise.
12868         (_IO_str_finish): Likewise.
12869         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
12870         (_IO_wstr_overflow): Likewise.
12871         (_IO_wstr_underflow): Likewise.
12872         (_IO_wstr_count): Likewise.
12873         (_IO_wstr_seekoff): Likewise.
12874         (_IO_wstr_pbackfail): Likewise.
12875         (_IO_wstr_finish): Likewise.
12876         * locale/programs/localedef.c (normalize_codeset): Likewise.
12877         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
12878         (add_locales_to_archive): Likewise.
12879         (delete_locales_from_archive): Likewise.
12880         * malloc/malloc.c (__libc_mallinfo): Likewise.
12881         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
12882         * misc/tsearch.c (__tfind): Likewise.
12883         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
12884         * nptl/pthread_attr_getdetachstate.c
12885         (__pthread_attr_getdetachstate): Likewise.
12886         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
12887         Likewise.
12888         * nptl/pthread_attr_getinheritsched.c
12889         (__pthread_attr_getinheritsched): Likewise.
12890         * nptl/pthread_attr_getschedparam.c
12891         (__pthread_attr_getschedparam): Likewise.
12892         * nptl/pthread_attr_getschedpolicy.c
12893         (__pthread_attr_getschedpolicy): Likewise.
12894         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
12895         Likewise.
12896         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
12897         Likewise.
12898         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
12899         Likewise.
12900         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
12901         Likewise.
12902         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
12903         (__pthread_attr_init_2_0): Likewise.
12904         * nptl/pthread_attr_setdetachstate.c
12905         (__pthread_attr_setdetachstate): Likewise.
12906         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
12907         Likewise.
12908         * nptl/pthread_attr_setinheritsched.c
12909         (__pthread_attr_setinheritsched): Likewise.
12910         * nptl/pthread_attr_setschedparam.c
12911         (__pthread_attr_setschedparam): Likewise.
12912         * nptl/pthread_attr_setschedpolicy.c
12913         (__pthread_attr_setschedpolicy): Likewise.
12914         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
12915         Likewise.
12916         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
12917         Likewise.
12918         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
12919         Likewise.
12920         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
12921         Likewise.
12922         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
12923         Likewise.
12924         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
12925         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
12926         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
12927         use internal_function.
12928         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
12929         prototype-style function definition.
12930         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
12931         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
12932         internal_function.
12933         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
12934         Convert to prototype-style function definition.
12935         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
12936         Likewise.
12937         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
12938         Likewise.
12939         (__pthread_mutex_unlock): Likewise.
12940         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
12941         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
12942         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
12943         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
12944         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
12945         * nss/makedb.c (process_input): Likewise.
12946         * posix/fnmatch.c (__strchrnul): Likewise.
12947         (__wcschrnul): Likewise.
12948         (fnmatch): Likewise.
12949         * posix/fnmatch_loop.c (FCT): Likewise.
12950         * posix/glob.c (globfree): Likewise.
12951         (__glob_pattern_type): Likewise.
12952         (__glob_pattern_p): Likewise.
12953         * posix/regcomp.c (re_compile_pattern): Likewise.
12954         (re_set_syntax): Likewise.
12955         (re_compile_fastmap): Likewise.
12956         (regcomp): Likewise.
12957         (regerror): Likewise.
12958         (regfree): Likewise.
12959         * posix/regexec.c (regexec): Likewise.
12960         (re_match): Likewise.
12961         (re_search): Likewise.
12962         (re_match_2): Likewise.
12963         (re_search_2): Likewise.
12964         (re_search_stub): Likewise.  Use internal_function
12965         (re_copy_regs): Likewise.
12966         (re_set_registers): Convert to prototype-style function
12967         definition.
12968         (prune_impossible_nodes): Likewise.  Use internal_function.
12969         * resolv/inet_net_pton.c (inet_net_pton): Convert to
12970         prototype-style function definition.
12971         (inet_net_pton_ipv4): Likewise.
12972         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
12973         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
12974         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
12975         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
12976         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12977         Make variadic.
12978         * time/strptime_l.c (localtime_r): Convert to prototype-style
12979         function definition.
12980         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
12981         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
12982         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
12983         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
12985         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
12986         definition.
12987         (_ufc_doit_r): Likewise.
12988         * crypt/crypt_util.c (_ufc_copymem): Likewise.
12989         (_ufc_output_conversion_r): Likewise.
12990         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
12991         * inet/rcmd.c (rcmd_af): Likewise.
12992         (rcmd): Likewise.
12993         (ruserok_af): Likewise.
12994         (ruserok): Likewise.
12995         (ruserok2_sa): Likewise.
12996         (ruserok_sa): Likewise.
12997         (iruserok_af): Likewise.
12998         (iruserok): Likewise.
12999         (__ivaliduser): Likewise.
13000         (__validuser2_sa): Likewise.
13001         * inet/rexec.c (rexec_af): Likewise.
13002         (rexec): Likewise.
13003         * inet/ruserpass.c (ruserpass): Likewise.
13004         * locale/programs/xmalloc.c (xcalloc): Likewise.
13005         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
13006         * math/w_drem.c (__drem): Likewise.
13007         * math/w_dremf.c (__dremf): Likewise.
13008         * math/w_dreml.c (__dreml): Likewise.
13009         * misc/daemon.c (daemon): Likewise.
13010         * resolv/res_debug.c (p_fqnname): Likewise.
13011         * stdlib/div.c (div): Likewise.
13012         * string/memcmp.c (memcmp_bytes): Likewise.
13013         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
13014         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
13016         * crypt/cert.c (main): Convert to prototype-style function
13017         definition.
13018         * io/pipe.c (__pipe): Likewise.
13019         * io/pipe2.c (__pipe2): Likewise.
13020         * misc/futimesat.c (futimesat): Likewise.
13021         * misc/utimes.c (__utimes): Likewise.
13022         * posix/execve.c (__execve): Likewise.
13023         * posix/execvp.c (execvp): Likewise.
13024         * posix/execvpe.c (__execvpe): Likewise.
13025         * posix/fexecve.c (fexecve): Likewise.
13026         * socket/socketpair.c (socketpair): Likewise.
13027         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
13028         * stdlib/erand48.c (erand48): Likewise.
13029         * stdlib/erand48_r.c (__erand48_r): Likewise.
13030         * stdlib/jrand48.c (jrand48): Likewise.
13031         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
13032         * stdlib/lcong48.c (lcong48): Likewise.
13033         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
13034         * stdlib/nrand48.c (nrand48): Likewise.
13035         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
13036         * stdlib/seed48.c (seed48): Likewise.
13037         * stdlib/seed48_r.c (__seed48_r): Likewise.
13038         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
13039         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
13040         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
13042 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13044         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
13045         * configure: Regenerated.
13046         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
13047         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
13048         unconditional.
13049         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13050         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13051         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13052         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
13053         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
13054         unconditional.
13055         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
13057         * posix/Makefile (CFLAGS-regex.c): Remove variable.
13058         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
13060         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
13061         function definition.
13062         * crypt/crypt_util.c (__encrypt_r): Likewise.
13063         * libio/genops.c (_IO_no_init): Likewise.
13064         * libio/iofopncook.c (_IO_fopencookie): Likewise.
13065         (_IO_old_fopencookie): Likewise.
13066         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
13067         * libio/iogetline.c (_IO_getline): Likewise.
13068         (_IO_getline_info): Likewise.
13069         * libio/iogetwline.c (_IO_getwline): Likewise.
13070         (_IO_getwline_info): Likewise.
13071         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
13072         * libio/vswprintf.c (_IO_vswprintf): Likewise.
13073         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
13074         (find_entry): Likewise.
13075         (iterate_table): Likewise.
13076         (lookup): Likewise.
13077         * login/forkpty.c (forkpty): Likewise.
13078         * misc/hsearch_r.c (__hsearch_r): Likewise.
13079         * misc/select.c (__select): Likewise.
13080         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
13081         Likewise.
13082         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
13083         Likewise.
13084         * nptl/old_pthread_cond_timedwait.c
13085         (__pthread_cond_timedwait_2_0): Likewise.
13086         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
13087         * nptl/pthread_barrierattr_getpshared.c
13088         (pthread_barrierattr_getpshared): Likewise.
13089         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
13090         Likewise.
13091         * nptl/pthread_mutex_setprioceiling.c
13092         (pthread_mutex_setprioceiling): Likewise.
13093         * nptl/pthread_mutexattr_getprioceiling.c
13094         (pthread_mutexattr_getprioceiling): Likewise.
13095         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
13096         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
13097         Likewise.
13098         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
13099         Likewise.
13100         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
13101         Likewise.
13102         * socket/recvfrom.c (__recvfrom): Likewise.
13103         * socket/sendto.c (__sendto): Likewise.
13104         * socket/setsockopt.c (__setsockopt): Likewise.
13105         * stdio-common/_itoa.c (_itoa): Likewise.
13106         * stdio-common/_itowa.c (_itowa): Likewise.
13107         * stdio-common/reg-printf.c (__register_printf_specifier):
13108         Likewise.
13109         (__register_printf_function): Likewise.
13110         * stdio-common/tempname.c (__path_search): Likewise.
13111         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
13112         * stdlib/mul_1.c (mpn_mul_1): Likewise.
13113         * stdlib/random_r.c (__initstate_r): Likewise.
13114         * stdlib/setenv.c (__add_to_environ): Likewise.
13115         * stdlib/submul_1.c (mpn_submul_1): Likewise.
13116         * streams/getpmsg.c (getpmsg): Likewise.
13117         * streams/putmsg.c (putmsg): Likewise.
13118         * streams/putpmsg.c (putpmsg): Likewise.
13119         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
13120         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
13121         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
13122         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
13123         * sunrpc/pm_getport.c (pmap_getport): Likewise.
13124         * sunrpc/svc_udp.c (cache_get): Likewise.
13125         * sunrpc/xdr_array.c (xdr_vector): Likewise.
13126         * sysdeps/mach/hurd/getcwd.c
13127         (__canonicalize_directory_name_internal): Likewise.
13128         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
13129         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
13130         * sysdeps/mach/hurd/select.c (__select): Likewise.
13131         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
13132         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
13133         * sysdeps/sparc/nptl/pthread_barrier_init.c
13134         (__pthread_barrier_init): Likewise.
13135         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
13136         (__pthread_cond_timedwait): Likewise.
13137         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
13138         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
13139         Likewise.
13140         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
13141         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
13142         Likewise.
13143         * sysvipc/semtimedop.c (semtimedop): Likewise.
13144         * time/setitimer.c (__setitimer): Likewise.
13145         * time/strftime_l.c (emacs_strftime): Likewise.
13147 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13149         * config.make.in (have-ssp): Delete.
13150         (stack-protector): New variable.
13151         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
13152         cache test for -fstack-protector-strong.  Export stack_protector to
13153         the best ssp flag.
13154         * configure: Regenerated.
13155         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
13156         * nscd/Makefile (CFLAGS-nscd): Likewise.
13157         * resolv/Makefile (CFLAGS-libresolv): Likewise.
13159 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
13161         [BZ #19122]
13162         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
13163         attribute_hidden.
13165 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13167         [BZ #18743]
13168         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
13169         code to...
13170         (ELIDE_LOCK): ...here.
13171         (__get_new_count): New function with part of the code from
13172         __elide_lock that updates the value of adapt_count after a
13173         transaction abort.
13174         (__elided_trylock): Moved this code to...
13175         (ELIDE_TRYLOCK): ...here.
13177 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
13179         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
13180         * configure: Regenerate.
13181         * INSTALL: Regenerate.
13182         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
13183         and tweak grammar.
13185 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
13187         * login/programs/pt_chown.c: Include signal.h
13188         (main): Clear any signal mask from the parent process.
13190 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
13192         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
13193         * configure: Regenerated.
13194         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
13195         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
13196         $(gnu89-inline-CFLAGS).
13198         * configure.ac (libc_cv_asm_weak_directive): Remove configure
13199         test.
13200         (libc_cv_asm_weakext_directive): Likewise.
13201         * configure: Regenerated.
13202         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
13203         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
13204         * include/libc-symbols.h
13205         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
13206         #error.
13207         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
13208         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
13210         * sysdeps/arm/backtrace.c (__backtrace): Convert to
13211         prototype-style function definition.
13212         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
13213         * sysdeps/i386/ffs.c (__ffs): Likewise.
13214         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
13215         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
13216         Likewise.
13217         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13218         Likewise.
13219         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
13220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
13221         Likewise.
13222         * sysdeps/m68k/ffs.c (__ffs): Likewise.
13223         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
13224         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
13225         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
13226         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
13227         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
13228         * sysdeps/mach/hurd/access.c (__access): Likewise.
13229         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
13230         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
13231         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
13232         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
13233         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
13234         (cthread_getspecific): Likewise.
13235         (cthread_setspecific): Likewise.
13236         (__libc_getspecific): Likewise.
13237         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
13238         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
13239         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
13240         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
13241         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
13242         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
13243         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
13244         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
13245         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
13246         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
13247         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
13248         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
13249         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
13250         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
13251         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
13252         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
13253         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
13254         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
13255         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
13256         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
13257         * sysdeps/mach/hurd/link.c (__link): Likewise.
13258         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
13259         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
13260         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
13261         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
13262         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
13263         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
13264         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
13265         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
13266         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
13267         * sysdeps/mach/hurd/rename.c (rename): Likewise.
13268         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
13269         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
13270         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
13271         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
13272         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
13273         * sysdeps/mach/hurd/send.c (__send): Likewise.
13274         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
13275         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
13276         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
13277         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
13278         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
13279         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
13280         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
13281         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
13282         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
13283         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
13284         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
13285         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
13286         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
13287         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
13288         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
13289         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
13290         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
13291         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
13292         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
13293         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
13294         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
13295         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
13296         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
13297         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
13298         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
13299         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
13300         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
13301         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
13302         * sysdeps/posix/alarm.c (alarm): Likewise.
13303         * sysdeps/posix/cuserid.c (cuserid): Likewise.
13304         * sysdeps/posix/dirfd.c (dirfd): Likewise.
13305         * sysdeps/posix/dup.c (__dup): Likewise.
13306         * sysdeps/posix/dup2.c (__dup2): Likewise.
13307         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
13308         (main): Likewise.
13309         * sysdeps/posix/flock.c (__flock): Likewise.
13310         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
13311         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
13312         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
13313         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
13314         * sysdeps/posix/isatty.c (__isatty): Likewise.
13315         * sysdeps/posix/killpg.c (killpg): Likewise.
13316         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
13317         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
13318         * sysdeps/posix/raise.c (raise): Likewise.
13319         * sysdeps/posix/remove.c (remove): Likewise.
13320         * sysdeps/posix/rename.c (rename): Likewise.
13321         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
13322         * sysdeps/posix/seekdir.c (seekdir): Likewise.
13323         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
13324         * sysdeps/posix/sigignore.c (sigignore): Likewise.
13325         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
13326         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
13327         * sysdeps/posix/sigset.c (sigset): Likewise.
13328         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
13329         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
13330         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
13331         * sysdeps/posix/time.c (time): Likewise.
13332         * sysdeps/posix/ttyname.c (getttyname): Likewise.
13333         (ttyname): Likewise.
13334         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
13335         * sysdeps/posix/utime.c (utime): Likewise.
13336         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
13337         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
13338         Likewise.
13339         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
13340         (pthread_spin_trylock): Likewise.
13341         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
13342         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
13343         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
13344         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
13345         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
13346         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
13347         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
13348         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
13349         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
13350         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
13351         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
13352         * sysdeps/s390/ffs.c (__ffs): Likewise.
13353         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
13354         Likewise.
13355         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
13356         Likewise.
13357         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
13358         Likewise.
13359         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
13360         (pthread_barrier_destroy): Likewise.
13361         * sysdeps/sparc/nptl/pthread_barrier_wait.c
13362         (__pthread_barrier_wait): Likewise.
13363         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
13364         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
13365         (__pthread_barrier_wait): Likewise.
13366         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
13367         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
13368         (memcmp_not_common_alignment): Likewise.
13369         (MEMCMP): Likewise.
13370         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
13371         (_wordcopy_fwd_dest_aligned): Likewise.
13372         (_wordcopy_bwd_aligned): Likewise.
13373         (_wordcopy_bwd_dest_aligned): Likewise.
13374         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
13375         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
13376         * sysdeps/unix/bsd/stty.c (stty): Likewise.
13377         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
13378         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
13379         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
13380         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
13381         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
13382         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
13383         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
13384         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
13385         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
13386         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
13387         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
13388         * sysdeps/unix/stime.c (stime): Likewise.
13389         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
13390         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
13391         Likewise.  Use internal_function.
13392         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
13393         Convert to prototype-style function definition.
13394         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
13395         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
13396         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
13397         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
13398         Likewise.  Use internal_function.
13399         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
13400         prototype-style function definition
13401         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
13402         Likewise.
13403         (__getlogin_r): Likewise.
13404         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
13405         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
13406         (__pthread_cond_broadcast): Likewise.
13407         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
13408         (__pthread_cond_destroy): Likewise.
13409         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
13410         (__pthread_cond_init): Likewise.
13411         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
13412         (__pthread_cond_signal): Likewise.
13413         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
13414         (__pthread_cond_wait): Likewise.
13415         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
13416         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
13417         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
13418         Likewise.
13419         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
13420         Likewise.
13421         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
13422         Likewise.
13423         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
13424         Likewise.
13425         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
13426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
13427         (__ftruncate64): Likewise.
13428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
13429         (truncate64): Likewise.
13430         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
13431         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
13432         (pthread_getcpuclockid): Likewise.
13433         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
13434         Likewise.
13435         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
13436         Likewise.
13437         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
13438         Likewise.
13439         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
13440         Likewise.
13441         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
13442         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
13443         (__libc_sigaction): Likewise.
13444         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
13445         Likewise.
13446         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
13447         (__sigprocmask): Likewise.
13448         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
13449         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
13450         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
13451         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
13452         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
13453         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
13454         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
13455         Likewise.
13456         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
13457         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
13458         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
13459         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
13460         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
13461         Likewise.
13462         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
13463         (__sigprocmask): Likewise.
13464         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
13465         (cfgetispeed): Likewise.
13466         (cfsetospeed): Likewise.
13467         (cfsetispeed): Likewise.
13468         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
13469         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
13470         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
13471         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
13472         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
13473         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
13474         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
13475         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
13476         Likewise.
13477         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
13478         Likewise.
13479         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
13480         Likewise.
13481         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
13482         Likewise.
13483         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
13485 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13487         sunrpc: Rewrite with explicit TLS access using __thread.
13488         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
13489         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
13490         directly.
13491         (__rpc_thread_variables): Access thread_rpc_vars directly.
13492         Eliminate redundant assignment of the tvp variable.
13494 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13496         malloc: Rewrite with explicit TLS access using __thread.
13497         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
13498         (tsd_setspecific, tsd_getspecific): Remove.
13499         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
13500         (tsd_setspecific, tsd_getspecific): Likewise.
13501         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
13502         (tsd_setspecific, tsd_getspecific): Likewise.
13503         * malloc/arena.c (thread_arena): New TLS variable.
13504         (arena_key): Remove variable.
13505         (arena_get): Use thread_arena.
13506         (arena_lookup): Remove macro.
13507         (malloc_atfork, free_atfork, ptmalloc_lock_all)
13508         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
13509         (_int_new_arena, get_free_list, reused_arena)
13510         (arena_thread_freeres): Use thread_arena.
13511         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
13512         tsd_getspecific, tsd_setspecific from safety annotations.
13513         (Allocating Cleared Space): Remove arena_lookup from safety
13514         annotations.
13516 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13518         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
13519         struct scratch_buffer instead of extend_alloca.
13521 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13523         * sysdeps/unix/sysv/linux/kernel-features.h
13524         (__ASSUME_SOCK_CLOEXEC): Remove.
13525         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
13526         (__have_paccept): Remove unused macro.
13527         * include/unistd.h (__have_sock_cloexec): Remove declaration.
13528         * misc/syslog.c (openlog_internal): Remove fallback code for
13529         !__ASSUME_SOCK_CLOEXEC.
13530         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
13531         missing SOCK_CLOEXEC.
13532         * nscd/connections.c (have_sock_cloexec): Remove definition.
13533         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13534         * nscd/nscd_helper.c (open_socket): Remove fallback code for
13535         !__ASSUME_SOCK_CLOEXEC.
13536         * resolv/res_send.c (__have_o_nonblock): Remove definition.
13537         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
13538         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
13539         definition.
13540         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
13541         code for !__ASSUME_SOCK_CLOEXEC.
13543 2015-10-17  Florian Weimer  <fweimer@redhat.com>
13545         [BZ #18982]
13546         * manual/stdio.texi (Variable Arguments Output): Add portability
13547         note, explaining that vfprintf clobbers the va_list pointer.
13549 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13551         * math/libm-test.inc (fabs_test_data): Add more tests.
13552         (fdim_test_data): Likewise.
13553         (fma_test_data): Likewise.
13554         (fmax_test_data): Likewise.
13555         (fmin_test_data): Likewise.
13556         (fmod_test_data): Likewise.
13558 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
13560         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
13561         data.
13563 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
13565         * math/libm-test.inc (ceil_test_data): Add more tests and more
13566         expectations for "inexact".
13567         (floor_test_data): Add more tests.
13568         (round_test_data): Likewise.
13569         (trunc_test_data): Likewise.
13571         * crypt/cert.c (good_bye): Convert to prototype-style function
13572         definition.
13573         (get8): Likewise.
13574         (put8): Likewise.
13575         * crypt/crypt-entry.c (crypt): Likewise.
13576         (__fcrypt): Likewise.
13577         * crypt/crypt_util.c (_ufc_prbits): Likewise.
13578         (_ufc_set_bits): Likewise.
13579         (_ufc_clearmem): Likewise.
13580         (__init_des_r): Likewise.
13581         (shuffle_sb): Likewise.
13582         (shuffle_sb): Likewise.
13583         (_ufc_setup_salt_r): Likewise.
13584         (_ufc_mk_keytab_r): Likewise.
13585         (_ufc_dofinalperm_r): Likewise.
13586         (encrypt): Likewise.
13587         (__setkey_r): Likewise.
13588         (setkey): Likewise.
13589         * crypt/md5.c (md5_init_ctx): Likewise.
13590         (md5_read_ctx): Likewise.
13591         (md5_finish_ctx): Likewise.
13592         (md5_stream): Likewise.
13593         (md5_buffer): Likewise.
13594         (md5_process_bytes): Likewise.
13595         * crypt/sha256.c (__sha256_init_ctx): Likewise.
13596         (__sha256_finish_ctx): Likewise.
13597         (__sha256_process_bytes): Likewise.
13598         * crypt/sha512.c (__sha512_init_ctx): Likewise.
13599         (__sha512_finish_ctx): Likewise.
13600         (__sha512_process_bytes): Likewise.
13601         * ctype/isctype.c (__isctype): Likewise.
13602         * debug/backtrace.c (__backtrace): Likewise.
13603         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
13604         * debug/fgets_chk.c (__fgets_chk): Likewise.
13605         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
13606         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
13607         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
13608         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
13609         * debug/memset_chk.c (__memset_chk): Likewise.
13610         * debug/strcat_chk.c (__strcat_chk): Likewise.
13611         * debug/strncat_chk.c (__strncat_chk): Likewise.
13612         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
13613         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
13614         * dirent/dirfd.c (dirfd): Likewise.
13615         * dirent/getdents.c (__getdirentries): Likewise.
13616         * dirent/getdents64.c (getdirentries64): Likewise.
13617         * dirent/rewinddir.c (__rewinddir): Likewise.
13618         * dirent/seekdir.c (seekdir): Likewise.
13619         * dirent/telldir.c (telldir): Likewise.
13620         * elf/sln.c (makesymlinks): Likewise.
13621         (makesymlink): Likewise.
13622         * gmon/gmon.c (__moncontrol): Likewise.
13623         (__monstartup): Likewise.
13624         (write_hist): Likewise.
13625         (write_call_graph): Likewise.
13626         (write_bb_counts): Likewise.
13627         * grp/setgroups.c (setgroups): Likewise.
13628         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13629         * inet/inet_net.c (inet_network): Likewise.
13630         * inet/inet_netof.c (inet_netof): Likewise.
13631         * inet/rcmd.c (rresvport_af): Likewise.
13632         (rresvport): Likewise.
13633         * io/access.c (__access): Likewise.
13634         * io/chdir.c (__chdir): Likewise.
13635         * io/chmod.c (__chmod): Likewise.
13636         * io/chown.c (__chown): Likewise.
13637         * io/close.c (__close): Likewise.
13638         * io/creat.c (creat): Likewise.
13639         * io/creat64.c (creat64): Likewise.
13640         * io/dup.c (__dup): Likewise.
13641         * io/dup2.c (__dup2): Likewise.
13642         * io/dup3.c (__dup3): Likewise.
13643         * io/euidaccess.c (__euidaccess): Likewise.
13644         * io/faccessat.c (faccessat): Likewise.
13645         * io/fchmod.c (__fchmod): Likewise.
13646         * io/fchmodat.c (fchmodat): Likewise.
13647         * io/fchown.c (__fchown): Likewise.
13648         * io/fchownat.c (fchownat): Likewise.
13649         * io/fcntl.c (__fcntl): Likewise.
13650         * io/flock.c (__flock): Likewise.
13651         * io/fts.c (fts_load): Likewise.
13652         (fts_close): Likewise.
13653         (fts_read): Likewise.
13654         (fts_set): Likewise.
13655         (fts_children): Likewise.
13656         (fts_build): Likewise.
13657         (fts_stat): Likewise.
13658         (fts_sort): Likewise.
13659         (fts_alloc): Likewise.
13660         (fts_lfree): Likewise.
13661         (fts_palloc): Likewise.
13662         (fts_padjust): Likewise.
13663         (fts_maxarglen): Likewise.
13664         (fts_safe_changedir): Likewise.
13665         * io/getwd.c (getwd): Likewise.
13666         * io/isatty.c (__isatty): Likewise.
13667         * io/lchown.c (__lchown): Likewise.
13668         * io/link.c (__link): Likewise.
13669         * io/linkat.c (linkat): Likewise.
13670         * io/lseek.c (__libc_lseek): Likewise.
13671         * io/mkdir.c (__mkdir): Likewise.
13672         * io/mkdirat.c (mkdirat): Likewise.
13673         * io/mkfifo.c (mkfifo): Likewise.
13674         * io/mkfifoat.c (mkfifoat): Likewise.
13675         * io/open.c (__libc_open): Likewise.
13676         * io/open64.c (__libc_open64): Likewise.
13677         * io/readlink.c (__readlink): Likewise.
13678         * io/readlinkat.c (readlinkat): Likewise.
13679         * io/rmdir.c (__rmdir): Likewise.
13680         * io/symlink.c (__symlink): Likewise.
13681         * io/symlinkat.c (symlinkat): Likewise.
13682         * io/ttyname.c (ttyname): Likewise.
13683         * io/ttyname_r.c (__ttyname_r): Likewise.
13684         * io/umask.c (__umask): Likewise.
13685         * io/unlink.c (__unlink): Likewise.
13686         * io/unlinkat.c (unlinkat): Likewise.
13687         * io/utime.c (utime): Likewise.
13688         * libio/clearerr.c (clearerr): Likewise.
13689         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
13690         * libio/feof.c (_IO_feof): Likewise.
13691         * libio/feof_u.c (feof_unlocked): Likewise.
13692         * libio/ferror.c (_IO_ferror): Likewise.
13693         * libio/ferror_u.c (ferror_unlocked): Likewise.
13694         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
13695         * libio/fileno.c (__fileno): Likewise.
13696         * libio/fputc.c (fputc): Likewise.
13697         * libio/fputc_u.c (fputc_unlocked): Likewise.
13698         * libio/fputwc.c (fputwc): Likewise.
13699         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
13700         * libio/freopen.c (freopen): Likewise.
13701         * libio/freopen64.c (freopen64): Likewise.
13702         * libio/fseek.c (fseek): Likewise.
13703         * libio/fseeko.c (fseeko): Likewise.
13704         * libio/fseeko64.c (fseeko64): Likewise.
13705         * libio/ftello.c (__ftello): Likewise.
13706         * libio/ftello64.c (ftello64): Likewise.
13707         * libio/fwide.c (fwide): Likewise.
13708         * libio/genops.c (_IO_un_link): Likewise.
13709         (_IO_link_in): Likewise.
13710         (_IO_least_marker): Likewise.
13711         (_IO_switch_to_main_get_area): Likewise.
13712         (_IO_switch_to_backup_area): Likewise.
13713         (_IO_switch_to_get_mode): Likewise.
13714         (_IO_free_backup_area): Likewise.
13715         (_IO_switch_to_put_mode): Likewise.
13716         (__overflow): Likewise.
13717         (__underflow): Likewise.
13718         (__uflow): Likewise.
13719         (_IO_setb): Likewise.
13720         (_IO_doallocbuf): Likewise.
13721         (_IO_default_underflow): Likewise.
13722         (_IO_default_uflow): Likewise.
13723         (_IO_default_xsputn): Likewise.
13724         (_IO_sgetn): Likewise.
13725         (_IO_default_xsgetn): Likewise.
13726         (_IO_sync): Likewise.
13727         (_IO_default_setbuf): Likewise.
13728         (_IO_default_seekpos): Likewise.
13729         (_IO_default_doallocate): Likewise.
13730         (_IO_init): Likewise.
13731         (_IO_old_init): Likewise.
13732         (_IO_default_sync): Likewise.
13733         (_IO_default_finish): Likewise.
13734         (_IO_default_seekoff): Likewise.
13735         (_IO_sputbackc): Likewise.
13736         (_IO_sungetc): Likewise.
13737         (_IO_set_column): Likewise.
13738         (_IO_set_column): Likewise.
13739         (_IO_adjust_column): Likewise.
13740         (_IO_get_column): Likewise.
13741         (_IO_init_marker): Likewise.
13742         (_IO_remove_marker): Likewise.
13743         (_IO_marker_difference): Likewise.
13744         (_IO_marker_delta): Likewise.
13745         (_IO_seekmark): Likewise.
13746         (_IO_unsave_markers): Likewise.
13747         (_IO_nobackup_pbackfail): Likewise.
13748         (_IO_default_pbackfail): Likewise.
13749         (_IO_default_seek): Likewise.
13750         (_IO_default_stat): Likewise.
13751         (_IO_default_read): Likewise.
13752         (_IO_default_write): Likewise.
13753         (_IO_default_showmanyc): Likewise.
13754         (_IO_default_imbue): Likewise.
13755         (_IO_iter_next): Likewise.
13756         (_IO_iter_file): Likewise.
13757         * libio/getc.c (_IO_getc): Likewise.
13758         * libio/getwc.c (_IO_getwc): Likewise.
13759         * libio/iofclose.c (_IO_new_fclose): Likewise.
13760         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
13761         * libio/iofflush.c (_IO_fflush): Likewise.
13762         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
13763         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
13764         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
13765         * libio/iofgets.c (_IO_fgets): Likewise.
13766         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
13767         * libio/iofgetws.c (fgetws): Likewise.
13768         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
13769         * libio/iofopen64.c (_IO_fopen64): Likewise.
13770         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13771         (_IO_cookie_write): Likewise.
13772         (_IO_cookie_seek): Likewise.
13773         (_IO_cookie_close): Likewise.
13774         (_IO_cookie_seekoff): Likewise.
13775         (_IO_old_cookie_seek): Likewise.
13776         * libio/iofputs.c (_IO_fputs): Likewise.
13777         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
13778         * libio/iofputws.c (fputws): Likewise.
13779         * libio/iofputws_u.c (fputws_unlocked): Likewise.
13780         * libio/iofread.c (_IO_fread): Likewise.
13781         * libio/iofread_u.c (__fread_unlocked): Likewise.
13782         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
13783         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
13784         * libio/ioftell.c (_IO_ftell): Likewise.
13785         * libio/iofwrite.c (_IO_fwrite): Likewise.
13786         * libio/iogetdelim.c (_IO_getdelim): Likewise.
13787         * libio/iogets.c (_IO_gets): Likewise.
13788         * libio/iopadn.c (_IO_padn): Likewise.
13789         * libio/iopopen.c (_IO_new_proc_open): Likewise.
13790         (_IO_new_popen): Likewise.
13791         (_IO_new_proc_close): Likewise.
13792         * libio/ioputs.c (_IO_puts): Likewise.
13793         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
13794         (_IO_seekoff): Likewise.
13795         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
13796         (_IO_seekpos): Likewise.
13797         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
13798         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
13799         * libio/ioungetc.c (_IO_ungetc): Likewise.
13800         * libio/ioungetwc.c (ungetwc): Likewise.
13801         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
13802         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
13803         * libio/iowpadn.c (_IO_wpadn): Likewise.
13804         * libio/libc_fatal.c (__libc_fatal): Likewise.
13805         * libio/memstream.c (__open_memstream): Likewise.
13806         (_IO_mem_sync): Likewise.
13807         (_IO_mem_finish): Likewise.
13808         * libio/oldfileops.c (_IO_old_file_init): Likewise.
13809         (_IO_old_file_close_it): Likewise.
13810         (_IO_old_file_finish): Likewise.
13811         (_IO_old_file_fopen): Likewise.
13812         (_IO_old_file_attach): Likewise.
13813         (_IO_old_file_setbuf): Likewise.
13814         (_IO_old_do_write): Likewise.
13815         (old_do_write): Likewise.
13816         (_IO_old_file_underflow): Likewise.
13817         (_IO_old_file_overflow): Likewise.
13818         (_IO_old_file_sync): Likewise.
13819         (_IO_old_file_seekoff): Likewise.
13820         (_IO_old_file_write): Likewise.
13821         (_IO_old_file_xsputn): Likewise.
13822         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
13823         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
13824         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
13825         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
13826         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
13827         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
13828         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
13829         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
13830         (_IO_old_popen): Likewise.
13831         (_IO_old_proc_close): Likewise.
13832         * libio/oldpclose.c (__old_pclose): Likewise.
13833         * libio/pclose.c (__new_pclose): Likewise.
13834         * libio/peekc.c (_IO_peekc_locked): Likewise.
13835         * libio/putc.c (_IO_putc): Likewise.
13836         * libio/putc_u.c (putc_unlocked): Likewise.
13837         * libio/putchar.c (putchar): Likewise.
13838         * libio/putchar_u.c (putchar_unlocked): Likewise.
13839         * libio/putwc.c (putwc): Likewise.
13840         * libio/putwc_u.c (putwc_unlocked): Likewise.
13841         * libio/putwchar.c (putwchar): Likewise.
13842         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
13843         * libio/rewind.c (rewind): Likewise.
13844         * libio/setbuf.c (setbuf): Likewise.
13845         * libio/setlinebuf.c (setlinebuf): Likewise.
13846         * libio/vasprintf.c (_IO_vasprintf): Likewise.
13847         * libio/vscanf.c (_IO_vscanf): Likewise.
13848         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
13849         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
13850         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
13851         * libio/wgenops.c (_IO_least_wmarker): Likewise.
13852         (_IO_switch_to_main_wget_area): Likewise.
13853         (_IO_switch_to_wbackup_area): Likewise.
13854         (_IO_wsetb): Likewise.
13855         (_IO_wdefault_pbackfail): Likewise.
13856         (_IO_wdefault_finish): Likewise.
13857         (_IO_wdefault_uflow): Likewise.
13858         (__woverflow): Likewise.
13859         (__wuflow): Likewise.
13860         (__wunderflow): Likewise.
13861         (_IO_wdefault_xsputn): Likewise.
13862         (_IO_wdefault_xsgetn): Likewise.
13863         (_IO_wdoallocbuf): Likewise.
13864         (_IO_wdefault_doallocate): Likewise.
13865         (_IO_switch_to_wget_mode): Likewise.
13866         (_IO_free_wbackup_area): Likewise.
13867         (_IO_switch_to_wput_mode): Likewise.
13868         (_IO_sputbackwc): Likewise.
13869         (_IO_sungetwc): Likewise.
13870         (_IO_adjust_wcolumn): Likewise.
13871         (_IO_init_wmarker): Likewise.
13872         (_IO_wmarker_delta): Likewise.
13873         (_IO_seekwmark): Likewise.
13874         (_IO_unsave_wmarkers): Likewise.
13875         * libio/wmemstream.c (open_wmemstream): Likewise.
13876         (_IO_wmem_sync): Likewise.
13877         (_IO_wmem_finish): Likewise.
13878         * locale/nl_langinfo.c (nl_langinfo): Likewise.
13879         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
13880         * locale/programs/simple-hash.c (init_hash): Likewise.
13881         (delete_hash): Likewise.
13882         (insert_entry): Likewise.
13883         (set_entry): Likewise.
13884         (next_prime): Likewise.
13885         (is_prime): Likewise.
13886         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
13887         (xmalloc): Likewise.
13888         (xrealloc): Likewise.
13889         * locale/programs/xstrdup.c (xstrdup): Likewise.
13890         * localedata/collate-test.c (xstrcoll): Likewise.
13891         * localedata/xfrm-test.c (xstrcmp): Likewise.
13892         * login/getlogin_r.c (__getlogin_r): Likewise.
13893         * login/getpt.c (__posix_openpt): Likewise.
13894         * login/login_tty.c (login_tty): Likewise.
13895         * login/setlogin.c (setlogin): Likewise.
13896         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
13897         (mach_msg_destroy_port): Likewise.
13898         (mach_msg_destroy_memory): Likewise.
13899         * malloc/mcheck.c (flood): Likewise.
13900         * misc/acct.c (acct): Likewise.
13901         * misc/brk.c (__brk): Likewise.
13902         * misc/chflags.c (chflags): Likewise.
13903         * misc/chroot.c (chroot): Likewise.
13904         * misc/fchflags.c (fchflags): Likewise.
13905         * misc/fstab.c (getfsspec): Likewise.
13906         (getfsfile): Likewise.
13907         * misc/fsync.c (fsync): Likewise.
13908         * misc/ftruncate.c (__ftruncate): Likewise.
13909         * misc/ftruncate64.c (__ftruncate64): Likewise.
13910         * misc/getdomain.c (getdomainname): Likewise.
13911         (getdomainname): Likewise.
13912         * misc/gethostname.c (__gethostname): Likewise.
13913         * misc/getpass.c (getpass): Likewise.
13914         * misc/getttyent.c (skip): Likewise.
13915         (value): Likewise.
13916         * misc/gtty.c (gtty): Likewise.
13917         * misc/hsearch.c (hsearch): Likewise.
13918         (hcreate): Likewise.
13919         * misc/hsearch_r.c (__hcreate_r): Likewise.
13920         (__hdestroy_r): Likewise.
13921         * misc/ioctl.c (__ioctl): Likewise.
13922         * misc/mkdtemp.c (mkdtemp): Likewise.
13923         * misc/mkostemp.c (mkostemp): Likewise.
13924         * misc/mkostemp64.c (mkostemp64): Likewise.
13925         * misc/mkostemps.c (mkostemps): Likewise.
13926         * misc/mkostemps64.c (mkostemps64): Likewise.
13927         * misc/mkstemp.c (mkstemp): Likewise.
13928         * misc/mkstemp64.c (mkstemp64): Likewise.
13929         * misc/mkstemps.c (mkstemps): Likewise.
13930         * misc/mkstemps64.c (mkstemps64): Likewise.
13931         * misc/mktemp.c (__mktemp): Likewise.
13932         * misc/preadv.c (preadv): Likewise.
13933         * misc/preadv64.c (preadv64): Likewise.
13934         * misc/pwritev.c (pwritev): Likewise.
13935         * misc/pwritev64.c (pwritev64): Likewise.
13936         * misc/readv.c (__readv): Likewise.
13937         * misc/revoke.c (revoke): Likewise.
13938         * misc/setdomain.c (setdomainname): Likewise.
13939         * misc/setegid.c (setegid): Likewise.
13940         * misc/seteuid.c (seteuid): Likewise.
13941         * misc/sethostid.c (sethostid): Likewise.
13942         * misc/sethostname.c (sethostname): Likewise.
13943         * misc/setregid.c (__setregid): Likewise.
13944         * misc/setreuid.c (__setreuid): Likewise.
13945         * misc/sstk.c (sstk): Likewise.
13946         * misc/stty.c (stty): Likewise.
13947         * misc/syscall.c (syscall): Likewise.
13948         * misc/syslog.c (setlogmask): Likewise.
13949         * misc/truncate.c (__truncate): Likewise.
13950         * misc/truncate64.c (truncate64): Likewise.
13951         * misc/ualarm.c (ualarm): Likewise.
13952         * misc/usleep.c (usleep): Likewise.
13953         * misc/ustat.c (ustat): Likewise.
13954         * misc/writev.c (__writev): Likewise.
13955         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
13956         * nptl/old_pthread_cond_broadcast.c
13957         (__pthread_cond_broadcast_2_0): Likewise.
13958         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
13959         Likewise.
13960         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
13961         Likewise.
13962         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
13963         Likewise.
13964         * nptl/pt-raise.c (raise): Likewise.
13965         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
13966         Likewise.
13967         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
13968         * nptl/pthread_barrierattr_destroy.c
13969         (pthread_barrierattr_destroy): Likewise.
13970         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
13971         Likewise.
13972         * nptl/pthread_barrierattr_setpshared.c
13973         (pthread_barrierattr_setpshared): Likewise.
13974         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13975         Likewise.
13976         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
13977         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
13978         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
13979         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
13980         Likewise.
13981         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
13982         Likewise.
13983         * nptl/pthread_condattr_getpshared.c
13984         (pthread_condattr_getpshared): Likewise.
13985         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
13986         Likewise.
13987         * nptl/pthread_condattr_setpshared.c
13988         (pthread_condattr_setpshared): Likewise.
13989         * nptl/pthread_detach.c (pthread_detach): Likewise.
13990         * nptl/pthread_equal.c (__pthread_equal): Likewise.
13991         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
13992         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
13993         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
13994         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
13995         Likewise.
13996         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
13997         Likewise.
13998         * nptl/pthread_mutex_getprioceiling.c
13999         (pthread_mutex_getprioceiling): Likewise.
14000         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
14001         Likewise.
14002         * nptl/pthread_mutexattr_getprotocol.c
14003         (pthread_mutexattr_getprotocol): Likewise.
14004         * nptl/pthread_mutexattr_getpshared.c
14005         (pthread_mutexattr_getpshared): Likewise.
14006         * nptl/pthread_mutexattr_getrobust.c
14007         (pthread_mutexattr_getrobust): Likewise.
14008         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
14009         Likewise.
14010         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
14011         Likewise.
14012         * nptl/pthread_mutexattr_setprioceiling.c
14013         (pthread_mutexattr_setprioceiling): Likewise.
14014         * nptl/pthread_mutexattr_setprotocol.c
14015         (pthread_mutexattr_setprotocol): Likewise.
14016         * nptl/pthread_mutexattr_setpshared.c
14017         (pthread_mutexattr_setpshared): Likewise.
14018         * nptl/pthread_mutexattr_setrobust.c
14019         (pthread_mutexattr_setrobust): Likewise.
14020         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
14021         Likewise.
14022         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
14023         Likewise.
14024         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
14025         Likewise.
14026         * nptl/pthread_rwlockattr_getkind_np.c
14027         (pthread_rwlockattr_getkind_np): Likewise.
14028         * nptl/pthread_rwlockattr_getpshared.c
14029         (pthread_rwlockattr_getpshared): Likewise.
14030         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
14031         Likewise.
14032         * nptl/pthread_rwlockattr_setkind_np.c
14033         (pthread_rwlockattr_setkind_np): Likewise.
14034         * nptl/pthread_rwlockattr_setpshared.c
14035         (pthread_rwlockattr_setpshared): Likewise.
14036         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
14037         Likewise.
14038         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
14039         Likewise.
14040         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
14041         Likewise.
14042         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
14043         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
14044         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
14045         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
14046         * nptl/sem_close.c (sem_close): Likewise.
14047         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
14048         * nptl/sem_init.c (__old_sem_init): Likewise.
14049         * nptl/sigaction.c (__sigaction): Likewise.
14050         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
14051         * posix/_exit.c (_exit): Likewise.
14052         * posix/alarm.c (alarm): Likewise.
14053         * posix/confstr.c (confstr): Likewise.
14054         * posix/fpathconf.c (__fpathconf): Likewise.
14055         * posix/getgroups.c (__getgroups): Likewise.
14056         * posix/getpgid.c (__getpgid): Likewise.
14057         * posix/group_member.c (__group_member): Likewise.
14058         * posix/pathconf.c (__pathconf): Likewise.
14059         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
14060         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
14061         * posix/setgid.c (__setgid): Likewise.
14062         * posix/setpgid.c (__setpgid): Likewise.
14063         * posix/setuid.c (__setuid): Likewise.
14064         * posix/sleep.c (__sleep): Likewise.
14065         * posix/sysconf.c (__sysconf): Likewise.
14066         * posix/times.c (__times): Likewise.
14067         * posix/uname.c (__uname): Likewise.
14068         * posix/waitid.c (__waitid): Likewise.
14069         * pwd/getpw.c (__getpw): Likewise.
14070         * resolv/base64.c (b64_pton): Likewise.
14071         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
14072         * resolv/gethnamaddr.c (Dprintf): Likewise.
14073         (gethostbyname): Likewise.
14074         (gethostbyname2): Likewise.
14075         (gethostbyaddr): Likewise.
14076         (_sethtent): Likewise.
14077         (_gethtbyname): Likewise.
14078         (_gethtbyname2): Likewise.
14079         (_gethtbyaddr): Likewise.
14080         (map_v4v6_address): Likewise.
14081         (map_v4v6_hostent): Likewise.
14082         (addrsort): Likewise.
14083         (ht_sethostent): Likewise.
14084         (ht_gethostbyname): Likewise.
14085         (ht_gethostbyaddr): Likewise.
14086         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
14087         (inet_net_ntop_ipv4): Likewise.
14088         * resolv/inet_neta.c (inet_neta): Likewise.
14089         * resolv/inet_ntop.c (inet_ntop): Likewise.
14090         (inet_ntop4): Likewise.
14091         (inet_ntop6): Likewise.
14092         * resolv/inet_pton.c (__inet_pton): Likewise.
14093         (inet_pton4): Likewise.
14094         (inet_pton6): Likewise.
14095         * resolv/res_debug.c (loc_aton): Likewise.
14096         (loc_ntoa): Likewise.
14097         * resource/getpriority.c (__getpriority): Likewise.
14098         * resource/getrusage.c (__getrusage): Likewise.
14099         * resource/nice.c (nice): Likewise.
14100         * resource/setpriority.c (__setpriority): Likewise.
14101         * resource/setrlimit64.c (setrlimit64): Likewise.
14102         * resource/vlimit.c (vlimit): Likewise.
14103         * resource/vtimes.c (vtimes): Likewise.
14104         * rt/aio_error.c (aio_error): Likewise.
14105         * rt/aio_return.c (aio_return): Likewise.
14106         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
14107         * signal/kill.c (__kill): Likewise.
14108         * signal/killpg.c (killpg): Likewise.
14109         * signal/raise.c (raise): Likewise.
14110         * signal/sigaction.c (__sigaction): Likewise.
14111         * signal/sigaddset.c (sigaddset): Likewise.
14112         * signal/sigaltstack.c (sigaltstack): Likewise.
14113         * signal/sigandset.c (sigandset): Likewise.
14114         * signal/sigblock.c (__sigblock): Likewise.
14115         * signal/sigdelset.c (sigdelset): Likewise.
14116         * signal/sigempty.c (sigemptyset): Likewise.
14117         * signal/sigfillset.c (sigfillset): Likewise.
14118         * signal/sighold.c (sighold): Likewise.
14119         * signal/sigignore.c (sigignore): Likewise.
14120         * signal/sigintr.c (siginterrupt): Likewise.
14121         * signal/sigisempty.c (sigisemptyset): Likewise.
14122         * signal/sigismem.c (sigismember): Likewise.
14123         * signal/signal.c (signal): Likewise.
14124         * signal/sigorset.c (sigorset): Likewise.
14125         * signal/sigpause.c (__sigpause): Likewise.
14126         * signal/sigpending.c (sigpending): Likewise.
14127         * signal/sigprocmask.c (__sigprocmask): Likewise.
14128         * signal/sigrelse.c (sigrelse): Likewise.
14129         * signal/sigreturn.c (__sigreturn): Likewise.
14130         * signal/sigset.c (sigset): Likewise.
14131         * signal/sigsetmask.c (__sigsetmask): Likewise.
14132         * signal/sigstack.c (sigstack): Likewise.
14133         * signal/sigsuspend.c (__sigsuspend): Likewise.
14134         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
14135         * signal/sysv_signal.c (__sysv_signal): Likewise.
14136         * socket/accept.c (accept): Likewise.
14137         * socket/accept4.c (__libc_accept4): Likewise.
14138         * socket/bind.c (__bind): Likewise.
14139         * socket/connect.c (__connect): Likewise.
14140         * socket/getpeername.c (getpeername): Likewise.
14141         * socket/getsockname.c (__getsockname): Likewise.
14142         * socket/getsockopt.c (getsockopt): Likewise.
14143         * socket/listen.c (__listen): Likewise.
14144         * socket/recv.c (__recv): Likewise.
14145         * socket/recvmsg.c (__recvmsg): Likewise.
14146         * socket/send.c (__send): Likewise.
14147         * socket/sendmsg.c (__sendmsg): Likewise.
14148         * socket/shutdown.c (shutdown): Likewise.
14149         * socket/sockatmark.c (sockatmark): Likewise.
14150         * socket/socket.c (__socket): Likewise.
14151         * stdio-common/ctermid.c (ctermid): Likewise.
14152         * stdio-common/cuserid.c (cuserid): Likewise.
14153         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
14154         * stdio-common/remove.c (remove): Likewise.
14155         * stdio-common/rename.c (rename): Likewise.
14156         * stdio-common/renameat.c (renameat): Likewise.
14157         * stdio-common/tempname.c (__gen_tempname): Likewise.
14158         * stdio-common/xbug.c (InitBuffer): Likewise.
14159         (AppendToBuffer): Likewise.
14160         (ReadFile): Likewise.
14161         * stdlib/a64l.c (a64l): Likewise.
14162         * stdlib/drand48_r.c (drand48_r): Likewise.
14163         * stdlib/getcontext.c (getcontext): Likewise.
14164         * stdlib/getenv.c (getenv): Likewise.
14165         * stdlib/l64a.c (l64a): Likewise.
14166         * stdlib/llabs.c (llabs): Likewise.
14167         * stdlib/lldiv.c (lldiv): Likewise.
14168         * stdlib/lrand48_r.c (lrand48_r): Likewise.
14169         * stdlib/mrand48_r.c (mrand48_r): Likewise.
14170         * stdlib/putenv.c (putenv): Likewise.
14171         * stdlib/random.c (__srandom): Likewise.
14172         (__initstate): Likewise.
14173         (__setstate): Likewise.
14174         * stdlib/random_r.c (__srandom_r): Likewise.
14175         (__setstate_r): Likewise.
14176         (__random_r): Likewise.
14177         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
14178         * stdlib/setcontext.c (setcontext): Likewise.
14179         * stdlib/setenv.c (setenv): Likewise.
14180         (unsetenv): Likewise.
14181         * stdlib/srand48.c (srand48): Likewise.
14182         * stdlib/srand48_r.c (__srand48_r): Likewise.
14183         * stdlib/swapcontext.c (swapcontext): Likewise.
14184         * stdlib/system.c (__libc_system): Likewise.
14185         * stdlib/tst-strtod.c (expand): Likewise.
14186         * stdlib/tst-strtol.c (expand): Likewise.
14187         * stdlib/tst-strtoll.c (expand): Likewise.
14188         * streams/fattach.c (fattach): Likewise.
14189         * streams/fdetach.c (fdetach): Likewise.
14190         * streams/getmsg.c (getmsg): Likewise.
14191         * streams/isastream.c (isastream): Likewise.
14192         * string/ffs.c (__ffs): Likewise.
14193         * string/ffsll.c (ffsll): Likewise.
14194         * string/memcmp.c (memcmp_common_alignment): Likewise.
14195         (memcmp_not_common_alignment): Likewise.
14196         (MEMCMP): Likewise.
14197         * string/memcpy.c (memcpy): Likewise.
14198         * string/memmove.c (MEMMOVE): Likewise.
14199         * string/memset.c (memset): Likewise.
14200         * string/rawmemchr.c (RAWMEMCHR): Likewise.
14201         * string/strchrnul.c (STRCHRNUL): Likewise.
14202         * string/strerror.c (strerror): Likewise.
14203         * string/strndup.c (__strndup): Likewise.
14204         * string/strverscmp.c (__strverscmp): Likewise.
14205         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
14206         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
14207         (clnttcp_freeres): Likewise.
14208         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
14209         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
14210         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
14211         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
14212         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
14213         (xdr_callhdr): Likewise.
14214         * sunrpc/rpcinfo.c (udpping): Likewise.
14215         (tcpping): Likewise.
14216         (pstatus): Likewise.
14217         (pmapdump): Likewise.
14218         (brdcst): Likewise.
14219         (deletereg): Likewise.
14220         (getprognum): Likewise.
14221         (getvers): Likewise.
14222         (get_inet_address): Likewise.
14223         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
14224         * sunrpc/svc_udp.c (svcudp_create): Likewise.
14225         (svcudp_stat): Likewise.
14226         (svcudp_recv): Likewise.
14227         (svcudp_reply): Likewise.
14228         (svcudp_getargs): Likewise.
14229         (svcudp_freeargs): Likewise.
14230         (svcudp_destroy): Likewise.
14231         * sunrpc/xdr.c (xdr_bytes): Likewise.
14232         (xdr_netobj): Likewise.
14233         (xdr_string): Likewise.
14234         (xdr_wrapstring): Likewise.
14235         * sunrpc/xdr_float.c (xdr_float): Likewise.
14236         (xdr_double): Likewise.
14237         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
14238         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
14239         * sysvipc/ftok.c (ftok): Likewise.
14240         * sysvipc/msgctl.c (msgctl): Likewise.
14241         * sysvipc/msgget.c (msgget): Likewise.
14242         * sysvipc/msgrcv.c (msgrcv): Likewise.
14243         * sysvipc/msgsnd.c (msgsnd): Likewise.
14244         * sysvipc/semget.c (semget): Likewise.
14245         * sysvipc/semop.c (semop): Likewise.
14246         * sysvipc/shmat.c (shmat): Likewise.
14247         * sysvipc/shmctl.c (shmctl): Likewise.
14248         * sysvipc/shmdt.c (shmdt): Likewise.
14249         * sysvipc/shmget.c (shmget): Likewise.
14250         * termios/cfmakeraw.c (cfmakeraw): Likewise.
14251         * termios/speed.c (cfgetospeed): Likewise.
14252         (cfgetispeed): Likewise.
14253         (cfsetospeed): Likewise.
14254         (cfsetispeed): Likewise.
14255         * termios/tcflow.c (tcflow): Likewise.
14256         * termios/tcflush.c (tcflush): Likewise.
14257         * termios/tcgetattr.c (__tcgetattr): Likewise.
14258         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
14259         * termios/tcgetsid.c (tcgetsid): Likewise.
14260         * termios/tcsendbrk.c (tcsendbreak): Likewise.
14261         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
14262         * time/adjtime.c (__adjtime): Likewise.
14263         * time/dysize.c (dysize): Likewise.
14264         * time/ftime.c (ftime): Likewise.
14265         * time/getitimer.c (__getitimer): Likewise.
14266         * time/gettimeofday.c (__gettimeofday): Likewise.
14267         * time/gmtime.c (__gmtime_r): Likewise.
14268         (gmtime): Likewise.
14269         * time/localtime.c (__localtime_r): Likewise.
14270         (localtime): Likewise.
14271         * time/offtime.c (__offtime): Likewise.
14272         * time/settimeofday.c (__settimeofday): Likewise.
14273         * time/stime.c (stime): Likewise.
14274         * time/strftime_l.c (tm_diff): Likewise.
14275         (iso_week_days): Likewise.
14276         * time/strptime.c (strptime): Likewise.
14277         * time/time.c (time): Likewise.
14278         * time/timespec_get.c (timespec_get): Likewise.
14279         * time/tzset.c (tzset_internal): Likewise.
14280         (compute_change): Likewise.
14281         (__tz_compute): Likewise.
14282         * wcsmbs/btowc.c (__btowc): Likewise.
14283         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
14284         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
14285         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
14286         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
14287         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
14288         * wcsmbs/wcscat.c (__wcscat): Likewise.
14289         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
14290         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
14291         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
14292         * wcsmbs/wcscspn.c (wcscspn): Likewise.
14293         * wcsmbs/wcsdup.c (wcsdup): Likewise.
14294         * wcsmbs/wcslen.c (__wcslen): Likewise.
14295         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
14296         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
14297         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
14298         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
14299         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
14300         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
14301         * wcsmbs/wcsspn.c (wcsspn): Likewise.
14302         * wcsmbs/wcsstr.c (wcsstr): Likewise.
14303         * wcsmbs/wcstok.c (wcstok): Likewise.
14304         * wcsmbs/wctob.c (wctob): Likewise.
14305         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
14306         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
14307         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
14308         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
14309         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
14310         * wcsmbs/wmemset.c (__wmemset): Likewise.
14311         * wctype/wcfuncs.c (__towlower): Likewise.
14312         (__towupper): Likewise.
14314         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
14315         (lll_unlock_elision): Add adapt_count parameter.
14317 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14319         * sysdeps/nptl/configure.ac: Do not give errors based on the
14320         results of top-level configure tests.
14321         * sysdeps/nptl/configure: Regenerated.
14323         * configure.ac (libc_cv_Bgroup): Remove configure test.
14324         * configure: Regenerated.
14325         * config.make.in (have-Bgroup): Remove variable.
14327         * configure.ac (sizeof_long_double): Remove configure test.
14328         * configure: Regenerated.
14329         * config.make.in (sizeof-long-double): Remove variable.
14331         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
14332         * configure: Regenerated.
14333         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
14334         variable.
14335         (exceptions): Likewise.
14336         * sysdeps/arm/configure: Regenerated.
14337         * config.make.in (exceptions): Remove variable.
14338         * Makeconfig (uses-callbacks): Use -fexceptions instead of
14339         $(exceptions).
14340         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
14341         (CFLAGS-vdprintf_chk.c): Likewise.
14342         (CFLAGS-printf_chk.c): Likewise.
14343         (CFLAGS-fprintf_chk.c): Likewise.
14344         (CFLAGS-vprintf_chk.c): Likewise.
14345         (CFLAGS-vfprintf_chk.c): Likewise.
14346         (CFLAGS-gets_chk.c): Likewise.
14347         (CFLAGS-fgets_chk.c): Likewise.
14348         (CFLAGS-fgets_u_chk.c): Likewise.
14349         (CFLAGS-fread_chk.c): Likewise.
14350         (CFLAGS-fread_u_chk.c): Likewise.
14351         (CFLAGS-wprintf_chk.c): Likewise.
14352         (CFLAGS-fwprintf_chk.c): Likewise.
14353         (CFLAGS-vwprintf_chk.c): Likewise.
14354         (CFLAGS-vfwprintf_chk.c): Likewise.
14355         (CFLAGS-fgetws_chk.c): Likewise.
14356         (CFLAGS-fgetws_u_chk.c): Likewise.
14357         * libio/Makefile (CFLAGS-fileops.c): Likewise.
14358         (CFLAGS-fputc.c): Likewise.
14359         (CFLAGS-fputwc.c): Likewise.
14360         (CFLAGS-freopen64.c): Likewise.
14361         (CFLAGS-freopen.c): Likewise.
14362         (CFLAGS-fseek.c): Likewise.
14363         (CFLAGS-fseeko64.c): Likewise.
14364         (CFLAGS-fseeko.c): Likewise.
14365         (CFLAGS-ftello64.c): Likewise.
14366         (CFLAGS-ftello.c): Likewise.
14367         (CFLAGS-fwide.c): Likewise.
14368         (CFLAGS-genops.c): Likewise.
14369         (CFLAGS-getc.c): Likewise.
14370         (CFLAGS-getchar.c): Likewise.
14371         (CFLAGS-getwc.c): Likewise.
14372         (CFLAGS-getwchar.c): Likewise.
14373         (CFLAGS-iofclose.c): Likewise.
14374         (CFLAGS-iofflush.c): Likewise.
14375         (CFLAGS-iofgetpos64.c): Likewise.
14376         (CFLAGS-iofgetpos.c): Likewise.
14377         (CFLAGS-iofgets.c): Likewise.
14378         (CFLAGS-iofgetws.c): Likewise.
14379         (CFLAGS-iofputs.c): Likewise.
14380         (CFLAGS-iofputws.c): Likewise.
14381         (CFLAGS-iofread.c): Likewise.
14382         (CFLAGS-iofsetpos64.c): Likewise.
14383         (CFLAGS-iofsetpos.c): Likewise.
14384         (CFLAGS-ioftell.c): Likewise.
14385         (CFLAGS-iofwrite.c): Likewise.
14386         (CFLAGS-iogetdelim.c): Likewise.
14387         (CFLAGS-iogetline.c): Likewise.
14388         (CFLAGS-iogets.c): Likewise.
14389         (CFLAGS-iogetwline.c): Likewise.
14390         (CFLAGS-ioputs.c): Likewise.
14391         (CFLAGS-ioseekoff.c): Likewise.
14392         (CFLAGS-ioseekpos.c): Likewise.
14393         (CFLAGS-iosetbuffer.c): Likewise.
14394         (CFLAGS-iosetvbuf.c): Likewise.
14395         (CFLAGS-ioungetc.c): Likewise.
14396         (CFLAGS-ioungetwc.c): Likewise.
14397         (CFLAGS-oldfileops.c): Likewise.
14398         (CFLAGS-oldiofclose.c): Likewise.
14399         (CFLAGS-oldiofgetpos64.c): Likewise.
14400         (CFLAGS-oldiofgetpos.c): Likewise.
14401         (CFLAGS-oldiofsetpos64.c): Likewise.
14402         (CFLAGS-oldiofsetpos.c): Likewise.
14403         (CFLAGS-peekc.c): Likewise.
14404         (CFLAGS-putc.c): Likewise.
14405         (CFLAGS-putchar.c): Likewise.
14406         (CFLAGS-putwc.c): Likewise.
14407         (CFLAGS-putwchar.c): Likewise.
14408         (CFLAGS-rewind.c): Likewise.
14409         (CFLAGS-wfileops.c): Likewise.
14410         (CFLAGS-wgenops.c): Likewise.
14411         (CFLAGS-oldiofopen.c): Likewise.
14412         (CFLAGS-iofopen.c): Likewise.
14413         (CFLAGS-iofopen64.c): Likewise.
14414         (CFLAGS-oldtmpfile.c): Likewise.
14415         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
14416         (CFLAGS-fprintf.c): Likewise.
14417         (CFLAGS-printf.c): Likewise.
14418         (CFLAGS-vfwprintf.c): Likewise.
14419         (CFLAGS-vfscanf.c): Likewise.
14420         (CFLAGS-vfwscanf.c): Likewise.
14421         (CFLAGS-fscanf.c): Likewise.
14422         (CFLAGS-scanf.c): Likewise.
14423         (CFLAGS-isoc99_vfscanf.c): Likewise.
14424         (CFLAGS-isoc99_vscanf.c): Likewise.
14425         (CFLAGS-isoc99_fscanf.c): Likewise.
14426         (CFLAGS-isoc99_scanf.c): Likewise.
14427         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
14428         (CFLAGS-isoc99_fwscanf.c): Likewise.
14429         (CFLAGS-isoc99_vwscanf.c): Likewise.
14430         (CFLAGS-isoc99_vfwscanf.c): Likewise.
14432         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
14433         after mkstemp64.
14434         * login/tst-utmp.c (do_prepare): Likewise.
14435         * rt/tst-aio.c (do_prepare): Likewise.
14436         * rt/tst-aio64.c (do_prepare): Likewise.
14438 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14440         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
14441         (__lll_lock_elision): Remove adapt_count decrement...
14442         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
14443         (__lll_trylock_elision): Likewise.
14444         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
14445         (__lll_unlock_elision): ... to here. And utilize
14446         new adapt_count parameter.
14447         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14448         (__lll_unlock_elision): Update to include adapt_count
14449         parameter.
14450         (lll_unlock_elision): Pass pointer to adapt_count
14451         variable.
14453 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14455         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
14456         Add elision adapt_count parameter to list of arguments.
14457         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
14458         (lll_unlock_elision): Update with new parameter list
14459         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
14460         (lll_unlock_elision): Likewise.
14461         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
14462         (lll_unlock_elision): Likewise.
14464 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14466         [BZ #19122]
14467         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
14468         attribute_hidden.
14470         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
14471         attribute_hidden.
14472         [IS_IN (rtld)] (__strdup): Likewise.
14473         [IS_IN (rtld)] (__strerror_r): Likewise.
14474         [IS_IN (rtld)] (__strsep_g): Likewise.
14475         [IS_IN (rtld)] (memchr): Likewise.
14476         [IS_IN (rtld)] (memcmp): Likewise.
14477         [IS_IN (rtld)] (memcpy): Likewise.
14478         [IS_IN (rtld)] (memmove): Likewise.
14479         [IS_IN (rtld)] (memset): Likewise.
14480         [IS_IN (rtld)] (rawmemchr): Likewise.
14481         [IS_IN (rtld)] (stpcpy): Likewise.
14482         [IS_IN (rtld)] (strchr): Likewise.
14483         [IS_IN (rtld)] (strcmp): Likewise.
14484         [IS_IN (rtld)] (strlen): Likewise.
14485         [IS_IN (rtld)] (strnlen): Likewise.
14486         [IS_IN (rtld)] (strsep): Likewise.
14488         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
14489         attribute_hidden.
14490         [IS_IN (rtld)] (__strtoul_internal): Likewise.
14492         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
14493         attribute_hidden.
14494         [IS_IN (rtld)] (__libc_sigaction): Likewise.
14496         * include/setjmp.h (__longjmp): Add attribute_hidden.
14497         [IS_IN (rtld)] (__sigsetjmp): Likewise.
14499         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
14500         Add attribute_hidden.
14502         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
14503         [IS_IN (rtld)] (__open): Likewise.
14504         [IS_IN (rtld)] (__fcntl): Likewise.
14506         * include/dirent.h (__opendirat): Add attribute_hidden.
14507         (__getdents): Likewise.
14508         (__getdents64): Likewise.
14509         (__alloc_dir): Likewise.
14510         [IS_IN (rtld)] (__closedir): Likewise.
14511         [IS_IN (rtld)] (__fdopendir): Likewise.
14512         [IS_IN (rtld)] (__readdir): Likewise.
14513         [IS_IN (rtld)] (__readdir64): Likewise.
14514         [IS_IN (rtld)] (__rewinddir): Likewise.
14516         * include/dlfcn.h (_dl_catch_error): Moved to ...
14517         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
14518         attribute_hidden.
14520         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
14521         (_itoa_word): Likewise.
14523         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
14524         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
14525         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
14526         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
14527         (_dl_higher_prime_number): Likewise.
14528         (_dl_debug_printf_c): Likewise.
14529         (_dl_signal_cerror): Likewise.
14530         (_dl_receive_error): Likewise.
14531         (_dl_reloc_bad_type): Likewise.
14532         (_dl_resolve_conflicts): Likewise.
14533         (_dl_check_all_versions): Likewise.
14534         (_dl_check_map_versions): Likewise.
14535         (_dl_sort_fini): Likewise.
14536         (_dl_debug_initialize): Likewise.
14537         (_dl_init_paths): Likewise.
14538         (_dl_show_auxv): Likewise.
14539         (_dl_next_ld_env_entry): Likewise.
14540         (_dl_important_hwcaps): Likewise.
14541         (_dl_load_cache_lookup): Likewise.
14542         (_dl_update_slotinfo): Likewise.
14543         (_dl_show_scope): Likewise.
14545         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
14546         attribute_hidden.
14547         (_wordcopy_fwd_dest_aligned): Likewise.
14548         (_wordcopy_bwd_aligned): Likewise.
14549         (_wordcopy_bwd_dest_aligned): Likewise.
14551         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
14552         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14553         Likewise.
14554         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
14555         Likewise.
14556         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
14558 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14560         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
14561         GCC 5 requirement.
14563 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
14565         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
14566         test.
14567         * sysdeps/i386/configure: Regenerated.
14568         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
14569         code unconditional.
14571         * configure.ac (libc_cv_asm_previous_directive): Remove configure
14572         test.
14573         (libc_cv_asm_popsection_directive): Likewise.
14574         * configure: Regenerated.
14575         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
14576         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
14577         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
14578         (__make_section_unallocated): Make definition unconditional.
14579         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
14580         Remove conditional definition.
14581         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
14582         (__make_section_unallocated): Likewise.
14584         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
14585         * configure: Regenerated.
14586         * config.make.in (static-libgcc): Remove variable.
14587         * Makerules (build-shlib-helper): Use -static-libgcc instead of
14588         $(static-libgcc).
14589         (build-module-helper): Likewise.
14591         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
14592         * configure: Regenerated.
14594 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14596         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
14597         (struct char_buffer): New type.
14598         (char_buffer_start, char_buffer_size, char_buffer_error)
14599         (char_buffer_rewind, char_buffer_add): New functions.
14600         (ADDW): Remove macro, replaced by the char_buffer_add function.
14601         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
14602         of extend_alloca.  Make control flow more explicit.
14604 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14606         [BZ #19137]
14607         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
14608         Add -fomit-frame-pointer.
14609         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
14611 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14613         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
14614         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
14615         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
14616         only if !__GNUC_PREREQ (5,0).
14617         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
14618         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
14619         (INTERNAL_SYSCALL_NCS): Likewise.
14620         (LOADREGS_0): New macro for GCC 5.
14621         (ASMARGS_0): Likewise.
14622         (LOADREGS_1): Likewise.
14623         (ASMARGS_1): Likewise.
14624         (LOADREGS_2): Likewise.
14625         (ASMARGS_2): Likewise.
14626         (LOADREGS_3): Likewise.
14627         (ASMARGS_3): Likewise.
14628         (LOADREGS_4): Likewise.
14629         (ASMARGS_4): Likewise.
14630         (LOADREGS_5): Likewise.
14631         (ASMARGS_5): Likewise.
14632         (LOADREGS_6): Likewise.
14633         (ASMARGS_6): Likewise.
14635 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
14637         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
14638         -fomit-frame-pointer.
14639         (CFLAGS-mmap64.c): Likewise.
14640         (CFLAGS-semtimedop.c): Likewise.
14641         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
14642         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
14643         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14644         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14646 2015-10-15  Florian Weimer  <fweimer@redhat.com>
14648         [BZ #18928]
14649         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
14650         _dl_pointer_guard member.
14651         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
14652         initializer.
14653         (security_init): Always set up pointer guard.
14654         (process_envvars): Do not process LD_POINTER_GUARD.
14656 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
14658         [BZ #19134]
14659         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
14660         (.LC2): Likewise.
14661         (.LC3): Likewise.
14662         (__lround): Do not add 0.5 to integer or out-of-range arguments.
14664 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
14666         [BZ #19129]
14667         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
14668         r0 and r1.
14670 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
14672         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
14674 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
14676         * include/stap-probe.h: Fix macro definition formatting.
14678 2015-10-14  Florian Weimer  <fweimer@redhat.com>
14680         [BZ #19074]
14681         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
14682         load and store num_ifs.
14684 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14686         [BZ #18822]
14687         * sysdeps/unix/sysv/linux/sched_getaffinity.c
14688         (__sched_getaffinity_new): Add libc_hidden_proto and
14689         libc_hidden_def.
14691 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14693         [BZ #19007]
14694         * scripts/localplt.awk: Also allow GOT references.
14695         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
14696         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
14697         with "+ REL R_386_GLOB_DAT".
14698         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
14699         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
14701 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
14703         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
14704         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14705         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
14706         Likewise.
14707         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
14708         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
14709         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
14710         INTERNAL_SYSCALLINTERNAL_SYSCALL and
14711         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14712         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
14713         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
14714         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
14715         Likewise.
14716         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
14718 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14720         [BZ #19125]
14721         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
14722         <math_private.h> and <stdint.h>.
14723         (__llround): Avoid conversions to and from long long int, and
14724         subtractions, where those might raise spurious exceptions.
14725         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
14726         <math_private.h> and <stdint.h>.
14727         (__llroundf): Avoid conversions to and from long long int, and
14728         subtractions, where those might raise spurious exceptions.
14730 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14732         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
14733         INLINE_SYSCALL_ERROR_RETURN_VALUE.
14734         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
14735         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
14736         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
14737         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
14738         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
14739         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
14740         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
14741         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
14742         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
14743         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
14744         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
14745         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
14746         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14747         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
14748         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
14749         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
14750         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
14751         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
14752         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
14753         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
14754         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
14755         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
14756         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
14757         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
14758         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
14759         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
14760         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
14761         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
14762         (__xstat64_conv): Likewise.
14763         (__xstat32_conv): Likewise.
14765 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14767         * sysdeps/unix/sysv/linux/sysdep.h: New file.
14768         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
14769         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
14770         <sysdeps/unix/sysv/linux/sysdep.h>.
14771         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
14772         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
14773         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
14774         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
14775         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
14776         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
14777         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
14778         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
14779         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
14780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
14781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
14782         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
14783         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
14784         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
14785         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
14786         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
14787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
14788         (sysdep-dl-routines): Add sysdep.
14789         [$(subdir) == nptl] (libpthread-routines): Likewise.
14790         [$(subdir) == rt] (librt-routines): Likewise.
14791         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
14792         PIC when branching to SYSCALL_ERROR_LABEL.
14793         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
14794         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
14795         <sysdeps/unix/sysv/linux/sysdep.h>.
14796         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
14797         (SYSCALL_ERROR_ERRNO): Removed.
14798         (SYSCALL_ERROR_HANDLER): Changed to empty.
14799         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
14800         (__syscall_error): New prototype.
14801         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
14802         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
14804 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
14806         [BZ #19124]
14807         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
14808         (_dl_runtime_resolve_avx512): Make it a hidden alias of
14809         _dl_runtime_resolve_avx.
14810         (_dl_runtime_profile_avx512): Make it a hidden alias of
14811         _dl_runtime_profile_avx.
14813 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
14815         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
14816         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
14817         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
14818         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
14820         [BZ #16422]
14821         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
14822         New configure test.
14823         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
14824         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
14825         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
14826         <math_private.h> and <stdint.h>.
14827         (__llrint): Avoid conversions to long long int where those might
14828         raise spurious exceptions.
14829         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
14830         <math_private.h> and <stdint.h>.
14831         (__llrintf): Avoid conversions to long long int where those might
14832         raise spurious exceptions.
14834 2015-10-12  Andreas Schwab  <schwab@suse.de>
14836         [BZ #18969]
14837         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
14838         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
14839         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
14840         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
14841         $(gen-locales).
14842         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
14843         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
14844         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
14845         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
14846         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
14847         $(gen-locales).
14848         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
14849         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
14850         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
14851         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
14852         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
14853         ($(objpfx)tst-ftell-active-handler.out)
14854         ($(objpfx)tst-ftell-append.out)
14855         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
14856         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
14857         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
14858         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
14859         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
14860         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
14861         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
14862         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
14863         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
14864         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
14865         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
14866         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
14867         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
14868         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
14869         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
14870         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
14871         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
14872         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
14873         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
14874         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
14875         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
14876         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
14877         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
14878         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
14879         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
14880         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
14881         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
14882         $(gen-locales).
14883         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
14884         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
14885         $(gen-locales).
14886         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
14887         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
14888         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
14889         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
14890         $(gen-locales).
14891         * libio/tst_wprintf2.c (main): Use explicit locale.
14892         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
14894 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14896         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
14897         __msg_sig_post.
14898         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
14900 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14902         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14903         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14905         * sysdeps/arm/libm-test-ulps: Regenerated.
14907         [BZ #15470]
14908         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
14910         [BZ #16399]
14911         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
14912         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
14913         and <fix-fp-int-convert-overflow.h>.
14914         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14915         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14916         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
14917         and <fix-fp-int-convert-overflow.h>.
14918         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
14919         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14920         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
14921         <fix-fp-int-convert-overflow.h>.
14922         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
14923         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14924         * sysdeps/ieee754/dbl-64/s_lround.c: Include
14925         <fix-fp-int-convert-overflow.h>.
14926         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
14927         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14928         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
14929         and <fix-fp-int-convert-overflow.h>.
14930         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14931         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14932         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
14933         <limits.h> and <fix-fp-int-convert-overflow.h>.
14934         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14935         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14936         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
14937         and <fix-fp-int-convert-overflow.h>.
14938         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
14939         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14940         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
14941         and <fix-fp-int-convert-overflow.h>.
14942         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
14943         FIX_DBL_LLONG_CONVERT_OVERFLOW.
14944         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
14946 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
14948         [BZ #18589]
14949         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
14950         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
14951         $(gen-locales).
14953 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14954             Phil Blundell <pb@pbcl.net>
14956         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
14957         * nptl/tst-cancel26.c: New file.
14958         * nptl/tst-cancel27.c: Likewise.
14960 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
14962         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
14963         __ILP32__ isn't defined.
14964         (lrint): Likewise.
14965         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
14966         (lrintf): Likewise.
14967         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
14968         (lrintl): Likewise.
14969         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
14970         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
14971         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
14973 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14975         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
14976         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
14978         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
14979         file.
14980         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
14981         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
14983 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
14985         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
14986         configure test.
14987         * sysdeps/i386/configure: Regenerated.
14988         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
14989         configure test.
14990         * sysdeps/x86_64/configure: Regenerated.
14991         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
14992         Make code unconditional.
14994         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
14995         test.
14996         * sysdeps/i386/configure: Regenerated.
14997         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
14998         test.
14999         * sysdeps/x86_64/configure: Regenerated.
15000         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
15001         Make code unconditional.
15002         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
15003         Likewise.
15004         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
15005         Likewise.
15006         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15007         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
15008         code unconditional.
15009         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15010         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
15011         code unconditional.
15012         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15013         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
15014         code unconditional.
15015         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
15016         code unconditional.
15017         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15018         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
15019         code unconditional.
15020         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15021         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
15022         code unconditional.
15023         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15024         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
15025         code unconditional.
15026         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15027         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
15028         code unconditional.
15029         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
15030         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
15032         [BZ #19095]
15033         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
15034         mantissa to long int before shifting left.
15036 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15038         [BZ #19094]
15039         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
15040         <limits.h>.
15041         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15042         when result overflows but exception would not result from cast.
15043         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
15044         <limits.h>.
15045         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15046         when result overflows but exception would not result from cast.
15047         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
15048         <limits.h>.
15049         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15050         when result overflows but exception would not result from cast.
15051         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
15052         <limits.h>.
15053         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15054         when result overflows but exception would not result from cast.
15055         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
15056         <limits.h>.
15057         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
15058         when result overflows but exception would not result from cast.
15059         * math/libm-test.inc (lrint_test_data): Add more tests.
15060         (llrint_test_data): Likewise.
15062 2015-10-08  Roland McGrath  <roland@hack.frob.com>
15064         [BZ #18872]
15065         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
15066         Move out from under [$(run-built-tests) = yes] conditional.
15067         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
15068         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
15070 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
15072         [BZ #18589]
15073         * string/Makefile (tests): Add bug-strcoll2.
15074         (LOCALES): Add cs_CZ.UTF-8.
15075         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
15077         [BZ #18589]
15078         * string/bug-strcoll2.c: New file.
15079         * locale/categories.def: Revert commit
15080         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
15081         * locale/langinfo.h: Likewise.
15082         * locale/localeinfo.h: Likewise.
15083         * locale/C-collate.c: Likewise.
15084         * locale/programs/ld-collate.c (collate_output): Likewise.
15085         * string/strcoll_l.c (STRDIFF): Likewise.
15086         (STRCOLL): Likewise.
15087         * wcsmbs/wcscoll_l.c: Likewise.
15089 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
15091         * math/libm-test.inc (lround_test_data): Do not expect the absence
15092         of "inexact" for some tests with non-integer arguments.
15093         (llround_test_data): Likewise.
15095         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
15096         test.
15097         (libc_cv_cc_sse2avx): Likewise.
15098         * sysdeps/i386/configure: Regenerated.
15099         * sysdeps/i386/i686/multiarch/Makefile
15100         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
15101         [$(subdir) = math].
15102         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
15103         code unconditional.
15104         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15105         Likewise.
15106         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
15107         Likewise.
15108         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15109         Likewise.
15110         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
15111         test.
15112         (libc_cv_cc_sse2avx): Likewise.
15113         * sysdeps/x86_64/configure: Regenerated.
15114         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
15115         unconditional.
15116         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
15117         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
15118         unconditional.
15119         (_dl_runtime_profile)
15120         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
15121         conditional code.
15122         * sysdeps/x86_64/fpu/multiarch/Makefile
15123         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
15124         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
15125         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15126         * sysdeps/x86_64/fpu/multiarch/e_exp.c
15127         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15128         * sysdeps/x86_64/fpu/multiarch/e_log.c
15129         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15130         * sysdeps/x86_64/fpu/multiarch/s_atan.c
15131         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15132         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
15133         Likewise.
15134         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
15135         Likewise.
15136         * sysdeps/x86_64/fpu/multiarch/s_sin.c
15137         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15138         * sysdeps/x86_64/fpu/multiarch/s_tan.c
15139         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
15140         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
15141         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
15142         (HAVE_SSE2AVX_SUPPORT): Likewise.
15144 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
15146         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
15147         instead of #pragma optimize.
15149 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15151         [BZ #17195]
15152         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
15153         as is similarly done in systrim and _int_free already.
15155 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15157         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
15159 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15161         [BZ #19088]
15162         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
15163         <limits.h>.
15164         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15165         overflows but exception would not result from cast.
15166         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
15167         and <limits.h>.
15168         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
15169         overflows but exception would not result from cast.
15170         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
15171         <limits.h>.
15172         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15173         overflows but exception would not result from cast.
15174         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
15175         <limits.h>.
15176         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15177         overflows but exception would not result from cast.
15178         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
15179         <limits.h>.
15180         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
15181         overflows but exception would not result from cast.
15182         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
15183         <limits.h>.
15184         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
15185         overflows but exception would not result from cast.
15186         * math/libm-test.inc (lround_test_data): Add more tests.
15187         (llround_test_data): Likewise.
15189 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
15191         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
15192         (CFLAGS-ialloc.c): Ditto.
15193         (CFLAGS-scheck.c): Ditto.
15195 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
15197         [BZ #19086]
15198         * manual/filesys.texi (Storage Allocation): Fix argument order for
15199         posix_fallocate64.
15201 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15203         [BZ #19085]
15204         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
15205         exponent below 48 inside case for non-overflowing exponent.
15206         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
15208 2015-10-07  Florian Weimer  <fweimer@redhat.com>
15210         * iconvdata/cp737.h (from_idx): Add const.
15211         * iconvdata/cp775.h (from_idx): Likewise.
15213 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
15215         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
15216         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
15217         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
15219         [BZ #19079]
15220         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
15221         file, conditioned on [!_LP64].
15222         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
15223         [!_LP64] (__lround): Do not define as function or alias.
15224         [!_LP64] (lround): Likewise.
15225         [!_LP64] (__lroundl): Likewise.
15226         [!_LP64] (lroundl): Likewise.
15227         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
15228         macro.
15229         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
15230         Likewise.
15232 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15234         * math/libm-test.inc (lrint_test_data): Add more tests.
15235         (llrint_test_data): Likewise.
15236         (lround_test_data): Likewise.
15237         (llround_test_data): Likewise.
15239         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
15240         (llrint_test_data): Add tests used for lrint.
15242         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
15243         test.
15244         * sysdeps/i386/configure: Regenerated.
15245         * sysdeps/i386/i686/multiarch/Makefile
15246         [$(config-cflags-sse4) = yes]: Make code unconditional.
15247         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15248         Likewise.
15249         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
15250         Likewise.
15251         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
15252         test.
15253         * sysdeps/x86_64/configure: Regenerated.
15254         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
15255         Make code unconditional.
15256         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
15257         Likewise.
15258         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
15259         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
15261         * scripts/rpm2dynsym.sh: Remove file.
15263 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15265         * configure.ac (libc_cv_cxx_thread_local): Define.
15266         * configure: Regenerate.
15267         * config.make.in (have-cxx-thread_local): Define.
15268         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
15269         (LDLIBS-tst-thread_local1): Define.
15270         (tests): Add tst-thread_local1.
15271         [have-cxx-thread_local != yes] (tests-unsupported): Add
15272         tst-thread_local1.
15273         * nptl/tst-thread_local1.cc: New file.
15275 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
15277         [BZ #19078]
15278         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
15279         (u_thres): Likewise.
15280         (__expl): Determine whether to call __kernel_standard_l based on
15281         value of result, not argument.
15283         * math/libm-test.inc (scalb_test_data): Add more expectations for
15284         the "inexact" exception.
15286         [BZ #19077]
15287         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
15288         0.0L for argument 1.0L.
15290         [BZ #19076]
15291         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
15292         constant 0.0L when computing infinite result.
15294 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15296         [BZ #10432]
15297         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
15298         malloc_usable_size.
15300 2015-10-06  Florian Weimer  <fweimer@redhat.com>
15302         [BZ #19018]
15303         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15304         Mangle function pointer before storing it.
15305         (__call_tls_dtors): Demangle function pointer before calling it.
15307 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
15309         [BZ #19012]
15310         * iconv/gconv_db.c (gen_steps): Check for additional errors.
15311         Clean up on failure.
15313 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
15315         [BZ #19071]
15316         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
15317         long int variable to store possibly incremented high part of
15318         mantissa.
15319         * math/libm-test.inc (lround_test_data): Add tests used for
15320         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
15321         for tests requiring 64-bit long.  Do not condition tests on
15322         [TEST_FLOAT] unnecessarily.
15323         (llround_test_data): Add tests used for lround.  Add another
15324         expectation for the "inexact" exception.  Do not condition tests
15325         on [TEST_FLOAT] unnecessarily.
15327         [BZ #887]
15328         [BZ #19049]
15329         [BZ #19050]
15330         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
15331         * sysdeps/ieee754/dbl-64/e_log10.c: Include
15332         <fix-int-fp-convert-zero.h>.
15333         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15334         * sysdeps/ieee754/dbl-64/e_log2.c: Include
15335         <fix-int-fp-convert-zero.h>.
15336         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15337         * sysdeps/ieee754/dbl-64/s_erf.c: Include
15338         <fix-int-fp-convert-zero.h>.
15339         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15340         * sysdeps/ieee754/dbl-64/s_logb.c: Include
15341         <fix-int-fp-convert-zero.h>.
15342         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15343         * sysdeps/ieee754/flt-32/e_log10f.c: Include
15344         <fix-int-fp-convert-zero.h>.
15345         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15346         * sysdeps/ieee754/flt-32/e_log2f.c: Include
15347         <fix-int-fp-convert-zero.h>.
15348         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15349         * sysdeps/ieee754/flt-32/s_erff.c: Include
15350         <fix-int-fp-convert-zero.h>.
15351         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15352         * sysdeps/ieee754/flt-32/s_logbf.c: Include
15353         <fix-int-fp-convert-zero.h>.
15354         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15355         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
15356         <fix-int-fp-convert-zero.h>.
15357         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15358         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
15359         <fix-int-fp-convert-zero.h>.
15360         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
15361         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
15362         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
15363         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
15364         file.
15365         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
15367 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
15369         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
15371 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
15373         [BZ #19059]
15374         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
15375         overflowing computation.
15376         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
15377         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
15378         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
15379         Likewise.
15380         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
15381         Likewise.
15382         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
15383         Likewise.
15384         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
15385         Likewise.
15386         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
15387         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
15388         Likewise.
15389         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
15390         Likewise.
15391         * math/libm-test.inc (nexttoward_test_data): Add more tests.
15393         * nss/rewrite_field.c (__nss_rewrite_field): Use
15394         internal_function.
15395         * nss/valid_field.c (__nss_valid_field): Likewise.
15396         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
15398 2015-10-02  Florian Weimer  <fweimer@redhat.com>
15400         [BZ #18724]
15401         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
15402         (__nss_invalid_field_characters, __nss_valid_field)
15403         (__nss_valid_list_field, __nss_rewrite_field): Declare.
15404         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
15405         tst-field.c: New file.
15406         * nss/Makefile (routines): Add valid_field, rewrite_field.
15407         (tests-static): Define unconditionally.
15408         (tests): Include tests-static.
15409         [build-static-nss] (tests-static): Use append.
15410         [build-static-nss] (tests): Remove modification.
15411         * nss/getent.c (print_group): Call putgrent.  Report error.
15412         (print_gshadow): Call putsgent.  Report error.
15413         (print_passwd): Call putpwent.  Report error.
15414         (print_shadow): Call putspent.  Report error.
15415         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
15416         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
15417         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
15418         name, password, directory, shell fields for valid syntax.  Rewrite
15419         GECOS field to match syntax.
15420         * pwd/Makefile (tests): Add tst-putpwent.
15421         * pwd/tst-putpwent.c: New file.
15422         * grp/putgrent.c (putgrent): Convert to ISO function definition.
15423         Check grName, grpasswd, gr_mem fields for valid syntax.
15424         Change loop variable i to size_t.
15425         * grp/Makefile (tests): Add tst-putgrent.
15426         * grp/tst-putgrent.c: New file.
15427         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
15428         valid syntax.
15429         * shadow/Makefile (tests): Add tst-putspent.
15430         * shadow/tst-putspent.c: New file.
15431         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
15432         sg_mem fields for valid syntax.
15433         * gshadow/Makefile (tests): Add tst-putsgent.
15434         * gshadow/tst-putsgent.c: New file.
15436 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15438         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
15439         assembly instructions.
15441 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15443         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
15444         prefix from operands.
15446 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
15448         [BZ #16347]
15449         [BZ #19046]
15450         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
15451         <libc-internal.h>.
15452         (MAXLGM): Do not use diagnostic control macros.
15453         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
15454         threshold for ldbl-128ibm.
15455         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
15456         instead of multiplying by log then subtracting.
15457         * math/auto-libm-test-in: Add more tests of lgamma.
15458         * math/auto-libm-test-out: Regenerated.
15460         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
15461         (TYPE_HEX_DIG): Likewise.
15462         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
15463         precisions when printing floating-point numbers.
15464         (check_float_internal): Likewise.
15466 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15468         [BZ #16620]
15469         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
15470         of log (10) rounded downward to 48 bits.
15471         (log10_low): Use corresponding low part of log (10).
15473         [BZ #19032]
15474         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
15475         compute result as (x - x) / (x - x) not as 0 / 0.
15476         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
15477         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
15479         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
15480         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
15481         and expm1.
15482         * math/auto-libm-test-out: Regenerated.
15483         * math/libm-test.inc (acos_test_data): Add more tests.
15484         (asin_test_data): Likewise.
15485         (asinh_test_data): Likewise.
15486         (atan_test_data): Likewise.
15487         (atanh_test_data): Likewise.
15488         (atan2_test_data): Likewise.
15489         (cbrt_test_data): Likewise.
15490         (ceil_test_data): Likewise.
15491         (copysign_test_data): Likewise.
15492         (cos_test_data): Likewise.
15493         (cosh_test_data): Likewise.
15494         (erf_test_data): Likewise.
15495         (erfc_test_data): Likewise.
15496         (exp_test_data): Likewise.
15497         (exp10_test_data): Likewise.
15498         (exp2_test_data): Likewise.
15499         (expm1_test_data): Likewise.
15500         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15502 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
15504         [BZ #19006]
15505         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
15506         to ...
15507         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
15508         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
15509         to ...
15510         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
15511         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
15512         to ...
15513         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
15514         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
15515         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
15516         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
15517         to ...
15518         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
15519         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
15520         Moved to ...
15521         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
15522         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
15523         Moved to ...
15524         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
15525         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
15526         to ...
15527         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
15528         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
15529         Moved to ...
15530         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
15531         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
15532         to ...
15533         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
15534         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
15535         Removed.
15536         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
15537         Likewise.
15538         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
15539         Likewise.
15540         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
15541         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
15542         Likewise.
15543         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
15544         Likewise.
15545         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
15546         Likewise.
15547         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
15548         Likewise.
15549         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
15550         Likewise.
15551         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
15552         Likewise.
15553         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
15554         Likewise.
15555         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
15556         Likewise.
15557         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
15558         Likewise.
15559         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
15560         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
15561         Likewise.
15562         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
15563         Likewise.
15564         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
15565         Likewise.
15566         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
15567         Likewise.
15568         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
15569         Likewise.
15570         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
15571         Replace ../i486/pthread_cond_timedwait.S with
15572         ../pthread_cond_timedwait.S.
15574 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
15576         * math/libm-test.inc (acos_test_data): Refine expectations for
15577         errno and "inexact" exceptions.
15578         (acosh_test_data): Likewise.
15579         (asin_test_data): Likewise.
15580         (asinh_test_data): Likewise.
15581         (atan_test_data): Likewise.
15582         (atanh_test_data): Likewise.
15583         (atan2_test_data): Likewise.
15584         (cbrt_test_data): Likewise.
15585         (ceil_test_data): Likewise.
15586         (copysign_test_data): Likewise.
15587         (cosh_test_data): Likewise.
15588         (erf_test_data): Likewise.
15589         (erfc_test_data): Likewise.
15590         (exp_test_data): Likewise.
15591         (exp10_test_data): Likewise.
15592         (exp2_test_data): Likewise.
15593         (expm1_test_data): Likewise.
15594         (fabs_test_data): Likewise.
15595         (floor_test_data): Likewise.
15596         (fma_test_data): Likewise.
15597         (fmax_test_data): Likewise.
15598         (fmin_test_data): Likewise.
15599         (fmod_test_data): Likewise.
15600         (fpclassify_test_data): Likewise.
15601         (frexp_test_data): Likewise.
15602         (hypot_test_data): Likewise.
15603         (ilogb_test_data): Likewise.
15604         (isgreater_test_data): Likewise.
15605         (isgreaterequal_test_data): Likewise.
15606         (isinf_test_data): Likewise.
15607         (isless_test_data): Likewise.
15608         (islessequal_test_data): Likewise.
15609         (islessgreater_test_data): Likewise.
15610         (isnan_test_data): Likewise.
15611         (isnormal_test_data): Likewise.
15612         (issignaling_test_data): Likewise.
15613         (isunordered_test_data): Likewise.
15614         (j0_test_data): Likewise.
15615         (j1_test_data): Likewise.
15616         (jn_test_data): Likewise.
15617         (lgamma_test_data): Likewise.
15618         (lrint_test_data): Likewise.
15619         (llrint_test_data): Likewise.
15620         (log_test_data): Likewise.
15621         (log10_test_data): Likewise.
15622         (log1p_test_data): Likewise.
15623         (log2_test_data): Likewise.
15624         (logb_test_data): Likewise.
15625         (lround_test_data): Likewise.
15626         (llround_test_data): Likewise.
15627         (modf_test_data): Likewise.
15628         (nearbyint_test_data): Likewise.
15629         (nextafter_test_data): Likewise.
15630         (nexttoward_test_data): Likewise.
15631         (pow_test_data): Likewise.
15632         (remainder_test_data): Likewise.
15633         (remquo_test_data): Likewise.
15634         (rint_test_data): Likewise.
15635         (round_test_data): Likewise.
15636         (signbit_test_data): Likewise.
15637         (sinh_test_data): Likewise.
15638         (sqrt_test_data): Likewise.
15639         (tanh_test_data): Likewise.
15640         (tgamma_test_data): Likewise.
15641         (trunc_test_data): Likewise.
15642         (y0_test_data): Likewise.
15643         (y1_test_data): Likewise.
15644         (yn_test_data): Likewise.
15645         (significand_test_data): Likewise.
15647 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
15649         * manual/filesys.texi (Storage Allocation): Document that
15650         posix_fallocate emulation fails when fd is open with O_WRONLY.
15652 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
15654         [BZ #19016]
15655         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
15656         allow more cases with X^2 + Y^2 >= 0.5.
15657         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
15658         normal element in sum instead of special-casing based on values of
15659         arguments.
15660         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
15661         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
15662         -1 as normal element in sum instead of special-casing based on
15663         values of arguments.
15664         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
15665         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
15666         (__x2y2m1): Update comment.
15667         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
15668         as normal element in sum instead of special-casing based on values
15669         of arguments.
15670         * math/s_clog.c (__clog): Handle more cases using log1p without
15671         hypot.
15672         * math/s_clog10.c (__clog10): Likewise.
15673         * math/s_clog10f.c (__clog10f): Likewise.
15674         * math/s_clog10l.c (__clog10l): Likewise.
15675         * math/s_clogf.c (__clogf): Likewise.
15676         * math/s_clogl.c (__clogl): Likewise.
15677         * math/auto-libm-test-in: Add more tests of clog and clog10.
15678         * math/auto-libm-test-out: Regenerated.
15679         * sysdeps/i386/fpu/libm-test-ulps: Update.
15680         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15682 2015-09-28  Martin Sebor  <msebor@redhat.com>
15684         [BZ #18969]
15685         * string/Makefile (LOCALES): Define.
15686         (gen-locales.mk): Include.
15687         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
15688         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
15689         * string/tst-strxfrm2.c (do_test): Print the name of the locale
15690         on setlocale failure.
15692 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
15694         [BZ #18985]
15695         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
15696         (__strftime_internal): Likewise.
15697         * time/tst-strftime.c (do_bz18985): New test.
15698         (do_test): Call it.
15700 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
15702         [BZ #18956]
15703         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
15704         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
15705         extracting high part.
15706         * math/auto-libm-test-in: Add another test of pow.
15707         * math/auto-libm-test-out: Regenerated.
15708         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15710 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15712         [BZ #18825]
15713         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
15714         New macro.
15715         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
15716         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15717         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
15718         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
15719         DBL_NARROW_EVAL, reloading the PIC register as needed.
15720         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
15721         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
15722         FLT_NARROW_EVAL.  Use separate return path for case when first
15723         argument is NaN.
15724         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
15725         DEFINE_LDBL_MIN.
15726         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
15727         PIC register.
15728         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
15729         math_check_force_underflow_nonneg.
15730         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
15731         underflow for subnormal result.
15732         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
15733         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
15734         math_check_force_underflow_nonneg.
15735         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
15736         math_check_force_underflow.
15737         * sysdeps/x86_64/fpu/x86_64-math-asm.h
15738         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
15739         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
15740         DEFINE_LDBL_MIN.
15741         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
15742         * math/auto-libm-test-in: Add more tests of pow.
15743         * math/auto-libm-test-out: Regenerated.
15745 2015-09-25  Florian Weimer  <fweimer@redhat.com>
15747         * nss/bug17079.c (init_test_items): Add diagnostic for
15748         inconsistent entries.
15749         (test_buffer_size): Skip inconsistent entries.
15751 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
15753         [BZ #13304]
15754         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
15755         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
15756         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
15758         [BZ #13304]
15759         * sysdeps/microblaze/s_fma.c: New file.
15760         * sysdeps/microblaze/s_fmaf.c: Likewise.
15761         * sysdeps/microblaze/sfp-machine.h: Likewise.
15763 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
15765         [BZ #17250]
15766         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
15767         member.
15769 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15771         [BZ #18803]
15772         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
15773         (MO): New macro.
15774         (__ieee754_hypot) [PIC]: Load PIC register.
15775         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
15776         DBL_NARROW_EVAL.
15777         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
15778         math_check_force_underflow_nonneg in case where result might be
15779         tiny.
15780         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
15781         Likewise.
15782         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
15783         Likewise.
15784         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
15785         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
15786         * math/auto-libm-test-in: Add more tests of hypot.
15787         * math/auto-libm-test-out: Regenerated.
15789 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
15791         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
15793 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
15795         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
15796         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
15797         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15798         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15799         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
15800         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15801         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15803         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
15804         LOAD_PIC_REG.
15806         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
15807         (FLT_CHECK_FORCE_UFLOW): Likewise.
15808         (DBL_CHECK_FORCE_UFLOW): Likewise.
15809         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
15810         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
15811         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
15812         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15813         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
15814         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15815         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15816         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
15817         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
15818         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15819         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
15820         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
15821         (flt_min): Replace with use of DEFINE_FLT_MIN.
15822         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
15823         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
15824         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15825         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
15826         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
15827         (flt_min): Replace with use of DEFINE_FLT_MIN.
15828         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
15829         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
15830         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15831         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
15832         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
15833         (flt_min): Replace with use of DEFINE_FLT_MIN.
15834         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
15835         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
15836         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
15837         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
15838         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
15839         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
15840         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
15841         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
15842         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15843         (__atan): Use DBL_CHECK_FORCE_UFLOW.
15844         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
15845         (flt_min): Replace with use of DEFINE_FLT_MIN.
15846         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
15847         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
15848         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15849         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
15850         main computation.
15851         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
15852         (flt_min): Replace with use of DEFINE_FLT_MIN.
15853         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
15854         main computation.
15855         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
15856         (dbl_min): Replace with use of DEFINE_DBL_MIN.
15857         (MO): New macro.
15858         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
15859         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
15860         (flt_min): Replace with use of DEFINE_FLT_MIN.
15861         (MO): New macro.
15862         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
15863         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
15864         (__log1pl): Use MO.
15866         [BZ #19003]
15867         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
15868         $(config-cflags-nofma).
15870 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15872         * sysdeps/aarch64/libm-test-ulps: Regenerated.
15874 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
15876         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
15877         (TWO127): Likewise.
15879         * sysdeps/generic/math_private.h (fabs_tg): New macro.
15880         (min_of_type): Likewise.
15881         (math_check_force_underflow): Likewise.
15882         (math_check_force_underflow_nonneg): Likewise.
15883         (math_check_force_underflow_complex): Likewise.
15884         * math/e_exp2l.c (__ieee754_exp2l): Use
15885         math_check_force_underflow_nonneg.
15886         * math/k_casinh.c (__kernel_casinh): Likewise.
15887         * math/k_casinhf.c (__kernel_casinhf): Likewise.
15888         * math/k_casinhl.c (__kernel_casinhl): Likewise.
15889         * math/s_catan.c (__catan): Use
15890         math_check_force_underflow_complex.
15891         * math/s_catanf.c (__catanf): Likewise.
15892         * math/s_catanh.c (__catanh): Likewise.
15893         * math/s_catanhf.c (__catanhf): Likewise.
15894         * math/s_catanhl.c (__catanhl): Likewise.
15895         * math/s_catanl.c (__catanl): Likewise.
15896         * math/s_ccosh.c (__ccosh): Likewise.
15897         * math/s_ccoshf.c (__ccoshf): Likewise.
15898         * math/s_ccoshl.c (__ccoshl): Likewise.
15899         * math/s_cexp.c (__cexp): Likewise.
15900         * math/s_cexpf.c (__cexpf): Likewise.
15901         * math/s_cexpl.c (__cexpl): Likewise.
15902         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
15903         * math/s_clog10.c (__clog10): Likewise.
15904         * math/s_clog10f.c (__clog10f): Likewise.
15905         * math/s_clog10l.c (__clog10l): Likewise.
15906         * math/s_clogf.c (__clogf): Likewise.
15907         * math/s_clogl.c (__clogl): Likewise.
15908         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
15909         * math/s_csinf.c (__csinf): Likewise.
15910         * math/s_csinh.c (__csinh): Likewise.
15911         * math/s_csinhf.c (__csinhf): Likewise.
15912         * math/s_csinhl.c (__csinhl): Likewise.
15913         * math/s_csinl.c (__csinl): Likewise.
15914         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
15915         * math/s_csqrtf.c (__csqrtf): Likewise.
15916         * math/s_csqrtl.c (__csqrtl): Likewise.
15917         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
15918         * math/s_ctanf.c (__ctanf): Likewise.
15919         * math/s_ctanh.c (__ctanh): Likewise.
15920         * math/s_ctanhf.c (__ctanhf): Likewise.
15921         * math/s_ctanhl.c (__ctanhl): Likewise.
15922         * math/s_ctanl.c (__ctanl): Likewise.
15923         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
15924         instead of volatile.
15925         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
15926         math_check_force_underflow.
15927         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15928         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
15929         volatile when forcing underflow.
15930         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
15931         math_check_force_underflow_nonneg.
15932         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
15933         Likewise.
15934         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
15935         math_check_force_underflow.
15936         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
15937         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15938         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15939         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
15940         math_check_force_underflow_nonneg.
15941         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
15942         math_check_force_underflow.
15943         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
15944         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
15945         instead of volatile.
15946         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
15947         math_check_force_underflow.
15948         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
15949         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
15950         math_check_force_underflow_nonneg.
15951         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
15952         math_check_force_underflow.
15953         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
15954         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15955         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
15956         math_check_force_underflow_nonneg.
15957         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
15958         Likewise.
15959         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
15960         math_check_force_underflow.
15961         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
15962         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
15963         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
15964         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
15965         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
15966         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
15967         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
15968         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
15969         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
15970         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
15971         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
15972         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
15973         Likewise.
15974         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
15975         math_check_force_underflow_nonneg.
15976         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
15977         Likewise.
15978         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
15979         math_check_force_underflow.
15980         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
15981         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
15982         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
15983         Likewise.
15984         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
15985         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
15986         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
15987         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
15988         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
15989         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
15990         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
15991         instead of volatile.
15992         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
15993         math_check_force_underflow.
15994         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
15995         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
15996         math_check_force_underflow.
15997         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
15998         Likewise.
15999         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16000         Use math_check_force_underflow_nonneg.
16001         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
16002         math_check_force_underflow.
16003         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
16004         Likewise.
16005         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
16006         Likewise.
16007         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
16008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
16009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
16010         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
16011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
16012         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
16013         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
16014         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
16015         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
16016         math_check_force_underflow_nonneg.
16017         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
16018         math_check_force_underflow.
16019         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
16020         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
16021         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
16022         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
16023         math_check_force_underflow_nonneg.
16024         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
16025         math_check_force_underflow.
16026         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
16027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
16028         instead of volatile.
16029         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
16030         math_check_force_underflow.
16032         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
16033         * stdlib/strtod_l.c: Include <math_private.h>.
16034         (overflow_value): Use math_narrow_eval.
16035         (underflow_value): Likewise.
16036         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
16037         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
16038         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
16039         (__ieee754_gamma_r): Likewise.
16040         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
16041         Likewise.
16042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
16043         Likewise.
16044         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
16045         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
16046         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
16047         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
16048         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
16049         (__ieee754_gammaf_r): Likewise.
16050         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
16051         Likewise.
16052         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
16053         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
16054         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
16055         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
16056         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
16057         volatile.
16058         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
16059         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
16060         math_narrow_eval.
16061         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
16062         Likewise.
16063         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
16064         Likewise.
16065         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
16066         Likewise.
16067         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
16068         volatile.
16069         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
16070         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
16071         math_narrow_eval.
16072         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
16073         Likewise.
16074         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
16075         Likewise.
16077 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
16079         * nptl/Versions: Remove ignored symbols.
16081 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16083         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
16084         * nss/Makefile (tests): Update.
16086 2015-09-22  Florian Weimer  <fweimer@redhat.com>
16088         * nss/bug18287.c: New file.
16089         * nss/Makefile (tests): Add bug18287.
16091 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16093         * mach/Versions (__mach_host_self_): Add symbol.
16095 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16097         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
16098         vm_page_size.
16100 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16102         Really fix sysdeps/i386/fpu/s_scalbn.S build
16104         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
16105         (libc: GLIBC_2_22): Remove unused version set.
16107 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16109         * config.make.in (enable-timezone-tools): New variable.
16110         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
16111         (enable_timezone_tools): Export to generated files.
16112         * configure: Regenerate.
16113         * INSTALL: Regenerate.
16114         * manual/install.texi (--disable-timezone-tools): Document new flag.
16115         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
16116         ifeq ($(enable-timezone-tools),yes) check.
16118 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16120         * timezone/Makefile: Revert previous change.
16122         [BZ #18980]
16123         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
16124         (DEFINE_DBL_MIN): Likewise.
16125         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16126         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
16127         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16128         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
16129         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
16130         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16131         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16132         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
16133         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
16134         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16135         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16136         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
16137         (flt_min): Replace with use of DEFINE_FLT_MIN.
16138         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16139         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
16140         (dbl_min): Replace with use of DEFINE_DBL_MIN.
16141         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
16142         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
16143         (flt_min): Replace with use of DEFINE_FLT_MIN.
16144         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16145         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
16146         (flt_min): Replace with use of DEFINE_FLT_MIN.
16147         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
16148         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
16149         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
16150         (__ieee754_hypot): Use DBL_NARROW_EVAL.
16151         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
16152         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
16153         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
16154         (__ieee754_pow): Use DBL_NARROW_EVAL.
16155         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
16156         (__ieee754_powf): Use FLT_NARROW_EVAL.
16157         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
16158         (__ieee754_expf_sse2): Convert double-precision result to single
16159         precision.
16160         * sysdeps/i386/fpu/libm-test-ulps: Update.
16162 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16164         * timezone/Makefile: Ignore unused variable errors due to private.h
16165         (time_t_min) and (time_t_max).
16166         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
16167         Likewise.
16169 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16171         [BZ #18981]
16172         * sysdeps/i386/fpu/i386-math-asm.h: New file.
16173         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
16174         (__ieee754_scalb): Use DBL_NARROW_EVAL.
16175         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
16176         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
16177         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
16178         (__scalbn): Use DBL_NARROW_EVAL.
16179         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
16180         (__scalbnf): Use FLT_NARROW_EVAL.
16182 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16184         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
16185         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
16186         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
16187         * stdio-common/printf_fp.c (___printf_fp):
16188         Use signbit to get the sign. Use isinf macro to allow inlining.
16189         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
16190         * stdio-common/printf_size.c (__printf_size): Likewise.
16192 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
16194         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
16196 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
16198         [BZ #18980]
16199         * sysdeps/generic/math_private.h: Include <float.h>.
16200         (math_narrow_eval): New macro.
16201         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
16202         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
16203         math_narrow_eval on overflowing return value.
16204         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
16205         Likewise.
16206         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
16207         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
16208         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
16209         Likewise.
16210         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
16212 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16214         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
16215         * math/Makefile: Remove isinf_ns.c.
16216         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
16217         * math/multc3.c (__multc3): Likewise.
16218         * math/s_casin.c (__casin): Likewise.
16219         * math/s_casinf.c (__casinf): Likewise.
16220         * math/s_casinl.c (__casinl): Likewise.
16221         * math/s_cproj.c (__cproj): Likewise.
16222         * math/s_cprojf.c (__cprojf): Likewise.
16223         * math/s_cprojl.c (__cprofl): Likewise.
16224         * math/s_ctan.c (__ctan): Likewise.
16225         * math/s_ctanf.c (__ctanf): Likewise.
16226         * math/s_ctanh.c (__ctanh): Likewise.
16227         * math/s_ctanhf.c (__ctanhf): Likewise.
16228         * math/s_ctanhl.c (__ctanhl): Likewise.
16229         * math/s_ctanl.c (__ctanl): Likewise.
16230         * math/w_fmod.c (__fmod): Likewise.
16231         * math/w_fmodf.c (__fmodf): Likewise.
16232         * math/w_fmodl.c (_fmodl): Likewise.
16233         * math/w_remainder.c (__remainder): Likewise.
16234         * math/w_remainderf.c (__remainderf): Likewise.
16235         * math/w_remainderl.c (__remainderl): Likewise.
16236         * math/w_scalb.c (__scalb): Likewise.
16237         * math/w_scalbf.c (__scalbf): Likewise.
16238         * math/w_scalbl.c (__scalbl): Likewise.
16239         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
16240         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
16241         with isinf.
16242         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
16243         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
16244         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
16245         __isinf_nsf with isinf.
16246         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
16247         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
16248         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
16249         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
16250         with isinf.
16251         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
16252         __isinf_nsl with isinf.
16253         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
16254         with isinf.
16255         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
16256         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
16257         __isinf_nsl with isinf.
16258         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
16259         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
16260         with isinf.
16262 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16264         * resolv/base64.c (rcsid): Remove unused static.
16265         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
16266         static.  (tqpi1): Likewise.
16267         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
16268         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
16269         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
16270         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
16271         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
16272         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
16273         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
16274         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
16275         Likewise.
16277 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
16279         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
16280         <nptl/pthreadP.h>.
16281         (_longjmp_unwind): Use __libc_ptf_call.
16282         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
16284 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
16286         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
16287         * sysdeps/arm/__longjmp.S: Likewise.
16289 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16291         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
16292         Use __builtin_signbit.
16293         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
16294         Use __builtin_signbitf.
16295         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
16296         Use __builtin_signbitl.
16297         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
16298         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
16300 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16302         [BZ #15367]
16303         [BZ #17441]
16305         * math/Makefile: Build test-snan.c with -fsignaling-nans.
16306         * math/math.h (fpclassify): Use __builtin_fpclassify when
16307         available.  (signbit): Use __builtin_signbit(f/l).
16308         (isfinite): Use__builtin_isfinite.  (isnormal): Use
16309         __builtin_isnormal.  (isnan): Use __builtin_isnan.
16310         (isinf): Use __builtin_isinf_sign.
16312 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
16314         * benchtests/Makefile: Add bench-math-inlines, link with libm.
16315         * benchtests/bench-math-inlines.c: New benchmark.
16316         * benchtests/bench-util.h: New file.
16317         * benchtests/bench-util.c: New file.
16318         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
16320 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
16322         * elf/tst-dlmopen1.c: Define TEST_SO.
16323         (do_test): Use TEST_SO.
16325         * elf/dl-load.c: Include libc-internal.h.
16326         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
16328 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16330         [BZ #17887]
16331         * time/strptime_l.c (__strptime_internal): Make %z accept
16332         [+-]HH:MM time zones.
16334 2015-09-18  Vincent Bernat  <vincent@bernat.im>
16336         [BZ #17886]
16337         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
16338         valid time zone.
16340 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
16342         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
16343         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
16344         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16345         (__ASSUME_FDATASYNC): Delete.
16347 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16349         * conform/linknamespace.pl: Require weak undefined symbols to be
16350         in the standard namespace.
16351         (%strong_syms): Rename to %seen_syms.
16352         (%strong_seen): Rename to %seen_where.
16354 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
16356         [BZ #18970]
16357         * misc/error.c (error): Replace pthread_setcancelstate with
16358         __pthread_setcancelstate.
16359         (error_at_line): Likewise.
16360         * posix/wordexp.c (parse_comm): Likewise.
16361         * stdlib/fmtmsg.c (fmtmsg): Likewise.
16362         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
16363         (__pthread_setcancelstate): This.
16364         (pthread_setcancelstate): Add an alias.
16365         * nptl/nptl-init.c (pthread_functions): Replace
16366         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
16367         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
16368         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
16369         hidden_proto.
16370         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
16371         it with hidden_def.
16372         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
16373         (pthread_setcancelstate): Renamed to ...
16374         (__pthread_setcancelstate): This.
16375         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
16376         __libc_ptf_call with __pthread_setcancelstate.
16378 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16379             Andreas Schwab  <schwab@suse.de>
16381         [BZ #17118]
16382         * math/s_ctan.c (__ctan): Determine sign of zero real part of
16383         result when imaginary part of argument is infinite using sine and
16384         cosine.
16385         * math/s_ctanf.c (__ctanf): Likewise.
16386         * math/s_ctanl.c (__ctanl): Likewise.
16387         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
16388         of result when real part of argument is infinite using sine and
16389         cosine.
16390         * math/s_ctanhf.c (__ctanhf): Likewise.
16391         * math/s_ctanhl.c (__ctanhl): Likewise.
16392         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
16393         (ctanh_test_data): Add more tests of ctanh.
16395 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
16397         [BZ #15384]
16398         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
16399         bit-mask as in subtraction.
16400         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
16401         Likewise.
16402         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
16403         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
16404         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
16406         [BZ #18951]
16407         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
16408         underflow exception for small results.
16409         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
16410         Likewise.
16411         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
16412         Likewise.
16413         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
16414         Likewise.
16415         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
16416         Likewise.
16417         * math/auto-libm-test-in: Add more tests of tgamma.
16418         * math/auto-libm-test-out: Regenerated.
16420 2015-09-17  Andreas Schwab  <schwab@suse.de>
16422         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
16424 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16426         [BZ #18977]
16427         * math/bits/mathcalls.h
16428         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
16429         not declare.
16430         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
16431         Likewise.
16432         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
16433         Likewise.
16434         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
16435         Likewise.
16436         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
16437         Likewise.
16438         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
16439         Likewise.
16440         * conform/data/math.h-data
16441         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
16442         function.
16443         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
16444         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
16445         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
16446         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
16447         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
16448         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
16449         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
16450         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
16451         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
16452         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
16453         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
16455         [BZ #6803]
16456         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
16457         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
16458         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
16459         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
16460         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
16461         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
16462         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
16463         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
16464         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16465         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
16466         Likewise.
16467         [NO_LONG_DOUBLE] (scalbnl): Likewise.
16468         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
16469         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
16470         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
16471         long_double_symbol calls.
16472         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
16473         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
16474         strong alias of __ldexpl.
16475         (scalbnl): Define using long_double_symbol.
16476         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
16477         Remove alias.
16478         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
16479         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
16480         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
16481         (scalbln_test_data): Add more errno expectations.
16483 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
16485         Cache the host port like we cache the task port.  This way we do not
16486         need to call the kernel just to get the port.  Furthermore, we no
16487         longer increase the reference count on every invocation of
16488         `mach_host_self'.
16490         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
16491         Protect declarations against the macro expansion.
16492         * mach/mach_init.c (__mach_host_self_): New variable.
16493         (mach_init): Initialize `__mach_host_self_'.
16494         * mach/mach_init.h (__mach_host_self_): New declaration.
16495         (__mach_host_self, mach_host_self): New macros.
16496         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
16497         Release reference.
16499 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
16501         [BZ #4404]
16502         * po/de.po: Update from Translation Project.
16504         [BZ #16415]
16505         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
16506         (__expm1l): Remove code to handle positive infinity and overflow.
16507         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
16508         variable.
16509         (__expm1l): Remove code to handle positive infinity and overflow.
16511 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
16512             Paul Pluzhnikov  <ppluzhnikov@google.com>
16514         [BZ #18872]
16515         * stdio-common/Makefile (tst-printf-bz18872): New test.
16516         (tst-printf-bz18872-mem.out): Likewise.
16517         * stdio-common/tst-printf-bz18872.sh: Generate new test.
16518         * stdio-common/vfprintf.c: Fix memory leaks.
16520 2015-09-16  Andreas Schwab  <schwab@suse.de>
16522         [BZ #17244]
16523         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
16524         Remove extra va_start/va_end calls.
16526         [BZ #17243]
16527         * posix/execl.c (execl): Add missing va_end.
16528         * posix/execle.c (execle): Likewise.
16529         * posix/execlp.c (execlp): Likewise.
16531 2015-09-15  Roland McGrath  <roland@hack.frob.com>
16533         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
16534         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
16536 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
16538         [BZ #18967]
16539         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
16540         undefine around includes of <bits/mathcalls.h>.
16541         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
16542         not declare function.
16543         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
16544         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
16545         (scalb): Likewise.
16546         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
16547         not define macro.
16548         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
16549         variable.
16550         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16551         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16552         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16554         [BZ #18857]
16555         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
16556         return non-finite argument without doing ordered comparisons on
16557         it.
16559         [BZ #16296]
16560         * math/fenv.h (fegetround): Use __attribute_pure__.
16561         * include/fenv.h (__fegetround): Likewise.
16563         [BZ #18595]
16564         * math/s_ctan.c (__ctan): Force underflow exception for results
16565         whose real or imaginary part has small absolute value.
16566         * math/s_ctanf.c (__ctanf): Likewise.
16567         * math/s_ctanh.c (__ctanh): Likewise.
16568         * math/s_ctanhf.c (__ctanhf): Likewise.
16569         * math/s_ctanhl.c (__ctanhl): Likewise.
16570         * math/s_ctanl.c (__ctanl): Likewise.
16571         * math/auto-libm-test-in: Do not allow missing underflow for ctan
16572         and ctanh.  Add more tests of ctan and ctanh.
16574         [BZ #15918]
16575         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
16576         handling of cases where one argument is an infinity.
16578         [BZ #18875]
16579         [BZ #18966]
16580         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
16581         (MO): New macro.
16582         (__ieee754_exp10): For small results, force underflow exception
16583         and remove excess range and precision from return value.
16584         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
16585         (MO): New macro.
16586         (__ieee754_exp10f): For small results, force underflow exception
16587         and remove excess range and precision from return value.
16588         * math/auto-libm-test-in: Add more tests of exp10.
16589         * math/auto-libm-test-out: Regenerated.
16591 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
16593         [BZ #18875]
16594         [BZ #18961]
16595         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
16596         (MO): New macro.
16597         (__ieee754_exp): For small results, force underflow exception and
16598         remove excess range and precision from return value.
16599         (__exp_finite): Likewise.
16600         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
16601         (MO): New macro.
16602         (__ieee754_expf): For small results, force underflow exception and
16603         remove excess range and precision from return value.
16604         (__expf_finite): Likewise.
16605         * math/auto-libm-test-in: Add more tests of exp.
16606         * math/auto-libm-test-out: Regenerated.
16608         [BZ #16521]
16609         [BZ #18875]
16610         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
16611         small results.
16612         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
16613         (MO): New macro.
16614         (__ieee754_exp2): For small results, force underflow exception and
16615         remove excess range and precision from return value.
16616         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
16617         (MO): New macro.
16618         (__ieee754_exp2f): For small results, force underflow exception
16619         and remove excess range and precision from return value.
16620         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
16621         (MO): New macro.
16622         (__ieee754_exp2l): Force underflow exception for small results.
16623         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
16624         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
16625         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
16626         (MO): New macro.
16627         (__ieee754_exp2l): Force underflow exception for small results.
16628         * math/auto-libm-test-in: Add more tests or exp2.
16629         * math/auto-libm-test-out: Regenerated.
16631 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
16633         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
16635         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
16636         /dev/null.
16638 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16640         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16641         io fs process)): Drop spurious backslash.
16643 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
16645         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
16646         Use sysinfo system call instead of parsing /proc/meminfo.
16647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
16648         Likewise.
16650 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
16652         [BZ #16985]
16653         * programs/localedef.c (main): Display argv[remaining] when
16654         output_path is NULL.
16656 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16658         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16659         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
16660         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
16661         tanh.
16662         * math/auto-libm-test-out: Regenerated.
16663         * sysdeps/i386/fpu/libm-test-ulps: Update.
16664         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16665         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16666         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16668 2015-09-11  Roland McGrath  <roland@hack.frob.com>
16670         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
16671         Use 'override' keyword to freeze the value here, preventing
16672         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
16674 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
16676         [BZ #14912]
16677         * sysdeps/aarch64/bits/atomic.h: Move to ...
16678         * sysdeps/aarch64/atomic-machine.h: ...here.
16679         (_AARCH64_BITS_ATOMIC_H): Rename macro to
16680         _AARCH64_ATOMIC_MACHINE_H.
16681         * sysdeps/alpha/bits/atomic.h: Move to ...
16682         * sysdeps/alpha/atomic-machine.h: ...here.
16683         * sysdeps/arm/bits/atomic.h: Move to ...
16684         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
16685         * bits/atomic.h: Move to ...
16686         * sysdeps/generic/atomic-machine.h: ...here.
16687         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16688         * sysdeps/i386/bits/atomic.h: Move to ...
16689         * sysdeps/i386/atomic-machine.h: ...here.
16690         * sysdeps/ia64/bits/atomic.h: Move to ...
16691         * sysdeps/ia64/atomic-machine.h: ...here.
16692         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
16693         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
16694         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16695         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
16696         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
16697         * sysdeps/microblaze/bits/atomic.h: Move to ...
16698         * sysdeps/microblaze/atomic-machine.h: ...here.
16699         * sysdeps/mips/bits/atomic.h: Move to ...
16700         * sysdeps/mips/atomic-machine.h: ...here.
16701         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
16702         * sysdeps/powerpc/bits/atomic.h: Move to ...
16703         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
16704         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
16705         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
16706         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
16707         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
16708         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
16709         <atomic-machine.h> instead of <bits/atomic.h>.
16710         * sysdeps/s390/bits/atomic.h: Move to ...
16711         * sysdeps/s390/atomic-machine.h: ...here.
16712         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
16713         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
16714         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16715         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
16716         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
16717         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
16718         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
16719         * sysdeps/tile/bits/atomic.h: Move to ...
16720         * sysdeps/tile/atomic-machine.h: ...here.
16721         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
16722         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
16723         <sysdeps/tile/atomic-machine.h> instead of
16724         <sysdeps/tile/bits/atomic.h>.
16725         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16726         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
16727         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
16728         <sysdeps/tile/atomic-machine.h> instead of
16729         <sysdeps/tile/bits/atomic.h>.
16730         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16731         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
16732         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
16733         <sysdeps/arm/atomic-machine.h> instead of
16734         <sysdeps/arm/bits/atomic.h>.
16735         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
16736         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
16737         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16738         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
16739         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
16740         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
16741         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
16742         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
16743         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
16744         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
16745         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
16746         * sysdeps/x86_64/bits/atomic.h: Move to ...
16747         * sysdeps/x86_64/atomic-machine.h: ...here.
16748         * include/atomic.h: Include <atomic-machine.h> instead of
16749         <bits/atomic.h>.
16751         * sysdeps/mips/mips32/libm-test-ulps: Update.
16752         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16754         [BZ #18952]
16755         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
16756         not convert non-integer negative arguments to int to determine the
16757         value of signgam.
16758         * math/auto-libm-test-in: Add more tests of lgamma.
16759         * math/auto-libm-test-out: Regenerated.
16761         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
16762         cosh, csqrt, erfc, expm1 and lgamma.
16763         * math/auto-libm-test-out: Regenerated.
16764         * sysdeps/i386/fpu/libm-test-ulps: Update.
16765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16767 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
16769         [BZ #2542]
16770         [BZ #2543]
16771         [BZ #2558]
16772         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
16773         __lgamma_neg for arguments from -28.0 to -2.0.
16774         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
16775         __lgamma_negf for arguments from -15.0 to -2.0.
16776         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16777         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
16778         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
16779         Call __lgamma_negl for arguments from -33.0 to -2.0.
16780         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
16781         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
16782         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
16783         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
16784         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
16785         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
16786         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
16787         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
16788         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
16789         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
16790         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
16791         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
16792         (__lgamma_neg): Likewise.
16793         (__lgamma_negl): Likewise.
16794         (__lgamma_product): Likewise.
16795         (__lgamma_productl): Likewise.
16796         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
16797         * math/auto-libm-test-in: Add more tests of lgamma.
16798         * math/auto-libm-test-out: Regenerated.
16799         * sysdeps/i386/fpu/libm-test-ulps: Update.
16800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16802 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
16804         [BZ #18675]
16805         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
16807 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
16809         [BZ #14912]
16810         * bits/libc-lock.h: Move to ...
16811         * sysdeps/generic/libc-lock.h: ...here.
16812         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16813         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
16814         * sysdeps/mach/hurd/libc-lock.h: ...here.
16815         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16816         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
16817         * sysdeps/mach/bits/libc-lock.h: Move to ...
16818         * sysdeps/mach/libc-lock.h: ...here.
16819         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16820         * sysdeps/nptl/bits/libc-lock.h: Move to ...
16821         * sysdeps/nptl/libc-lock.h: ...here.
16822         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
16823         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
16824         * sysdeps/nptl/libc-lockP.h: ...here.
16825         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
16826         * crypt/crypt_util.c: Include <libc-lock.h> instead of
16827         <bits/libc-lock.h>.
16828         * dirent/scandir-tail.c: Likewise.
16829         * dlfcn/dlerror.c: Likewise.
16830         * elf/dl-close.c: Likewise.
16831         * elf/dl-iteratephdr.c: Likewise.
16832         * elf/dl-lookup.c: Likewise.
16833         * elf/dl-open.c: Likewise.
16834         * elf/dl-support.c: Likewise.
16835         * elf/dl-writev.h: Likewise.
16836         * elf/rtld.c: Likewise.
16837         * grp/fgetgrent.c: Likewise.
16838         * gshadow/fgetsgent.c: Likewise.
16839         * gshadow/sgetsgent.c: Likewise.
16840         * iconv/gconv_conf.c: Likewise.
16841         * iconv/gconv_db.c: Likewise.
16842         * iconv/gconv_dl.c: Likewise.
16843         * iconv/gconv_int.h: Likewise.
16844         * iconv/gconv_trans.c: Likewise.
16845         * include/link.h: Likewise.
16846         * inet/getnameinfo.c: Likewise.
16847         * inet/getnetgrent.c: Likewise.
16848         * inet/getnetgrent_r.c: Likewise.
16849         * intl/bindtextdom.c: Likewise.
16850         * intl/dcigettext.c: Likewise.
16851         * intl/finddomain.c: Likewise.
16852         * intl/gettextP.h: Likewise.
16853         * intl/loadmsgcat.c: Likewise.
16854         * intl/localealias.c: Likewise.
16855         * intl/textdomain.c: Likewise.
16856         * libidn/idn-stub.c: Likewise.
16857         * libio/libioP.h: Likewise.
16858         * locale/duplocale.c: Likewise.
16859         * locale/freelocale.c: Likewise.
16860         * locale/newlocale.c: Likewise.
16861         * locale/setlocale.c: Likewise.
16862         * login/getutent_r.c: Likewise.
16863         * login/getutid_r.c: Likewise.
16864         * login/getutline_r.c: Likewise.
16865         * login/utmp-private.h: Likewise.
16866         * login/utmpname.c: Likewise.
16867         * malloc/mtrace.c: Likewise.
16868         * misc/efgcvt.c: Likewise.
16869         * misc/error.c: Likewise.
16870         * misc/fstab.c: Likewise.
16871         * misc/getpass.c: Likewise.
16872         * misc/mntent.c: Likewise.
16873         * misc/syslog.c: Likewise.
16874         * nis/nis_call.c: Likewise.
16875         * nis/nis_callback.c: Likewise.
16876         * nis/nss-default.c: Likewise.
16877         * nis/nss_compat/compat-grp.c: Likewise.
16878         * nis/nss_compat/compat-initgroups.c: Likewise.
16879         * nis/nss_compat/compat-pwd.c: Likewise.
16880         * nis/nss_compat/compat-spwd.c: Likewise.
16881         * nis/nss_nis/nis-alias.c: Likewise.
16882         * nis/nss_nis/nis-ethers.c: Likewise.
16883         * nis/nss_nis/nis-grp.c: Likewise.
16884         * nis/nss_nis/nis-hosts.c: Likewise.
16885         * nis/nss_nis/nis-network.c: Likewise.
16886         * nis/nss_nis/nis-proto.c: Likewise.
16887         * nis/nss_nis/nis-pwd.c: Likewise.
16888         * nis/nss_nis/nis-rpc.c: Likewise.
16889         * nis/nss_nis/nis-service.c: Likewise.
16890         * nis/nss_nis/nis-spwd.c: Likewise.
16891         * nis/nss_nisplus/nisplus-alias.c: Likewise.
16892         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
16893         * nis/nss_nisplus/nisplus-grp.c: Likewise.
16894         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
16895         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
16896         * nis/nss_nisplus/nisplus-network.c: Likewise.
16897         * nis/nss_nisplus/nisplus-proto.c: Likewise.
16898         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
16899         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
16900         * nis/nss_nisplus/nisplus-service.c: Likewise.
16901         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
16902         * nis/ypclnt.c: Likewise.
16903         * nptl/libc_pthread_init.c: Likewise.
16904         * nss/getXXbyYY.c: Likewise.
16905         * nss/getXXent.c: Likewise.
16906         * nss/getXXent_r.c: Likewise.
16907         * nss/nss_db/db-XXX.c: Likewise.
16908         * nss/nss_db/db-netgrp.c: Likewise.
16909         * nss/nss_db/nss_db.h: Likewise.
16910         * nss/nss_files/files-XXX.c: Likewise.
16911         * nss/nss_files/files-alias.c: Likewise.
16912         * nss/nsswitch.c: Likewise.
16913         * posix/regex_internal.h: Likewise.
16914         * posix/wordexp.c: Likewise.
16915         * pwd/fgetpwent.c: Likewise.
16916         * resolv/res_hconf.c: Likewise.
16917         * resolv/res_libc.c: Likewise.
16918         * shadow/fgetspent.c: Likewise.
16919         * shadow/lckpwdf.c: Likewise.
16920         * shadow/sgetspent.c: Likewise.
16921         * socket/opensock.c: Likewise.
16922         * stdio-common/reg-modifier.c: Likewise.
16923         * stdio-common/reg-printf.c: Likewise.
16924         * stdio-common/reg-type.c: Likewise.
16925         * stdio-common/vfprintf.c: Likewise.
16926         * stdio-common/vfscanf.c: Likewise.
16927         * stdlib/abort.c: Likewise.
16928         * stdlib/cxa_atexit.c: Likewise.
16929         * stdlib/fmtmsg.c: Likewise.
16930         * stdlib/random.c: Likewise.
16931         * stdlib/setenv.c: Likewise.
16932         * string/strsignal.c: Likewise.
16933         * sunrpc/auth_none.c: Likewise.
16934         * sunrpc/bindrsvprt.c: Likewise.
16935         * sunrpc/create_xid.c: Likewise.
16936         * sunrpc/key_call.c: Likewise.
16937         * sunrpc/rpc_thread.c: Likewise.
16938         * sysdeps/arm/backtrace.c: Likewise.
16939         * sysdeps/generic/ldsodefs.h: Likewise.
16940         * sysdeps/generic/stdio-lock.h: Likewise.
16941         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
16942         * sysdeps/i386/backtrace.c: Likewise.
16943         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16944         * sysdeps/m68k/backtrace.c: Likewise.
16945         * sysdeps/mach/hurd/cthreads.c: Likewise.
16946         * sysdeps/mach/hurd/dirstream.h: Likewise.
16947         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
16948         * sysdeps/nptl/malloc-machine.h: Likewise.
16949         * sysdeps/nptl/stdio-lock.h: Likewise.
16950         * sysdeps/posix/dirstream.h: Likewise.
16951         * sysdeps/posix/getaddrinfo.c: Likewise.
16952         * sysdeps/posix/system.c: Likewise.
16953         * sysdeps/pthread/aio_suspend.c: Likewise.
16954         * sysdeps/s390/s390-32/backtrace.c: Likewise.
16955         * sysdeps/s390/s390-64/backtrace.c: Likewise.
16956         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
16957         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
16958         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
16959         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
16960         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
16961         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
16962         * sysdeps/unix/sysv/linux/system.c: Likewise.
16963         * sysdeps/x86_64/backtrace.c: Likewise.
16964         * time/alt_digit.c: Likewise.
16965         * time/era.c: Likewise.
16966         * time/tzset.c: Likewise.
16967         * wcsmbs/wcsmbsload.c: Likewise.
16968         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
16969         instead of <bits/libc-lock.h> in comment.
16971 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
16973         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
16974         Only use .set mips2 if the current ISA is below mips2.
16975         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
16976         Likewise.
16977         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
16978         mips32r2 if the current ISA is below mips32r2.
16979         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
16980         (TLS_IE): Updated to use the TLD_RDHWR macro.
16981         (TLS_LE): Likewise.
16982         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
16983         __ASSEMBLER__ condition.
16985 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16987         Fix parallel build of before-compile targets.
16989         * sysdeps/mach/Makefile ($(patsubst
16990         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
16991         mach-before-compile target.
16992         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
16993         io fs process)): Move rule to dedicated hurd-before-compile target.
16995 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16997         Fix rules generating headers in hurd/ and mach/ when initial make call
16998         has subdir= explicitly set.
17000         * sysdeps/mach/Makefile ($(patsubst
17001         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
17002         calling $(MAKE).
17003         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
17004         io fs process)): Force subdir to hurd when calling $(MAKE).
17005         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
17006         subdir to mach when calling $(MAKE).
17008 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
17010         Check sysheaders when looking for Mach and Hurd headers
17012         * sysdeps/mach/configure.ac: Add sysheaders check.
17013         * sysdeps/mach/configure: Regenerate.
17014         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
17015         * sysdeps/mach/hurd/configure: Regenerate.
17017 2015-09-04  Roland McGrath  <roland@hack.frob.com>
17019         [BZ #18921]
17020         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
17021         Fix inverted sense of test of 'o_directory_works' value.
17022         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
17023         Bernhard Voelker <mail@bernhard-voelker.de>.
17025 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17027         [BZ #14912]
17028         * bits/linkmap.h: Move to ...
17029         * sysdeps/generic/linkmap.h: ...here.
17030         * sysdeps/aarch64/bits/linkmap.h: Move to ...
17031         * sysdeps/aarch64/linkmap.h: ...here.
17032         * sysdeps/arm/bits/linkmap.h: Move to ...
17033         * sysdeps/arm/linkmap.h: ...here.
17034         * sysdeps/hppa/bits/linkmap.h: Move to ...
17035         * sysdeps/hppa/linkmap.h: ...here.
17036         * sysdeps/ia64/bits/linkmap.h: Move to ...
17037         * sysdeps/ia64/linkmap.h: ...here.
17038         * sysdeps/mips/bits/linkmap.h: Move to ...
17039         * sysdeps/mips/linkmap.h: ...here.
17040         * sysdeps/s390/bits/linkmap.h: Move to ...
17041         * sysdeps/s390/linkmap.h: ...here.
17042         * sysdeps/sh/bits/linkmap.h: Move to ...
17043         * sysdeps/sh/linkmap.h: ...here.
17044         * sysdeps/x86/bits/linkmap.h: Move to ...
17045         * sysdeps/x86/linkmap.h: ...here.
17046         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
17048 2015-09-04  Andreas Schwab  <schwab@suse.de>
17050         [BZ #18635]
17051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
17052         (__makecontext): Terminate FDE before return label.
17053         (__novec_makecontext): Likewise.
17055 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17057         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
17058         first member of struct sv in syscall macro.
17060 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
17062         [BZ #14912]
17063         * bits/stdio-lock.h: Move to ...
17064         * sysdeps/generic/stdio-lock.h: ...here.
17065         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17066         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
17067         * sysdeps/nptl/stdio-lock.h: ...here.
17068         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
17069         * include/libio.h: Include <stdio-lock.h> instead of
17070         <bits/stdio-lock.h>.
17071         * sysdeps/nptl/fork.c: Likewise.
17072         * sysdeps/pthread/flockfile.c: Likewise.
17073         * sysdeps/pthread/ftrylockfile.c: Likewise.
17074         * sysdeps/pthread/funlockfile.c: Likewise.
17076         [BZ #14912]
17077         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
17078         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
17079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
17080         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
17081         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
17082         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
17083         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
17085 2015-09-03  Roland McGrath  <roland@hack.frob.com>
17087         * elf/Makefile (test-xfail-tst-protected1a): New variable.
17088         (test-xfail-tst-protected1b): New variable.
17090 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
17092         [BZ #14912]
17093         * bits/libc-tsd.h: Move to ...
17094         * sysdeps/generic/libc-tsd.h: ...here.
17095         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
17096         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
17097         * sysdeps/mach/hurd/libc-tsd.h: ...here.
17098         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
17099         * include/ctype.h: Include <libc-tsd.h> instead of
17100         <bits/libc-tsd.h>.
17101         * include/rpc/rpc.h: Likewise.
17102         * locale/localeinfo.h: Likewise.
17103         * sunrpc/rpc_thread.c: Likewise.
17104         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
17105         * sysdeps/nptl/malloc-machine.h: Likewise.
17107         * Makefile (headers): Remove bits/libc-lock.h.
17108         * libio/Makefile (headers): Remove bits/stdio-lock.h.
17110         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
17111         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
17112         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
17113         <bits/stdio-lock.h>.
17114         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
17115         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
17117 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17119         [BZ #18757]
17120         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
17121         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
17122         BZ #18757.
17124 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
17126         * malloc/mtrace.pl: Filter out NULL entries.
17128 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
17130         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
17131         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
17132         macro.
17134         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
17135         (TCP_CC_INFO): Likewise.
17136         (TCP_SAVE_SYN): Likewise.
17137         (TCP_SAVED_SYN): Likewise.
17139 2015-08-31  Brett Neumeier <brett@neumeier.us>
17141         [BZ #18870]
17142         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
17144 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
17146         [BZ #18873]
17147         Fix broken overflow check in posix_fallocate
17148         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
17149         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
17150         Fix parenthesization typo.
17152 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
17154         [BZ #18887]
17155         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
17156         tst-mntent-blank-passno.
17157         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
17158         * misc/tst-mntent-blank-corrupt.c: New test.
17159         * misc/tst-mntent-blank-passno.c: New test ripped from ...
17160         * misc/tst-mntent.c (do_test): ... here.
17162 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
17164         [BZ #4404]
17165         * po/de.po: Fix SIGALRM typo.
17167 2015-08-28  James Perkins  <james@loowit.net>
17169         * time/tst-strptime2.c (tests): Replace short list of test
17170         strings for strptime %z specifier with code which exhaustively
17171         tests every combination of sign and 0 to 5 digits. Tests for
17172         rejection of invalid strings.
17174 2015-08-28  James Perkins  <james@loowit.net>
17176         [BZ #16141]
17177         * time/strptime_l.c (__strptime_internal): Fix %z minutes
17178         calculation, removing incorrect decimal time rounding, so that
17179         all minute values result in a valid seconds value.
17180         * time/strptime_l.c (__strptime_internal): Extend %z time zone
17181         offset range limits to UTC-99:59 through UTC+99:59 to parse
17182         current and historical use cases.
17183         * time/tst-strptime2.c (tests): Modify and add tests for the
17184         strptime %z input field descriptor, specifically conversion of
17185         minutes to seconds and validating an offset range of -9959 to
17186         +9959.
17188 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17189             Dmitry V. Levin  <ldv@altlinux.org>
17191         [BZ #18877]
17192         * posix/Makefile (tests): Add tst-mmap-offset.
17193         * posix/tst-mmap.c: New file.
17194         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
17195         offset calculation for negative values.
17197 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17199         * sysdeps/i386/init-arch.h: New file.
17200         * sysdeps/i386/i586/init-arch.h: Likewise.
17201         * sysdeps/i386/i686/init-arch.h: Likewise.
17202         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
17203         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
17204         * sysdeps/x86/cpu-features.h (bit_I586): New.
17205         (bit_I686): Likewise.
17206         (bit_CX8): Likewise.
17207         (bit_CMOV): Likewise.
17208         (index_CX8): Likewise.
17209         (index_CMOV): Likewise.
17210         (index_I586): Likewise.
17211         (index_I686): Likewise.
17212         (reg_CX8): Likewise.
17213         (reg_CMOV): Likewise.
17214         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
17215         available at compile-time.
17216         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
17217         available at compile-time.
17218         * sysdeps/x86/init-arch.h (USE_I586): New macro.
17219         (USE_I686): Likewise.
17221 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17223         * sysdeps/i386/bcopy.S: New file.
17224         * sysdeps/i386/bzero.S: Likewise.
17225         * sysdeps/i386/memcpy.S: Likewise.
17226         * sysdeps/i386/memmove.S: Likewise.
17227         * sysdeps/i386/mempcpy.S: Likewise.
17228         * sysdeps/i386/memset.S: Likewise.
17229         * sysdeps/i386/bzero.c: Removed.
17230         * sysdeps/i386/memset.c: Likewise.
17231         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
17232         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
17233         * sysdeps/i386/i586/memset_chk.S: Likewise.
17234         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
17235         * sysdeps/i386/memcpy_chk.S: Here.
17236         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
17237         * sysdeps/i386/memmove_chk.S: Here.
17238         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
17239         * sysdeps/i386/mempcpy_chk.S: Likewise.
17240         * sysdeps/i386/i686/memset_chk.S: Moved to ...
17241         * sysdeps/i386/memset_chk.S: Likewise.
17243 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
17245         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
17246         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
17247         file, move DIAG_POP_NEEDS_COMMENT to end of file.
17248         * soft-fp/fmadf4.c: Ditto.
17249         * soft-fp/fmatf4.c: Ditto.
17251 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17253         * sysdeps/i386/i586/Implies: Removed.
17254         * sysdeps/i386/i686/Implies: Likewise.
17256 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17258         * sysdeps/i386/i486/strlen.S: Moved to ...
17259         * sysdeps/i386/strlen.S: Here.
17261 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17263         * sysdeps/i386/i486/strcat.S: Moved to ...
17264         * sysdeps/i386/strcat.S: Here.
17266 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17268         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
17269         * sysdeps/i386/pthread_spin_trylock.S: Here.
17270         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
17271         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
17273 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17275         * sysdeps/i386/i486/string-inlines.c: Moved to ...
17276         * sysdeps/i386/string-inlines.c: Here.
17278 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17280         * sysdeps/i386/i486/htonl.S: Moved ...
17281         * sysdeps/i386/htonl.S: here.
17283 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17285         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
17286         * sysdeps/i386/bits/atomic.h: Here.
17288 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
17290         * sysdeps/i386/i486/Versions: Removed.
17292 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
17294         [BZ #2898]
17295         * misc/mktemp.c: Add mkdtemp to the link_warning message.
17296         Based on patch by Aurelien Jarno.
17298 2015-08-26  Stan Shebs  <stanshebs@google.com>
17300         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
17301         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
17303 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17305         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
17306         * sysdeps/powerpc/dl-procinfo.c:
17307         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
17308         feature so it shows when LD_SHOW_AUXV=1.
17310 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17312         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17313         (__arch_compare_and_exchange_val_32_acq): Remove and use common
17314         definition.  ISA 2.07B no longer requires full sync.
17316 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
17318         [BZ #18863]
17319         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
17320         (si_call_addr): Define.
17321         (si_syscall): Define.
17322         (si_arch): Define.
17324 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
17326         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
17327         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
17328         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
17329         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17330         (__memset_zero_constant_len_parameter): New.
17331         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
17332         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
17333         (__memset_zero_constant_len_parameter): Don't define if
17334         __memset_chk or USE_AS_BZERO are defined.
17336         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
17337         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
17338         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
17340         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
17341         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
17342         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
17343         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
17344         comments.
17345         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
17346         -mno-mmx for $(all-rtld-routines).
17347         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
17348         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
17349         i386.
17351 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
17353         * sysdeps/generic/unwind.h
17354         (_Unwind_Word): Use __mode__(__unwind_word__)
17355         instead of __mode__(__word__).
17356         (_Unwind_Sword): Likewise.
17358         * sysdeps/s390/s390-64/utf8-utf16-z9.c
17359         (MAX_NEEDED_INPUT): New define.
17360         (MAX_NEEDED_OUTPUT): New define.
17362         * NEWS: New item for IBM z13 string optimizations.
17364         * sysdeps/s390/multiarch/memrchr-c.c: New File.
17365         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
17366         * sysdeps/s390/multiarch/memrchr.c: Likewise.
17367         * sysdeps/s390/multiarch/Makefile
17368         (sysdep_routines): Add memrchr functions.
17369         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17370         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
17372         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
17373         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
17374         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
17375         * sysdeps/s390/multiarch/Makefile
17376         (sysdep_routines): Add wmemcmp functions.
17377         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17378         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
17379         * benchtests/bench-wmemcmp.c: New File.
17380         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
17382         * sysdeps/s390/multiarch/wmemset-c.c: New File.
17383         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
17384         * sysdeps/s390/multiarch/wmemset.c: Likewise.
17385         * sysdeps/s390/multiarch/Makefile
17386         (sysdep_routines): Add wmemset functions.
17387         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17388         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
17389         * wcsmbs/wmemset.c: Use WMEMSET if defined.
17390         * string/test-memset.c: Add wmemset support.
17391         * wcsmbs/test-wmemset.c: New File.
17392         * wcsmbs/Makefile (strop-tests): Add wmemset.
17393         * benchtests/bench-memset.c: Add wmemset support.
17394         * benchtests/bench-wmemset.c: New File.
17395         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
17397         * sysdeps/s390/multiarch/memccpy-c.c: New File.
17398         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
17399         * sysdeps/s390/multiarch/memccpy.c: Likewise.
17400         * sysdeps/s390/multiarch/Makefile
17401         (sysdep_routines): Add memccpy functions.
17402         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17403         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
17404         * string/memccpy.c: Use MEMCCPY if defined.
17406         * sysdeps/s390/multiarch/memchr-vx.S: New File.
17407         * sysdeps/s390/multiarch/memchr.c: Likewise.
17408         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
17409         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
17410         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
17411         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
17412         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
17413         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
17414         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
17415         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
17416         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
17417         and rawmemchr functions.
17418         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
17419         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
17420         and wmemchr.
17421         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
17422         * string/test-memchr.c: Add wmemchr support.
17423         * wcsmbs/test-wmemchr.c: New File.
17424         * wcsmbs/Makefile (strop-tests): Add wmemchr.
17425         * benchtests/bench-memchr.c: Add wmemchr support.
17426         * benchtests/bench-wmemchr.c: New File.
17427         * benchtests/Makefile (wcsmbs-bench): wmemchr.
17429         * sysdeps/s390/multiarch/strcspn-c.c: New File.
17430         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
17431         * sysdeps/s390/multiarch/strcspn.c: Likewise.
17432         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
17433         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
17434         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
17435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
17436         wcscspn functions.
17437         * sysdeps/s390/multiarch/ifunc-impl-list.c
17438         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
17439         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
17440         * string/test-strcspn.c: Add wcscspn support.
17441         * wcsmbs/test-wcscspn.c: New File.
17442         * wcsmbs/Makefile (strop-tests): Add wcscspn.
17443         * benchtests/bench-strcspn.c: Add wcscspn support.
17444         * benchtests/bench-wcscspn.c: New File.
17445         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
17447         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
17448         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
17449         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
17450         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
17451         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
17452         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
17453         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
17454         wcspbrk functions.
17455         * sysdeps/s390/multiarch/ifunc-impl-list.c
17456         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
17457         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
17458         * string/test-strpbrk.c: Add wcspbrk support.
17459         * wcsmbs/test-wcspbrk.c: New File.
17460         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
17461         * benchtests/bench-strpbrk.c: Add wcspbrk support.
17462         * benchtests/bench-wcspbrk.c: New File.
17463         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
17465         * sysdeps/s390/multiarch/strspn-c.c: New File.
17466         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
17467         * sysdeps/s390/multiarch/strspn.c: Likewise.
17468         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
17469         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
17470         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
17471         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
17472         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
17473         wcsspn functions.
17474         * sysdeps/s390/multiarch/ifunc-impl-list.c
17475         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
17476         * string/test-strspn.c: Add wcsspn support.
17477         * wcsmbs/test-wcsspn.c: New File.
17478         * wcsmbs/Makefile (strop-tests): Add wcsspn.
17479         * benchtests/bench-strspn.c: Add wcsspn support.
17480         * benchtests/bench-wcsspn.c: New File.
17481         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
17483         * sysdeps/s390/multiarch/strrchr-c.c: New File.
17484         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
17485         * sysdeps/s390/multiarch/strrchr.c: Likewise.
17486         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
17487         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
17488         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
17489         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
17490         wcsrchr functions.
17491         * sysdeps/s390/multiarch/ifunc-impl-list.c
17492         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
17493         * benchtests/bench-wcsrchr.c: New File.
17494         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
17496         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
17497         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
17498         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
17499         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
17500         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
17501         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
17502         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
17503         wcschrnul functions.
17504         * sysdeps/s390/multiarch/ifunc-impl-list.c
17505         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
17506         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
17507         * string/test-strchr.c: Add wcschrnul support.
17508         * wcsmbs/test-wcschrnul.c: New File.
17509         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
17510         * benchtests/bench-strchr.c: Add wcschrnul support.
17511         * benchtests/bench-wcschrnul.c: New File.
17512         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
17514         * sysdeps/s390/multiarch/strchr-c.c: New File.
17515         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
17516         * sysdeps/s390/multiarch/strchr.c: Likewise.
17517         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
17518         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
17519         * sysdeps/s390/multiarch/wcschr.c: Likewise.
17520         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
17521         wcschr functions.
17522         * sysdeps/s390/multiarch/ifunc-impl-list.c
17523         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
17524         * string/strchr.c (STRCHR): Define and use macro.
17525         * benchtests/bench-wcschr.c: New File.
17526         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
17528         * sysdeps/s390/multiarch/strncmp-c.c: New File.
17529         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
17530         * sysdeps/s390/multiarch/strncmp.c: Likewise.
17531         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
17532         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
17533         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
17534         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
17535         wcsncmp functions.
17536         * sysdeps/s390/multiarch/ifunc-impl-list.c
17537         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
17538         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
17539         * benchtests/bench-strncmp.c: Add wcsncmp support.
17540         * benchtests/bench-wcsncmp.c: New File.
17541         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
17543         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
17544         * sysdeps/s390/multiarch/strcmp.c: Likewise.
17545         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
17546         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
17547         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
17548         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
17549         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
17550         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
17551         wcscmp functions.
17552         * sysdeps/s390/multiarch/ifunc-impl-list.c
17553         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
17554         * string/strcmp.c (STRCMP): Define and use macro.
17555         * benchtests/bench-wcscmp.c: New File.
17556         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
17557         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
17558         instead of _HAVE_STRING_ARCH_memchr.
17560         * sysdeps/s390/multiarch/strncat-c.c: New File.
17561         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
17562         * sysdeps/s390/multiarch/strncat.c: Likewise.
17563         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
17564         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
17565         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
17566         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
17567         wcsncat functions.
17568         * sysdeps/s390/multiarch/ifunc-impl-list.c
17569         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
17570         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
17571         * string/test-strncat.c: Add wcsncat support.
17572         * wcsmbs/test-wcsncat.c: New File.
17573         * wcsmbs/Makefile (strop-tests): Add wcsncat.
17574         * benchtests/bench-strncat.c: Add wcsncat support.
17575         * benchtests/bench-wcsncat.c: New File.
17576         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
17578         * sysdeps/s390/multiarch/strcat-c.c: New File.
17579         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
17580         * sysdeps/s390/multiarch/strcat.c: Likewise.
17581         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
17582         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
17583         * sysdeps/s390/multiarch/wcscat.c: Likewise.
17584         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
17585         wcscat functions.
17586         * sysdeps/s390/multiarch/ifunc-impl-list.c
17587         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
17588         * string/strcat.c (STRCAT): Define and use macro.
17589         * wcsmbs/wcscat.c: Use WCSCAT if defined.
17590         * string/test-strcat.c: Add wcscat support.
17591         * wcsmbs/test-wcscat.c: New File.
17592         * wcsmbs/Makefile (strop-tests): Add wcscat.
17593         * benchtests/bench-strcat.c: Add wcscat support.
17594         * benchtests/bench-wcscat.c: New File.
17595         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
17597         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
17598         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
17599         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
17600         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
17601         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
17602         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
17603         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
17604         wcpncpy functions.
17605         * sysdeps/s390/multiarch/ifunc-impl-list.c
17606         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
17607         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
17608         * string/test-stpncpy.c: Add wcpncpy support.
17609         * wcsmbs/test-wcpncpy.c: New File.
17610         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
17611         * benchtests/bench-stpncpy.c: Add wcpncpy support.
17612         * benchtests/bench-wcpncpy.c: New File.
17613         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
17615         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
17616         * sysdeps/s390/multiarch/strncpy.c: Likewise.
17617         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
17618         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
17619         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
17620         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
17621         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
17622         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
17623         wcsncpy functions.
17624         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
17625         * sysdeps/s390/multiarch/ifunc-impl-list.c
17626         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
17627         * string/test-strncpy.c: Add wcsncpy support.
17628         * wcsmbs/test-wcsncpy.c: New File.
17629         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
17630         * benchtests/bench-strncpy.c: Add wcsncpy support.
17631         * benchtests/bench-wcsncpy.c: New File.
17632         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
17634         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
17635         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
17636         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
17637         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
17638         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
17639         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
17640         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
17641         wcpcpy functions.
17642         * string/stpcpy.c: Use STPCPY if defined.
17643         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
17644         * sysdeps/s390/multiarch/ifunc-impl-list.c
17645         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
17646         * string/test-stpcpy.c: Add wcpcpy support.
17647         * wcsmbs/test-wcpcpy.c: New File.
17648         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
17649         * benchtests/bench-stpcpy.c: Add wcpcpy support.
17650         * benchtests/bench-wcpcpy.c: New File.
17651         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
17653         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
17654         * sysdeps/s390/multiarch/strcpy.c: Likewise.
17655         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
17656         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
17657         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
17658         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
17659         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
17660         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
17661         wcscpy functions.
17662         * sysdeps/s390/multiarch/ifunc-impl-list.c
17663         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
17664         * benchtests/bench-wcscpy.c: New File.
17665         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
17667         * sysdeps/s390/multiarch/strnlen-c.c: New File.
17668         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
17669         * sysdeps/s390/multiarch/strnlen.c: Likewise.
17670         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
17671         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
17672         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
17673         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
17674         wcsnlen functions.
17675         * sysdeps/s390/multiarch/ifunc-impl-list.c
17676         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
17677         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
17678         * string/test-strnlen.c: Add wcsnlen support.
17679         * wcsmbs/test-wcsnlen.c: New File.
17680         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
17681         * benchtests/bench-strnlen.c: Add wcsnlen support.
17682         * benchtests/bench-wcsnlen.c: New File.
17683         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
17685         * sysdeps/s390/multiarch/Makefile: New File.
17686         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
17687         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
17688         * sysdeps/s390/multiarch/strlen.c: Likewise.
17689         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
17690         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
17691         * sysdeps/s390/multiarch/wcslen.c: Likewise.
17692         * string/strlen.c (STRLEN): Define and use macro.
17693         * sysdeps/s390/multiarch/ifunc-impl-list.c
17694         (IFUNC_VX_IMPL): New macro function.
17695         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
17696         * benchtests/Makefile (wcsmbs-bench): New variable.
17697         (string-bench-all): Added wcsmbs-bench.
17698         * benchtests/bench-wcslen.c: New File.
17700         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
17701         s390_vx_libc_ifunc2): New macro function.
17703         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
17704         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
17705         assembler support.
17706         * sysdeps/s390/configure: Regenerated.
17708         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
17709         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
17711         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
17712         * sysdeps/s390/dl-procinfo.h: Add vector capability.
17713         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
17715         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
17716         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
17717         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
17718         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
17719         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
17720         (memcmp, bcmp): Use __memcmp_default as alias source.
17721         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
17722         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
17723         Rename to __memcmp_default.
17724         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
17725         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
17726         (memcpy): Use __memcpy_default as alias source.
17727         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
17728         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
17729         Rename to __memcpy_default.
17730         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
17731         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
17732         (memset): Use __memset_default as alias source.
17733         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
17734         * sysdeps/s390/s390-32/memset.S (__memset_g5):
17735         Rename to __memset_default.
17736         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
17737         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
17738         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
17739         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
17740         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
17741         (memcmp, bcmp): Use __memcmp_default as alias source.
17742         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
17743         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
17744         Rename to __memcmp_default.
17745         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
17746         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
17747         (memcpy): Use __memcpy_default as alias source.
17748         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
17749         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
17750         Rename to __memcpy_default.
17751         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
17752         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
17753         (memset): Use __memset_default as alias source.
17754         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
17755         * sysdeps/s390/s390-64/memset.S (__memset_z900):
17756         Rename to __memset_default.
17757         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
17758         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
17760         [BZ #18610]
17761         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
17762         __ieee_instruction_pointer to __unused.
17763         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
17764         __ieee_instruction_pointer.
17765         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
17766         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
17767         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
17768         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
17769         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
17770         Mark dxc-field as reserved.
17772 2015-08-25  Roland McGrath  <roland@hack.frob.com>
17774         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
17775         if the weak reference is not null.
17777 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17779         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
17781         [BZ #11214]
17782         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
17784 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17786         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
17787         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
17788         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
17789         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
17790         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
17791         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
17792         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
17793         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
17794         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
17795         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
17796         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
17797         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
17798         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
17799         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
17800         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
17801         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
17802         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
17803         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
17805 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17807         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
17808         register other than r0 for tabort, it has special meaning.
17809         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
17810         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
17811         transaction before starting syscall.
17813 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17815         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
17817 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17819         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
17821         * sysdeps/x86_64/rtld-memcmp.c: Removed.
17822         * sysdeps/x86_64/rtld-memset.S: Likewise.
17823         * sysdeps/x86_64/rtld-strchr.S: Likewise.
17824         * sysdeps/x86_64/rtld-strlen.S: Likewise.
17825         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
17826         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
17828         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
17830 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
17832         * debug/strcpy_chk.c: Improve performance.
17833         * debug/stpcpy_chk.c: Likewise.
17834         * sysdeps/x86_64/strcpy_chk.S: Remove.
17835         * sysdeps/x86_64/stpcpy_chk.S: Remove.
17837         [BZ #18240]
17838         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
17840 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
17842         [BZ #15128]
17843         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
17844         ifuncmain8.
17845         (modules-names): Add ifuncmod8.
17846         ($(objpfx)ifuncmain8): New rule.
17847         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
17848         <cpuid.h>.
17849         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
17850         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
17851         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
17852         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
17853         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
17854         * sysdeps/x86_64/dl-trampoline.h: Likewise.
17855         * sysdeps/x86_64/ifuncmain8.c: New file.
17856         * sysdeps/x86_64/ifuncmod8.c: Likewise.
17857         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
17858         Removed.
17859         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
17860         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
17861         Change rtld_savespace_sse to __glibc_unused2.
17862         (RTLD_CHECK_FOREIGN_CALL): Removed.
17863         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
17864         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
17865         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
17867 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17869         * sysdeps/aarch64/bzero.S (__bzero): Remove.
17871 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
17873         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
17874         Unconditionally set __fpcr to avoid uninialized warning.
17875         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
17877 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
17879         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
17880         is corrupt.
17882         * malloc/arena.c (arena_get2): Drop unused argument.
17883         (arena_lock): Adjust.
17884         (arena_get_retry): Likewise.
17886 2015-08-24  Andreas Schwab  <schwab@suse.de>
17888         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
17889         Don't define.
17890         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
17891         (__ASSUME_IPC64): Don't undef.
17892         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
17893         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
17894         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
17895         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
17896         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
17897         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
17898         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
17899         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
17900         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
17901         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
17902         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
17903         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
17904         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
17905         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
17906         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
17907         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
17908         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
17909         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
17910         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
17911         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
17912         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
17914 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
17916         * manual/Makefile (install): Only build manual when perl is available.
17918 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17920         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
17921         '#undef memcpy' by '#undef memchr'.
17923 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
17925         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
17926         memchr not point to the internal __GI_memchr implementation.
17928 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17930         * timezone/Makefile (CFLAGS-zdump.c): Remove
17931         -Wno-strict-prototypes.
17932         (CFLAGS-zic.c): Likewise.
17933         (CFLAGS-ialloc.c): Likewise.
17934         (CFLAGS-scheck.c): Likewise.
17936         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
17937         -Wno-error=undef.
17939 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17941         * i386/i686/multiarch/strcasestr-c.c: Removed.
17942         * x86_64/multiarch/strcasestr.c: Likewise.
17943         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17944         Remove strcasestr.
17946 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
17948         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
17950         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
17951         variables for high and low parts before possibly modifying them.
17953 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17955         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
17956         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
17957         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
17958         of "multiarch/init-arch.h".
17959         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
17960         * sysdeps/x86/init-arch.h: This.
17962 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
17964         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
17965         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
17967 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
17969         [BZ #17787]
17970         * manual/macros.texi: Add twoexp macro.
17971         * manual/filesys.texi: Fix exponents.
17972         * manual/llio.texi: Likewise.
17973         * manual/stdio.texi: Likewise.
17975 2015-08-20  Florian Weimer  <fweimer@redhat.com>
17977         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
17978         incorrect use.
17980 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
17982         [BZ #18370]
17983         * math/s_csqrt.c (__csqrt): Force underflow exception for results
17984         whose real or imaginary part has small absolute value.
17985         * math/s_csqrtf.c (__csqrtf): Likewise.
17986         * math/s_csqrtl.c (__csqrtl): Likewise.
17987         * math/auto-libm-test-in: Add more tests of csqrt.
17988         * math/auto-libm-test-out: Regenerated.
17989         * sysdeps/i386/fpu/libm-test-ulps: Update.
17991 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
17993         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
17994         __ppc_set_ppr_very_low): New functions.
17995         * manual/platform.texi: Add documentation about
17996         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
17998 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
18000         * string/stpncpy.c (stpncpy): Improve performance using
18001         __strnlen/memcpy/memset.
18003 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18005         [BZ #18796]
18006         * scripts/test-installation.pl: Don't add -lmvec to build options if
18007         libmvec wasn't built.
18009 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
18011         [BZ #14341]
18012         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
18013         case when there is a gap between DT_REL and DT_JMPREL sections.
18014         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
18015         (LDFLAGS-tst-split-dynreloc): New.
18016         (tst-split-dynreloc-ENV): Likewise.
18017         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
18018         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
18020 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18022         [BZ #18822]
18023         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
18024         attribute_hidden.
18025         (__xstat64_conv): Likewise.
18026         (__xstat32_conv): Likewise.
18028 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18030         [BZ #18822]
18031         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
18032         Don't load %ebx when calling __setcontext.  Call __setcontext
18033         with HIDDEN_JUMPTARGET.
18034         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
18035         libc_hidden_def.
18037 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18039         * sysdeps/i386/i686/Makefile
18040         [$(subdir) == string] (sysdep_routines): Moved to ...
18041         * sysdeps/i386/Makefile: Here.
18042         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
18043         * sysdeps/i386/cacheinfo.c: Here.
18044         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
18045         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
18046         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
18047         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
18049 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
18051         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
18052         __i586__ is defined.
18053         (HAS_I686): Defined to 1 if __i686__ is defined.
18055 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
18057         * elf/Makefile [$(have-z-execstack) = yes]
18058         (CPPFLAGS-tst-execstack.c): New variable.
18060         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
18061         conditional to [defined UTMPX || _HAVE_UT_TYPE].
18062         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
18063         UTMPX || _HAVE_UT_TV].
18064         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
18065         UTMPX || _HAVE_UT_TV - 0].
18067 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
18069         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
18070         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
18071         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
18073 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
18075         * sysdeps/powerpc/dl-procinfo.c:
18076         (_dl_powerpc_cap_flags): Added missing strings for some
18077         hwcap features.
18078         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
18080 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
18082         Port the 0x7efe...feff pattern to GCC 6.
18083         See Steve Ellcey's bug report in:
18084         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
18085         * string/memrchr.c (MEMRCHR):
18086         * string/rawmemchr.c (RAWMEMCHR):
18087         * string/strchr.c (strchr):
18088         * string/strchrnul.c (STRCHRNUL):
18089         Rewrite code to avoid issues with signed shift overflow.
18091 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
18093         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
18094         whether cpuid is available only if HAS_CPUID is 0.
18095         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
18096         (HAS_I586): Likewise.
18097         (HAS_I686): Likewise.
18099 2015-08-18  Zack Weinberg  <zackw@panix.com>
18101         * misc/Versions (libc): Add GLIBC_2.23.
18103 2015-08-18  Alan Modra  <amodra@gmail.com>
18105         [BZ #18421]
18106         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
18107         .Lp__global.
18108         (_start): Load %dp via .Lp__global.
18109         [!SHARED]: Use .section .rodata.
18111 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18113         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
18114         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
18116 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18118         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
18119         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
18121 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18123         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
18124         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
18126 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18128         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
18129         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
18131 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18133         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
18134         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
18136 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18138         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
18139         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
18141 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18143         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
18145 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18147         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
18148         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
18149         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
18150         (__ASSUME_LWS_CAS): Delete.
18152 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
18154         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
18155         * sysdeps/hppa/configure: Regenerated.
18156         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
18157         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
18158         * sysdeps/hppa/nptl/tls.h: Likewise.
18160 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
18162         [BZ #18823]
18163         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
18164         for scaling up small arguments.
18165         * math/s_csqrtf.c (__csqrtf): Likewise.
18166         * math/s_csqrtl.c (__csqrtl): Likewise.
18167         * math/auto-libm-test-in: Add more tests of csqrt.
18168         * math/auto-libm-test-out: Regenerated.
18170 2015-08-17  Andreas Schwab  <schwab@suse.de>
18172         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
18173         version set GLIBC_2.19.
18175 2015-08-16  Zack Weinberg  <zackw@panix.com>
18177         [BZ #18681]
18178         * misc/regexp.h: This interface is no longer supported.
18179         Remove all contents, leaving only an #error directive.
18180         * misc/regexp.c (loc1, loc2, locs, step, advance):
18181         Demote to compatibility symbols.
18183 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
18185         [BZ #18084]
18186         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
18187         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
18188         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
18189         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
18190         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
18191         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
18192         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
18193         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
18194         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18196 2015-08-15  Zack Weinberg  <zackw@panix.com>
18198         [BZ #18795]
18199         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
18200         buffer length is known to be too large, not if it's known to be
18201         small enough.
18202         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
18203         overflow at runtime, involving a length parameter, twice: once
18204         with a compile-time constant length parameter, once without.
18206 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
18208         [BZ #18824]
18209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
18210         scaling x * y up instead of down.
18211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18213         * math/auto-libm-test-in: Add more tests of fma.
18214         * math/auto-libm-test-out: Regenerated.
18216 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
18218         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18220 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
18222         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
18223         unnecessary movq.
18224         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
18225         Likewise.
18227 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
18229         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18230         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
18231         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
18232         and tgamma.
18233         * math/auto-libm-test-out: Regenerated.
18234         * sysdeps/i386/fpu/libm-test-ulps: Update.
18235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237         [BZ #16520]
18238         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
18239         (__tanh): Force underflow exception for arguments with small
18240         absolute value.
18241         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
18242         (__tanhf): Force underflow exception for arguments with small
18243         absolute value.
18244         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
18245         (__tanhl): Force underflow exception for arguments with small
18246         absolute value.
18247         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
18248         (__tanhl): Force underflow exception for arguments with small
18249         absolute value.
18250         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
18251         (__tanhl): Force underflow exception for arguments with small
18252         absolute value.
18253         * math/auto-libm-test-in: Add more tests of tanh.
18254         * math/auto-libm-test-out: Regenerated.
18255         * sysdeps/i386/fpu/libm-test-ulps: Update.
18257 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18259         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
18260         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
18262 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18264         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
18265         <cpuid.h>.
18267 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18269         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
18270         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
18272 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18274         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
18275         Remove $(objpfx)init-arch.o.
18276         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
18277         init-arch.
18278         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
18279         (INIT_ARCH_EXT): Defined as empty.
18280         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
18281         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
18282         __init_cpu_features call.  Replace HAS_XXX with
18283         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18284         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
18285         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
18286         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
18287         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
18288         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
18289         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
18290         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
18291         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
18292         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
18293         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
18294         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
18295         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
18296         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
18297         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
18298         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
18299         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
18300         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
18301         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
18302         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
18303         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
18304         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
18305         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
18306         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
18307         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
18308         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
18309         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
18310         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
18311         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
18312         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
18313         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
18314         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
18315         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
18316         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
18317         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
18318         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
18320 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18322         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
18323         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18324         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18325         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
18326         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
18327         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
18328         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
18329         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
18330         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
18331         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
18332         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
18333         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
18334         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18335         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
18336         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
18337         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
18338         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
18339         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
18340         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
18341         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
18342         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
18343         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
18344         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
18345         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
18346         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
18347         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
18348         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
18349         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
18350         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
18351         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
18352         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
18353         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
18354         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
18355         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
18356         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
18357         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
18358         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
18359         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
18360         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
18361         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
18362         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
18363         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
18364         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
18366 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18368         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
18369         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18370         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
18371         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
18372         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
18373         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
18374         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
18375         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
18376         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
18377         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
18378         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
18379         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
18380         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
18381         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
18382         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
18383         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
18384         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
18385         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
18386         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
18387         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
18388         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
18389         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
18390         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
18391         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
18392         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
18393         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
18394         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
18395         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
18396         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
18397         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
18398         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
18399         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
18400         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
18401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
18402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
18403         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
18404         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
18405         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
18406         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
18407         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
18408         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
18409         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
18410         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
18412 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
18414         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
18415         (dl_platform_init): Call init_cpu_features.
18416         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
18417         * sysdeps/i386/i686/cacheinfo.c
18418         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
18419         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
18420         * sysdeps/i386/i686/multiarch/Versions: Removed.
18421         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
18422         Removed.
18423         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
18424         * sysdeps/unix/sysv/linux/x86/Makefile
18425         (libpthread-sysdep_routines): Remove init-arch.
18426         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
18427         <sysdeps/x86_64/dl-procinfo.c> instead of
18428         sysdeps/generic/dl-procinfo.c>.
18429         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
18430         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
18431         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
18432         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
18433         [$(subdir) == elf] (tests-static): Add
18434         tst-get-cpu-features-static.
18435         * sysdeps/x86/Versions: New file.
18436         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
18437         * sysdeps/x86/cpu-features.c: Likewise.
18438         * sysdeps/x86/cpu-features.h: Likewise.
18439         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
18440         * sysdeps/x86/libc-start.c: Likewise.
18441         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18442         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
18443         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
18444         * sysdeps/x86_64/dl-procinfo.c: Likewise.
18445         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
18446         Assume USE_MULTIARCH is defined and don't check it.
18447         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
18448         (is_amd): Likewise.
18449         (max_cpuid): Likewise.
18450         (intel_check_word): Likewise.
18451         (__cache_sysconf): Don't call __init_cpu_features.
18452         (__x86_preferred_memory_instruction): Removed.
18453         (init_cacheinfo): Don't call __init_cpu_features. Replace
18454         __cpu_features with GLRO(dl_x86_cpu_features).
18455         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
18456         (dl_platform_init): Call init_cpu_features.
18457         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
18458         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
18459         * sysdeps/x86_64/multiarch/Versions: Removed.
18460         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
18461         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
18462         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
18463         Removed.
18464         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
18466 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18468         [BZ #18820]
18469         * libio/Makefile (test-fmemopen-mem): New test.
18470         * libio/test-fmemopen.c (do_bz18820): New test.
18471         * libio/fmemopen.c (__fmemopen): Fix memory leak.
18472         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
18474 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
18476         [BZ #16734]
18477         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
18478         (FREE_BUF): Delete.
18479         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
18480         * libio/genops.c (_IO_setb): Use malloc and free directly.
18481         (_IO_default_doallocate, _IO_default_finish): Likewise.
18482         ( _IO_unbuffer_all): Likewise.
18483         ( libc_freeres_fn): Likewise.
18484         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18485         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18486         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
18487         (_IO_wdefault_doallocate): Likewise.
18489 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
18491         [BZ #18086]
18492         * sysdeps/posix/nice.c (nice): Restore old errno.
18493         * posix/tst-nice.c (do_test): Add test for BZ #18086.
18495 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
18497         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
18499 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18501         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
18502         __bcopy and add a weak_alias to bcopy.
18503         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
18504         for static build.
18506         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
18507         cleanup macro usage.
18508         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
18509         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
18510         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
18511         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
18512         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
18513         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
18514         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
18515         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18516         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
18517         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
18518         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18519         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
18520         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
18521         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
18522         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
18523         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
18524         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
18525         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
18526         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
18528         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
18529         libc_hidden_def.
18530         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
18532         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
18533         (sysdep_routines): Add strstr-ppc64.
18534         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
18536 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
18538         [BZ #18778]
18539         * elf/Makefile (tests): Add Add tst-nodelete2.
18540         (modules-names): Add tst-nodelete2mod.
18541         (tst-nodelete2mod.so-no-z-defs): New.
18542         ($(objpfx)tst-nodelete2): Likewise.
18543         ($(objpfx)tst-nodelete2.out): Likewise.
18544         (LDFLAGS-tst-nodelete2): Likewise.
18545         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
18546         out of loop through all loaded libraries.
18547         * elf/tst-nodelete2.c: New file.
18548         * elf/tst-nodelete2mod.c: Likewise.
18549         * elf/tst-znodelete-zlib.cc: Delete.
18551 2015-08-11  Andreas Schwab  <schwab@suse.de>
18553         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
18554         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
18555         (__openat64_nocancel): Likewise.
18557 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
18559         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
18560         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
18561         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
18562         * math/auto-libm-test-out: Regenerated.
18563         * sysdeps/i386/fpu/libm-test-ulps: Update.
18564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18566 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18568         [BZ #18790]
18569         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
18570         threshold for returning +/- 1.
18571         * math/auto-libm-test-in: Add more tests of tanh.
18572         * math/auto-libm-test-out: Regenerated.
18573         * sysdeps/i386/fpu/libm-test-ulps: Update.
18575 2015-08-10  Andreas Schwab  <schwab@suse.de>
18577         [BZ #18781]
18578         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
18579         MORE_OFLAGS to oflag.
18580         * io/test-lfs.c (do_test): Test openat64.
18582 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
18584         [BZ #18789]
18585         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
18586         smaller threshold for returning the argument.
18587         * math/auto-libm-test-in: Add more tests of sinh.
18588         * math/auto-libm-test-out: Regenerated.
18589         * sysdeps/i386/fpu/libm-test-ulps: Update.
18591 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18593         [BZ #18674]
18594         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
18595         break.
18597 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
18599         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
18600         (generated): Don't add $(addprefix z.,$(tzfiles)).
18602 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18604         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
18605         * scripts/sysd-rules.awk: Likewise.
18607 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18609         * iconvdata/tst-tables.sh: Change echo -n to printf.
18610         * nss/db-Makefile: Likewise.
18611         * posix/tst-getconf.sh: Likewise.
18612         * stdio-common/tst-unbputc.sh: Likewise.
18614 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
18616         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
18617         MADV_*_PAGES defines behind this feature check.
18619 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
18621         [BZ #18480]
18622         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
18623         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
18624         Define.
18625         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
18626         LOAD_REGS_5, LOAD_REGS_6): Update.
18627         (INTERNAL_SYSCALL): Update using new LOAD defines.
18628         (INTERNAL_SYSCALL_NCS): Likewise.
18629         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
18631 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18633         [BZ #16734]
18634         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
18636 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
18638         [BZ #17905]
18639         * catgets/Makefile (tst-catgets-mem): New test.
18640         * catgets/catgets.c (catopen): Don't use unbounded alloca.
18641         * catgets/open_catalog.c (__open_catalog): Likewise.
18642         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
18644 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
18646         [BZ #18787]
18647         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
18648         clobber registers.
18649         (atomic_compare_and_exchange_val_acq): Use register asms to assign
18650         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
18651         Cast return to __typeof (oldval).
18653 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
18655         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
18656         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
18657         and delete sys/syscall.h include.
18659 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
18661         [BZ #16517]
18662         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
18663         (tan): Force underflow exception for arguments with small absolute
18664         value.
18665         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
18666         (__kernel_tanf): Force underflow exception for arguments with
18667         small absolute value.
18668         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
18669         (__kernel_tanl): Force underflow exception for arguments with
18670         small absolute value.
18671         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
18672         (__kernel_tanl): Force underflow exception for arguments with
18673         small absolute value.
18674         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
18675         (__kernel_tanl): Force underflow exception for arguments with
18676         small absolute value.
18677         * math/auto-libm-test-in: Add more tests of tan.
18678         * math/auto-libm-test-out: Regenerated.
18680 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18682         Fix sysdeps/i386/fpu/s_scalbn.S build
18684         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
18686 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
18688         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
18690 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
18692         Fix gcrt0.o compilation
18694         When static-start-installed-name is different from
18695         start-installed-name, we must not use the shared objects.
18697         * csu/Makefile
18698         (extra-objs): Add gmon-start.o when building shared library and
18699         $(static-start-installed-name) is different from
18700         $(start-installed-name).
18701         $(objpfx)g$(static-start-installed-name): When building shared
18702         library and $(static-start-installed-name) is different from
18703         $(static-start-installed-name), revert to non-shared rule,
18704         i.e. using $(objpfx)% and gmon-start.o.
18706 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
18708         [BZ #16519]
18709         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
18710         (__ieee754_sinh): Force underflow exception for arguments with
18711         small absolute value.
18712         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
18713         (__ieee754_sinhf): Force underflow exception for arguments with
18714         small absolute value.
18715         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
18716         (__ieee754_sinhl): Force underflow exception for arguments with
18717         small absolute value.
18718         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
18719         (__ieee754_sinhl): Force underflow exception for arguments with
18720         small absolute value.
18721         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
18722         (__ieee754_sinhl): Force underflow exception for arguments with
18723         small absolute value.
18724         * math/auto-libm-test-in: Add more tests of sinh.
18725         * math/auto-libm-test-out: Regenerated.
18726         * sysdeps/i386/fpu/libm-test-ulps: Update.
18728 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18730         * libio/oldfileops.c: Include unistd.h.
18732 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
18734         * stdlib/isomac.c: Include ctype.h.
18736 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
18738         * dirent/tst-seekdir.c (main): Converted to ...
18739         (do_test): ... this.
18740         (TEST_FUNCTION): New macro.
18741         Include test-skeleton.c.
18742         * elf/tst-dlmodcount.c (main): Converted to ...
18743         (do_test): ... this.
18744         (TEST_FUNCTION): New macro.
18745         Include test-skeleton.c.
18746         * elf/tst-order-main.c (main): Converted to ...
18747         (do_test): ... this.
18748         (TEST_FUNCTION): New macro.
18749         Include test-skeleton.c.
18750         * elf/tst-pie2.c (main): Converted to ...
18751         (do_test): ... this.
18752         (TEST_FUNCTION): New macro.
18753         Include test-skeleton.c.
18754         * inet/tst-ether_aton.c (main): Converted to ...
18755         (do_test): ... this.
18756         (TEST_FUNCTION): New macro.
18757         Include test-skeleton.c.
18758         * misc/tst-mntent.c (main): Converted to ...
18759         (do_test): ... this.
18760         (TEST_FUNCTION): New macro.
18761         Include test-skeleton.c.
18762         * misc/tst-tsearch.c (main): Converted to ...
18763         (do_test): ... this.
18764         (TEST_FUNCTION): New macro.
18765         Include test-skeleton.c.
18766         * posix/tst-regexloc.c (main): Converted to ...
18767         (do_test): ... this.
18768         (TEST_FUNCTION): New macro.
18769         Include test-skeleton.c.
18770         * resolv/tst-aton.c (main): Converted to ...
18771         (do_test): ... this.
18772         (TEST_FUNCTION): New macro.
18773         Include test-skeleton.c.
18774         * stdio-common/test-fwrite.c (main): Converted to ...
18775         (do_test): ... this.
18776         (TEST_FUNCTION): New macro.
18777         Include test-skeleton.c.
18778         * stdio-common/tst-ferror.c (main): Converted to ...
18779         (do_test): ... this.
18780         (TEST_FUNCTION): New macro.
18781         Include test-skeleton.c.
18782         * stdio-common/tst-printf.c (main): Converted to ...
18783         (do_test): ... this.
18784         (TEST_FUNCTION): New macro.
18785         Include test-skeleton.c.
18786         * stdio-common/tst-printfsz.c (main): Converted to ...
18787         (do_test): ... this.
18788         (TEST_FUNCTION): New macro.
18789         Include test-skeleton.c.
18790         * stdlib/tst-strtod.c (main): Converted to ...
18791         (do_test): ... this.
18792         (TEST_FUNCTION): New macro.
18793         Include test-skeleton.c.
18794         * string/tst-strlen.c (main): Converted to ...
18795         (do_test): ... this.
18796         (TEST_FUNCTION): New macro.
18797         Include test-skeleton.c.
18798         * string/tst-svc.c (main): Converted to ...
18799         (do_test): ... this.
18800         (TEST_FUNCTION): New macro.
18801         Include test-skeleton.c.
18802         * time/tst-strptime.c (main): Converted to ...
18803         (do_test): ... this.
18804         (TEST_FUNCTION): New macro.
18805         Include test-skeleton.c.
18806         * timezone/tst-timezone.c (main): Converted to ...
18807         (do_test): ... this.
18808         (TEST_FUNCTION): New macro.
18809         Include test-skeleton.c.
18811 2015-08-05  Zack Weinberg  <zackw@panix.com>
18813         * misc/regexp.h: Update comments.
18815 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
18817         [BZ #18635]
18818         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
18819         before return label.
18821 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18823         [BZ #18661]
18824         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
18825         when calling __errno_location.
18826         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
18827         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
18829 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18831         [BZ #18661]
18832         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
18833         (__lll_timedwait_tid): Align stack to 16 bytes when calling
18834         __gettimeofday.
18836 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18838         [BZ #18661]
18839         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
18840         (__start_context): Don't use pop to restore %rdi so that stack
18841         is aligned to 16 bytes when calling __setcontext.
18843 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18845         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
18846         only for libc.
18847         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
18849 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18851         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
18852         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
18853         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
18855 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18857         * string/memccpy.c (memccpy):
18858         Improve performance by using memchr/memcpy/__mempcpy.
18860 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18862         * string/strncpy.c (strncpy):
18863         Improve performance by using __strnlen/memcpy.
18865 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18867         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
18868         Optimize to avoid an unnecessary FPCR read.
18870 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
18872         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
18873         Optimize to reduce FPCR/FPSR accesses.
18875 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
18877         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
18878         dead->data[category] != NULL.
18880 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
18882         [BZ #18647]
18883         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
18884         and |x| close to 1, use absolute value of x when computing log.
18885         * math/auto-libm-test-in: Add more tests of pow.
18886         * math/auto-libm-test-out: Regenerated.
18888 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18890         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
18891         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
18892         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
18894 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
18896         [BZ #18525]
18897         * locales/km_KH: Remove timezone definition.
18898         * locales/lo_LA: Likewise.
18899         * locales/my_MM: Likewise.
18900         * locales/nan_TW@latin: Likewise.
18901         * locales/th_TH: Likewise.
18902         * locales/uk_UA: Likewise.
18904 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
18906         [BZ #18265]
18907         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
18908         (wcsncat): Likewise.
18909         (wcscmp): Likewise.
18910         (wcsncmp): Likewise.
18912 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18914         * test-skeleton.c (usage): New function.
18915         (main): Call usage when opt is '?'.
18917 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18919         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
18920         before first use.
18922 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
18924         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
18925         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
18926         in there too.
18928 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
18930         * version.h (RELEASE): Set to "development".
18931         (VERSION): Set to "2.22.90"
18933         * version.h (RELEASE): Set to "stable".
18934         (VERSION): Set to "2.22"
18935         * include/features.h (__GLIBC_MINOR__): Set to 22.
18937 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
18939         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
18940         Restructure macro to avoid "value computed is not used" warning.
18941         (atomic_compare_and_exchange_val_acq): Likewise.
18943 2015-08-04  Andreas Schwab  <schwab@suse.de>
18945         [BZ #18635]
18946         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
18947         ret.
18948         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
18950 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
18952         * po/pl.po: Updated translation.
18953         * po/uk.po: Likewise.
18954         * po/fi.po: Likewise.
18955         * po/ko.po: Likewise.
18956         * po/ru.po: Likewise.
18957         * po/vi.po: Likewise.
18959 2015-07-31  Zack Weinberg  <zackw@panix.com>
18961         [BZ #18681]
18962         * regexp.h: Add unconditional #warning stating that this header
18963         will be removed soon.  Revise banner comment to match.
18964         (compile): Consistently use ERROR instead of RETURN to report
18965         errors (partial fix for bz#18681).
18966         * regexp.c: Don't include regexp.h. Remove some unnecessary
18967         declarations.
18969 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
18971         * po/libc.pot: Regenerated.
18973 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
18975         [BZ #18740]
18976         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
18977         float-vlen4-arch-ext-cflags): Removed.
18978         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
18979         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
18981 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18983         [BZ #14113]
18984         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
18985         aligned to __aligned__.
18986         (pthread_cond_t, pthread_rwlock_t): Likewise.
18988 2015-07-30  Torvald Riegel  <triegel@redhat.com>
18990         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
18992 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
18994         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
18995         (struct sigaction): Change sa_flags from a long to an int, and add
18996         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
18998 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19000         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
19001         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
19002         sysdeps/generic/sysdep.h include.
19003         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
19004         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
19005         sysdeps/hppa/sysdep.h.
19006         (ENTRY, PSEUDO): Undefine before defining.
19008 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
19010         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
19011         from scratch to use INTERNAL_SYSCALL.
19013 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
19015         [BZ #18078]
19016         * scripts/check-localplt.awk: Support alternate relocations.
19017         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
19018         sections.
19019         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
19020         malloc entries with + REL R_386_GLOB_DAT.
19021         * sysdeps/x86_64/localplt.data: New file.
19023 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
19025         [BZ #18731]
19026         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
19027         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19028         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19030 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19032         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
19034 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19036         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
19037         directly in terms of __sync_fetch_and_add and delete (int) cast.
19039 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19041         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
19042         the -D_ASM_IA64_CURRENT_H flag.
19044 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
19046         [BZ #18641]
19047         * pwd/pwd.h (putpwent): Delete __nonnull markings.
19049 2015-07-27  Andreas Schwab  <schwab@suse.de>
19051         * conform/conformtest.pl (checknamespace): Filter out string
19052         literals while tokenizing.
19054 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19056         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19057         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
19058         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19060 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
19062         * nptl/tst-join7mod.c: Add #include <string.h>.
19064 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19066         * sysdeps/nios2/libm-test-ulps: Update.
19068 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
19070         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
19071         Fix order of arguments to the rt_sigprocmask syscall.
19072         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
19073         Likewise.
19075 2015-07-24  Roland McGrath  <roland@hack.frob.com>
19077         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
19079 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19081         [BZ #18457]
19082         * nptl/Makefile (tests): New test case tst-join7.
19083         (modules-names): New test case module tst-join7mod.
19084         * nptl/tst-join7.c: New file.
19085         * nptl/tst-join7mod.c: New file.
19086         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
19087         all translation units in libc.so, libpthread.so and rtld.
19089 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19091         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19093 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
19095         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
19096         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
19097         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
19098         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
19099         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
19100         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
19101         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
19102         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
19103         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
19104         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
19105         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
19106         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
19107         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
19108         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
19109         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
19110         implementation.
19112 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19114         [BZ #17711]
19115         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19116         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
19117         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19118         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
19119         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
19120         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
19122 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
19124         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
19125         instead of just saying load lock in the comments.
19127 2015-07-23  Roland McGrath  <roland@hack.frob.com>
19129         * sysdeps/unix/Subdirs: Moved ...
19130         * sysdeps/posix/Subdirs: ... here.
19131         * login/pty.h (struct termios, struct winsize): Add forward decls.
19132         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
19133         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
19134         * sysdeps/arm/nacl/libc.abilist: Updated.
19135         * sysdeps/nacl/libutil.abilist: New file.
19137         * bits/signum.h: Update comments to mention 1003.1-2013 too.
19138         (SIGWINCH): New macro.
19140         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
19141         * sysdeps/arm/nacl/libc.abilist: Add it.
19143 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19145         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
19147 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
19149         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19150         Swap __glibc_reserved0 and sa_flags order.
19152 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
19154         [BZ #18657]
19155         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
19156         are pending TLS destructor calls.
19157         * include/link.h (struct link_map): Add concurrency note for
19158         L_TLS_DTOR_COUNT.
19159         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19160         Don't touch the link map flag.  Atomically increment
19161         l_tls_dtor_count.
19162         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
19163         Avoid taking the load lock and don't touch the link map flag.
19164         * stdlib/tst-tls-atexit-nodelete.c: New test case.
19165         * stdlib/Makefile (tests): Use it.
19166         * stdlib/tst-tls-atexit.c (do_test): dlopen
19167         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
19168         to allow tst-tls-atexit-nodelete test case to use it.
19170 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19172         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
19173         to bits/types.h.
19174         (msgqnum_t): New typedef.
19175         (msglen_t): Likewise.
19176         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
19177         and msg_qbytes type to msglen_t.
19179 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19181         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
19182         pad0 to __glibc_reserved0.
19183         (struct stat64): Likewise.
19185 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19187         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
19188         Change sa_flags from a long to an int and add __glibc_reserved0 before
19189         it for padding.
19191 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
19193         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
19194         anonymous by deleting "siginfo" name.
19196 2015-07-21  Roland McGrath  <roland@hack.frob.com>
19198         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
19199         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
19200         rather than __nacl_irt_filename.
19201         * sysdeps/nacl/xstat.c (__xstat): Likewise.
19203         * NEWS: New item for arm-nacl port.
19204         * sysdeps/arm/nacl/libc.abilist: New file.
19205         * sysdeps/nacl/ld.abilist: New file.
19206         * sysdeps/nacl/libBrokenLocale.abilist: New file.
19207         * sysdeps/nacl/libanl.abilist: New file.
19208         * sysdeps/nacl/libcrypt.abilist: New file.
19209         * sysdeps/nacl/libdl.abilist: New file.
19210         * sysdeps/nacl/libm.abilist: New file.
19211         * sysdeps/nacl/libpthread.abilist: New file.
19212         * sysdeps/nacl/libresolv.abilist: New file.
19213         * sysdeps/nacl/librt.abilist: New file.
19215 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
19217         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
19218         __startcontext to initialize the new context.
19219         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
19220         up CFI directive to forbid further backtracing.
19222 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
19224         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
19225         reference.
19226         * charmaps/ANSI_X3.4-1968: Likewise.
19227         * charmaps/BS_4730: Likewise.
19228         * charmaps/BS_VIEWDATA: Likewise.
19229         * charmaps/CP1250: Likewise.
19230         * charmaps/CP1251: Likewise.
19231         * charmaps/CP1252: Likewise.
19232         * charmaps/CP1253: Likewise.
19233         * charmaps/CP1254: Likewise.
19234         * charmaps/CP1255: Likewise.
19235         * charmaps/CP1256: Likewise.
19236         * charmaps/CSN_369103: Likewise.
19237         * charmaps/EBCDIC-DK-NO: Likewise.
19238         * charmaps/GB_1988-80: Likewise.
19239         * charmaps/GREEK-CCITT: Likewise.
19240         * charmaps/GREEK7: Likewise.
19241         * charmaps/INIS-8: Likewise.
19242         * charmaps/ISIRI-3342: Likewise.
19243         * charmaps/ISO_2033-1983: Likewise.
19244         * charmaps/ISO_5427-EXT: Likewise.
19245         * locales/POSIX: Likewise.
19246         * locales/ar_SA: Likewise.
19247         * locales/be_BY: Likewise.
19248         * locales/be_BY@latin: Likewise.
19249         * locales/ca_ES: Likewise.
19250         * locales/cs_CZ: Likewise.
19251         * locales/da_DK: Likewise.
19252         * locales/de_BE: Likewise.
19253         * locales/de_CH: Likewise.
19254         * locales/de_LU: Likewise.
19255         * locales/en_AU: Likewise.
19256         * locales/en_BW: Likewise.
19257         * locales/en_CA: Likewise.
19258         * locales/en_DK: Likewise.
19259         * locales/en_GB: Likewise.
19260         * locales/en_IE: Likewise.
19261         * locales/en_NZ: Likewise.
19262         * locales/en_ZA: Likewise.
19263         * locales/en_ZW: Likewise.
19264         * locales/es_AR: Likewise.
19265         * locales/es_BO: Likewise.
19266         * locales/es_CL: Likewise.
19267         * locales/es_CO: Likewise.
19268         * locales/es_DO: Likewise.
19269         * locales/es_EC: Likewise.
19270         * locales/es_ES: Likewise.
19271         * locales/es_HN: Likewise.
19272         * locales/es_MX: Likewise.
19273         * locales/es_PA: Likewise.
19274         * locales/es_PE: Likewise.
19275         * locales/es_PY: Likewise.
19276         * locales/es_SV: Likewise.
19277         * locales/es_US: Likewise.
19278         * locales/es_UY: Likewise.
19279         * locales/es_VE: Likewise.
19280         * locales/et_EE: Likewise.
19281         * locales/fa_IR: Likewise.
19282         * locales/fo_FO: Likewise.
19283         * locales/fr_CA: Likewise.
19284         * locales/fr_CH: Likewise.
19285         * locales/gv_GB: Likewise.
19286         * locales/he_IL: Likewise.
19287         * locales/hr_HR: Likewise.
19288         * locales/id_ID: Likewise.
19289         * locales/is_IS: Likewise.
19290         * locales/it_CH: Likewise.
19291         * locales/iw_IL: Likewise.
19292         * locales/kl_GL: Likewise.
19293         * locales/ko_KR: Likewise.
19294         * locales/kw_GB: Likewise.
19295         * locales/lg_UG: Likewise.
19296         * locales/lt_LT: Likewise.
19297         * locales/lv_LV: Likewise.
19298         * locales/mi_NZ: Likewise.
19299         * locales/nhn_MX: Likewise.
19300         * locales/nl_BE: Likewise.
19301         * locales/pl_PL: Likewise.
19302         * locales/sk_SK: Likewise.
19303         * locales/sl_SI: Likewise.
19304         * locales/sv_FI: Likewise.
19305         * locales/tl_PH: Likewise.
19306         * locales/tr_TR: Likewise.
19307         * locales/vi_VN: Likewise.
19309 2015-07-21  Khem Raj  <raj.khem@gmail.com>
19311         [BZ #17475]
19312         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
19313         of tu_IN and bh_IN.
19315 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
19317         [BZ #18694]
19318         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
19319         bits/wordsize.h.
19320         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
19322 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19324         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
19325         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
19326         (spawn_thread): New function.
19327         (load): Rename to reg_dtor_and_close.  Move dlopen to...
19328         (do_test): ... here.  Use IS_LOADED to test for its
19329         availability.
19331 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
19333         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
19335 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
19337         [BZ #18696]
19338         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
19339         si_addr_bnd.
19340         (si_lower): New.
19341         (si_upper): Likewise.
19343 2015-07-16  David S. Miller  <davem@davemloft.net>
19345         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
19347 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19349         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
19350         buffer.
19351         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
19352         fail output information.
19354 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19356         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
19357         and strstr-ppc64..
19358         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19359         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
19360         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
19361         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
19362         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
19364 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19366         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19367         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19368         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
19369         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19371 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
19373         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
19374         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
19375         rtld_hidden_proto.
19376         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
19378 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19380         * tst-nodelete-opened.c (do_test): Add comment to clarify how
19381         the test can fail.
19383         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
19385         [BZ #18676]
19386         * elf/tst-nodelete-opened.c: New test case.
19387         * elf/tst-nodelete-opened-lib.c: New test case module.
19388         * elf/Makefile (tests, modules-names): Use them.
19389         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
19390         early.
19392 2015-07-15  David S. Miller  <davem@davemloft.net>
19394         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
19395         futex-intenal.h
19396         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
19397         * sysdeps/sparc/sparc64/Makefile: Likewise.
19398         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19399         Remove space from macro define.
19400         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
19402 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
19404         [BZ #17475]
19405         * locale/iso-639.def: Update Bhili and Tulu language codes as
19406         per iso639-3.
19408 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
19410         * elf/tst-leaks1.c (main): Converted to ...
19411         (do_test): ... this.
19412         (TEST_FUNCTION): New macro.
19413         Include test-skeleton.c.
19414         * localedata/tst-langinfo.c (main): Converted to ...
19415         (do_test): ... this.
19416         (TEST_FUNCTION): New macro.
19417         Include test-skeleton.c.
19418         * math/test-fpucw.c (main): Converted to ...
19419         (do_test): ... this.
19420         (TEST_FUNCTION): New macro.
19421         Include test-skeleton.c.
19422         * math/test-tgmath.c (main): Converted to ...
19423         (do_test): ... this.
19424         (TEST_FUNCTION): New macro.
19425         Include test-skeleton.c.
19426         * math/test-tgmath2.c (main): Converted to ...
19427         (do_test): ... this.
19428         (TEST_FUNCTION): New macro.
19429         Include test-skeleton.c.
19430         * setjmp/tst-setjmp.c (main): Converted to ...
19431         (do_test): ... this.
19432         (TEST_FUNCTION): New macro.
19433         Include test-skeleton.c.
19434         * stdio-common/tst-sscanf.c (main): Converted to ...
19435         (do_test): ... this.
19436         (TEST_FUNCTION): New macro.
19437         Include test-skeleton.c.
19438         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
19439         (do_test): ... this.
19440         (TEST_FUNCTION): New macro.
19441         Include test-skeleton.c.
19443         * elf/tst-audit9.c (main): Converted to ...
19444         (do_test): ... this.
19445         (TEST_FUNCTION): New macro.
19446         Include test-skeleton.c.
19448 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
19450         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
19452 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19454         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
19455         New variable.
19457 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
19459         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19461 2015-07-14  Roland McGrath  <roland@hack.frob.com>
19463         * sysdeps/generic/dl-fileid.h: New file.
19464         * sysdeps/posix/dl-fileid.h: New file.
19465         * sysdeps/nacl/dl-fileid.h: New file.
19466         * include/link.h: Include <dl-fileid.h>.
19467         (struct link_map): Replace l_dev and l_ino with l_file_id.
19468         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
19469         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
19470         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
19472 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19474         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
19476 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19478         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
19479         Add iff $CXX is set.
19480         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
19481         Likewise.
19482         (tst-nodelete-zmodiff): Likewise.
19483         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
19485 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19487         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
19489 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19491         * sysdeps/aarch64/fpu/math_private.h
19492         (define math_opt_barrier): Add AArch64 version.
19493         (math_force_eval): Likewise.
19495 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
19497         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
19499 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
19501         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
19502         %ld with %jd and cast to intmax_t.
19503         (do_test_length_zero): Likewise.
19505 2015-07-10  Roland McGrath  <roland@hack.frob.com>
19507         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
19509 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
19511         * sysdeps/tile/libm-test-ulps: Regenerated.
19513         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
19514         Comment out the whole function, not just its body.
19516 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19518         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
19519         locks.
19521         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
19523 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19525         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
19526         (sem_assume_only_signals_cause_futex_EINTR): Remove.
19528 2015-07-10  Torvald Riegel  <triegel@redhat.com>
19530         * sysdeps/nptl/futex-internal.h: New file.
19531         * sysdeps/nacl/futex-internal.h: New file.
19532         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
19533         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
19534         error checking.
19535         (setxid_unmark_thread): Likewise.
19536         (__nptl_setxid): Likewise.
19537         (__wait_lookup_done): Likewise.
19538         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
19539         * nptl/nptl-init.c (sighandler_setxid): Likewise.
19540         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
19541         * nptl/pthread_once.c (clear_once_control): Likewise.
19542         (__pthread_once_slow): Likewise.
19543         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
19544         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
19545         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
19546         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
19547         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
19548         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
19549         Likewise.
19550         (__pthread_rwlock_rdlock): Likewise.
19551         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19552         Likewise.
19553         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
19554         Likewise.
19555         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19556         Likewise.
19557         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
19558         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
19559         Likewise.
19560         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
19561         __ASSUME_PRIVATE_FUTEX check.
19562         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
19563         Check that shared futexes are supported.
19564         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
19565         wrappers with error checking.
19566         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
19567         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
19568         * nptl/pthread_barrierattr_setpshared.c
19569         (pthread_barrierattr_setpshared): Check that shared futexes are
19570         supported.
19571         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
19572         Likewise.
19573         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
19574         Likewise.
19575         * nptl/sem_init.c (futex_private_if_supported): Remove.
19576         (__new_sem_init): Adapt and check that shared futexes are supported.
19577         * nptl/sem_open.c (sem_open): Likewise.
19578         * nptl/sem_post.c (futex_wake): Remove.
19579         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
19580         (do_futex_wait): Use futex wrappers with error checking.
19581         * nptl/sem_wait.c: Include lowlevellock.h.
19582         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
19583         Use futex_supports_pshared.
19584         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
19585         Use futex wrappers with error checking.
19586         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
19587         Likewise.
19588         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
19589         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
19590         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
19591         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
19592         (futex_wake): Likewise.
19593         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
19594         (do_futex_wait): Use futex wrappers with error checking.
19595         (__new_sem_wait_slow): Update EINTR handling.
19596         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
19598 2015-07-09  Martin Sebor  <msebor@redhat.com>
19600         [BZ #18435]
19601         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19602         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
19603         * nptl/Makefile (test-xfail-tst-once5): Define.
19605 2015-07-09  Roland McGrath  <roland@hack.frob.com>
19607         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
19608         * elf/dl-minimal.c: For readability, reorder some definitions and
19609         introduce more page breaks.  Include <stdio.h>.
19610         (__libc_fatal): New function.
19612         * include/unistd.h: Add rtld_hidden_proto for _exit.
19613         * posix/_exit.c: Add rtld_hidden_def.
19614         * sysdeps/mach/hurd/_exit.c: Likewise.
19615         * sysdeps/nacl/_exit.c: Likewise.
19616         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
19617         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
19619 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
19621         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
19622         bndmov encoding with zero displacement.
19624 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
19625             H.J. Lu  <hongjiu.lu@intel.com>
19627         [BZ #18134]
19628         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
19629         * sysdeps/i386/configure: Regenerated.
19630         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
19631         (_dl_runtime_profile): Save and restore Intel MPX return bound
19632         registers when calling _dl_call_pltexit.  Add
19633         PRESERVE_BND_REGS_PREFIX before return.
19634         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
19635         (LRV_BND1_OFFSET): Likewise.
19636         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
19637         lrv_bnd1.
19638         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
19639         typo in bndmov encoding.
19640         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
19641         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
19642         branch instructions to preserve bounds.
19644 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
19647         [GLIBC_2.22]: Add fmemopen.
19649 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19651         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
19652         returns an error, also try to use host port from __mach_host_self for
19653         the __vm_wire call.
19654         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
19656 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19658         [BZ #18400]
19659         [BZ #18648]
19660         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
19661         Fix pr_uid and pr_gid members.
19662         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
19663         definition to elf_greg_t.
19665 2015-07-08  Roland McGrath  <roland@hack.frob.com>
19667         [BZ #18383]
19668         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
19669         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
19670         * sysdeps/arm/configure: Regenerated.
19671         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
19672         (test-xfail-tst-tlsalign-static): Variable removed.
19674         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
19675         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
19676         rather than explicit 'ln -s'.
19678         * resolv/rpc/netdb.h: New file.
19679         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
19681 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19683         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
19684         length buffers.
19685         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
19686         test-skeleton.c.
19688         [BZ #6544]
19689         [BZ #11216]
19690         [BZ #12836]
19691         [BZ #13151]
19692         [BZ #13152]
19693         [BZ #14292]
19694         * include/stdio.h (fmemopen): Remove hidden prototype.
19695         (__fmemopen): Add new hidden prototype.
19696         * libio/Makefile: Add oldfmemopen object.
19697         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
19698         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
19699         compliance.
19700         * libio/oldfmemopen.c: New file: old fmemopen implementation for
19701         symbol compatibility.
19702         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
19703         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
19704         fmemopen.
19705         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
19706         on append and read mode.
19707         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
19708         fmemopen.
19709         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
19710         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
19711         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
19712         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
19713         Likewise.
19714         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
19715         [GLIBC_2.22]: Likewise.
19716         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
19717         Likewise.
19718         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
19719         Likewise.
19720         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
19721         [GLIBC_2.22]: Likewise.
19722         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
19723         [GLIBC_2.22]: Likewise.
19724         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
19725         [GLIBC_2.22]: Likewise.
19726         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
19727         [GLIBC_2.22]: Likewise.
19728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
19729         [GLIBC_2.22]: Likewise.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
19731         [GLIBC_2.22]: Likewise.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
19733         [GLIBC_2.22]: Likewise.
19734         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
19735         Likewise.
19736         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
19737         Likewise.
19738         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
19739         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
19740         [GLIBC_2.22]: Likewise.
19741         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
19742         [GLIBC_2.22]: Likewise.
19743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
19744         [GLIBC_2.22]: Likewise.
19745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
19746         [GLIBC_2.22]: Likewise.
19747         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
19748         Likewise.
19749         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
19750         Likewise.
19751         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
19752         Likewise.
19753         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
19754         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
19756 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19758         [BZ #18643]
19759         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
19760         IPV6_PATHMTU, and IPV6_DONTFRAG.
19762 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
19764         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
19765         and _IO_UNBUFFERED.
19766         * libio/oldfileops.c: Likewise.
19767         * libio/wfileops.c: Likewise.
19769 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19771         * nscd/selinux.c: Delete selinux/flask.h include.
19773 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
19775         [BZ #18641]
19776         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
19777         (putpwent): Likewise.
19778         (getpwnam): Likewise.
19779         (getpwent_r): Likewise.
19780         (getpwuid_r): Likewise.
19781         (getpwnam_r): Likewise.
19782         (fgetpwent_r): Likewise.
19784 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
19786         [BZ #18557]
19787         * inet/rcmd.c (__validuser2_sa): Check user first to
19788         short-circuit host check.
19790 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
19791             Mikhail Ilin  <m.ilin@samsung.com>
19793         [BZ #17833]
19794         * elf/Makefile (tests): Add tst-nodelete.
19795         (modules-names): Add tst-nodelete-uniquemod.
19796         (tst-nodelete-uniquemod.so-no-z-defs): New.
19797         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
19798         (tst-nodelete-zmod.so-no-z-defs): Likewise.
19799         ($(objpfx)tst-nodelete): Likewise.
19800         ($(objpfx)tst-nodelete.out): Likewise.
19801         (LDFLAGS-tst-nodelete): Likewise.
19802         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
19803         * elf/dl-close.c (_dl_close_worker): Add a parameter to
19804         implement forced object deletion.
19805         (_dl_close): Pass false to _dl_close_worker.
19806         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
19807         * elf/tst-nodelete.cc: New file.
19808         * elf/tst-nodeletelib.cc: Likewise.
19809         * elf/tst-znodeletelib.cc: Likewise.
19810         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
19812 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19814         [BZ #18508]
19815         * stdlib/Makefile ($(objpfx)tst-makecontext3):
19816         Depend on $(libdl).
19817         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
19818         is not called infinitely times.
19819         (backtrace_helper): New function.
19820         (trace_arg): New struct.
19821         (st1): Enlarge stack size.
19822         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19823         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
19824         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19825         Likewise.
19827 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19829         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
19831 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
19833         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
19834         Include sys/types.h instead of bits/types.h.
19835         Remove inclusion of bits/wordsize.h.
19837 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19839         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
19840         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
19841         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
19842         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
19843         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
19844         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
19846 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19848         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
19849         link-defines.sym.
19850         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
19851         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
19852         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
19853         and LR_SIZE.
19854         * sysdeps/i386/link-defines.sym: New file.
19856 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
19858         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
19859         (modules-names): Add tst-auditmod3a tst-auditmod3b.
19860         ($(objpfx)tst-audit3): New rule.
19861         ($(objpfx)tst-audit3.out): Likewise.
19862         * sysdeps/i386/tst-audit3.c: New file.
19863         * sysdeps/i386/tst-audit3.h: Likewise.
19864         * sysdeps/i386/tst-auditmod3a.c: Likewise.
19865         * sysdeps/i386/tst-auditmod3b.c: Likewise.
19867 2015-07-07  Torvald Riegel  <triegel@redhat.com>
19869         [BZ #18633]
19870         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
19871         pointer in C code.
19872         (__strcat_c): Likewise.
19873         (__strcat_g): Likewise.
19875 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
19877         [BZ #18592]
19878         * misc/sbrk.c: Set errno to ENOMEM on overflow.
19880 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19882         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
19883         New function.  (__ieee754_sqrtf): New function.
19884         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
19885         New function.
19886         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
19887         New function.
19889 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
19891         * sysdeps/ieee754/support.c: Remove unused file.
19893 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19895         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
19896         registers instead of d ones so the layout is kernel abi compatible.
19897         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
19898         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
19899         Likewise.
19901 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19903         * sysdeps/aarch64/libm-test-ulps: Regenerated.
19905 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19907         [BZ #18619]
19908         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
19909         and return argument in case of subnormal argument.
19911 2015-07-01  Martin Sebor  <msebor@redhat.com>
19913         [BZ #18435]
19914         * nptl/Makefile: Add tst-once5.cc.
19915         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
19916         Remove macro redefinitions.
19917         * nptl/tst-once5.cc: New test.
19919 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
19921         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19923         * sysdeps/arm/libm-test-ulps: Regenerated.
19925         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19926         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19928 2015-06-30  Torvald Riegel  <triegel@redhat.com>
19930         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
19931         lll_lock_wait_private and lll_futex_wake probes.
19933         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19934         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
19935         Likewise.
19936         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
19937         atomic_spin_nop.
19938         * sysdeps/x86_64/bits/atomic.h: Likewise.
19939         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
19940         to atomic_spin_nop and move ...
19941         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
19942         ... here and ...
19943         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
19944         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
19945         atomic_spin_nop instead of BUSY_WAIT_NOP.
19946         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
19947         Likewise.
19948         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
19949         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
19950         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
19951         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
19952         instead of atomic_delay.
19954 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
19956         [BZ #18613]
19957         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
19958         X_ADJ not X when adjusting exponent.
19959         (__ieee754_gamma_r): Do intermediate computations in
19960         round-to-nearest then adjust overflowing and underflowing results
19961         as needed.
19962         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
19963         of X_ADJ not X when adjusting exponent.
19964         (__ieee754_gammaf_r): Do intermediate computations in
19965         round-to-nearest then adjust overflowing and underflowing results
19966         as needed.
19967         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
19968         log of X_ADJ not X when adjusting exponent.
19969         (__ieee754_gammal_r): Do intermediate computations in
19970         round-to-nearest then adjust overflowing and underflowing results
19971         as needed.  Use 1.0L not 1.0f as numerator of division.
19972         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
19973         log of X_ADJ not X when adjusting exponent.
19974         (__ieee754_gammal_r): Do intermediate computations in
19975         round-to-nearest then adjust overflowing and underflowing results
19976         as needed.  Use 1.0L not 1.0f as numerator of division.
19977         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
19978         of X_ADJ not X when adjusting exponent.
19979         (__ieee754_gammal_r): Do intermediate computations in
19980         round-to-nearest then adjust overflowing and underflowing results
19981         as needed.  Use 1.0L not 1.0f as numerator of division.
19982         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
19983         to auto-libm-test-in.
19984         (tgamma_test): Use ALL_RM_TEST.
19985         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
19986         tests of tgamma with spurious-overflow.
19987         * math/auto-libm-test-out: Regenerated.
19988         * math/gen-libm-have-vector-test.sh: Do not check for START.
19989         * sysdeps/i386/fpu/libm-test-ulps: Update.
19990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19992         [BZ #18612]
19993         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
19994         arguments, just return 0.5 times the argument, with underflow
19995         forced as needed.
19996         * math/auto-libm-test-in: Add more tests of j1.
19997         * math/auto-libm-test-out: Regenerated.
19999         [BZ #16559]
20000         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
20001         (__ieee754_j1): Force underflow exception for small results.
20002         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20003         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
20004         (__ieee754_j1f): Force underflow exception for small results.
20005         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20006         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20008         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
20009         (__ieee754_j1l): Force underflow exception for small results.
20010         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20011         * math/auto-libm-test-in: Add more tests of j1 and jn.
20012         * math/auto-libm-test-out: Regenerated.
20014         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
20015         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
20016         (PF_MPLS): Likewise.
20017         (AF_IB): Likewise.
20018         (AF_MPLS): Likewise.
20019         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
20020         value and macro.
20021         (MS_RMT_MASK): Include MS_LAZYTIME.
20023 2015-06-26  Mel Gorman  <mgorman@suse.de>
20025         [BZ #18502]
20026         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
20027         already minimal.
20029 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
20031         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
20032         (DT_MIPS_NUM): Update.
20033         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
20034         DT_MIPS_RLD_MAP_REL.
20036 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
20038         [BZ #16559]
20039         [BZ #18602]
20040         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
20041         round-to-nearest internally then recompute results that
20042         underflowed to zero in the original rounding mode.
20043         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20044         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20045         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
20046         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20047         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
20048         * sysdeps/i386/fpu/libm-test-ulps: Update.
20049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20051 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20053         * NEWS: Fixed description of link with vector math library.
20055 2015-06-25  Andreas Schwab  <schwab@suse.de>
20057         [BZ #18549]
20058         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
20059         * libio/test-fmemopen.c (do_test): Add test for it.
20061 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
20063         [BZ #17841]
20064         * Makeconfig (no-pie-ldflag): New.
20065         (+link): Set to $(+link-pie) if default to PIE.
20066         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
20067         * config.make.in (build-pie-default): New.
20068         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
20069         is default.  AC_SUBST.
20070         * configure: Regenerated.
20071         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
20073 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20075         * nptl/descr.h (struct pthread): Change type of field setxid_futex
20076         to 'unsigned int'.
20078         * resolv/gai_misc.h (struct waitlist): Change type of field
20079         counterp to 'volatile unsigned int *'.
20080         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
20081         FUTEXADDR and OLDVAL.
20082         * resolv/getaddrinfo_a.c (getaddrinfo_a):
20083         Give local variable TOTAL type 'volatile unsigned int'.
20084         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20085         * resolv/gai_suspend.c (gai_suspend):
20086         Give local variable CNTR type 'unsigned int'.
20088         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
20089         counterp to 'volatile unsigned int *'.
20090         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
20091         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
20092         (aio_suspend): Give local variable CNTR type 'unsigned int'.
20093         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
20094         Give local variable TOTAL type 'volatile unsigned int'.
20095         (struct async_waitlist): Change type of field counter to 'unsigned int'.
20097 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20099         [BZ #18383]
20100         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
20101         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
20102         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
20103         comment for i386/x86-64.
20104         (test-xfail-tst-tlsalign-extern-static): Removed.
20106 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20108         * math/test-double.h: New file.
20109         * math/test-float.h: Likewise.
20110         * math/test-ldouble.h: Likewise.
20111         * math/test-math-inline.h: Likewise.
20112         * math/test-math-no-inline.h: Likewise.
20113         * math/test-math-scalar.h: Likewise.
20114         * math/test-math-vector.h: Likewise.
20115         * math/test-vec-loop.h: Remove file.  Contents moved into
20116         test-math-vector.h.
20117         * math/libm-test.inc (MATHCONST): Do not document macro.
20118         * math/test-double.c: Include test-double.h, test-math-no-inline.h
20119         and test-math-scalar.h.
20120         (FUNC): Remove macro.
20121         (FUNC_TEST): Likewise.
20122         (FLOAT): Likewise.
20123         (MATHCONST): Likewise.
20124         (PRINTF_EXPR): Likewise.
20125         (PRINTF_XEXPR): Likewise.
20126         (PRINTF_NEXPR): Likewise.
20127         (TEST_DOUBLE): Likewise.
20128         (TEST_MATHVEC): Likewise.
20129         (__NO_MATH_INLINES): Likewise.
20130         * math/test-float.c: Include test-float.h, test-math-no-inline.h
20131         and test-math-scalar.h.
20132         (FUNC): Remove macro.
20133         (FUNC_TEST): Likewise.
20134         (FLOAT): Likewise.
20135         (MATHCONST): Likewise.
20136         (PRINTF_EXPR): Likewise.
20137         (PRINTF_XEXPR): Likewise.
20138         (PRINTF_NEXPR): Likewise.
20139         (TEST_FLOAT): Likewise.
20140         (TEST_MATHVEC): Likewise.
20141         (__NO_MATH_INLINES): Likewise.
20142         * math/test-idouble.c: Include test-double.h, test-math-inline.h
20143         and test-math-scalar.h.
20144         (FUNC): Remove macro.
20145         (FUNC_TEST): Likewise.
20146         (FLOAT): Likewise.
20147         (MATHCONST): Likewise.
20148         (PRINTF_EXPR): Likewise.
20149         (PRINTF_XEXPR): Likewise.
20150         (PRINTF_NEXPR): Likewise.
20151         (TEST_DOUBLE): Likewise.
20152         (TEST_MATHVEC): Likewise.
20153         (TEST_INLINE): Likewise.
20154         (__NO_MATH_INLINES): Likewise.
20155         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
20156         test-math-scalar.h.
20157         (FUNC): Remove macro.
20158         (FUNC_TEST): Likewise.
20159         (FLOAT): Likewise.
20160         (MATHCONST): Likewise.
20161         (PRINTF_EXPR): Likewise.
20162         (PRINTF_XEXPR): Likewise.
20163         (PRINTF_NEXPR): Likewise.
20164         (TEST_FLOAT): Likewise.
20165         (TEST_MATHVEC): Likewise.
20166         (TEST_INLINE): Likewise.
20167         (__NO_MATH_INLINES): Likewise.
20168         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
20169         and test-math-scalar.h.
20170         (FUNC): Remove macro.
20171         (FUNC_TEST): Likewise.
20172         (FLOAT): Likewise.
20173         (MATHCONST): Likewise.
20174         (PRINTF_EXPR): Likewise.
20175         (PRINTF_XEXPR): Likewise.
20176         (PRINTF_NEXPR): Likewise.
20177         (TEST_LDOUBLE): Likewise.
20178         (TEST_MATHVEC): Likewise.
20179         (TEST_INLINE): Likewise.
20180         (__NO_MATH_INLINES): Likewise.
20181         * math/test-ldouble.c: Include test-ldouble.h,
20182         test-math-no-inline.h and test-math-scalar.h.
20183         (FUNC): Remove macro.
20184         (FUNC_TEST): Likewise.
20185         (FLOAT): Likewise.
20186         (MATHCONST): Likewise.
20187         (PRINTF_EXPR): Likewise.
20188         (PRINTF_XEXPR): Likewise.
20189         (PRINTF_NEXPR): Likewise.
20190         (TEST_LDOUBLE): Likewise.
20191         (TEST_MATHVEC): Likewise.
20192         (__NO_MATH_INLINES): Likewise.
20193         * math/test-double-vlen2.h: Include test-double.h,
20194         test-math-no-inline.h and test-math-vector.h.
20195         (FLOAT): Remove macro.
20196         (FUNC): Likewise.
20197         (MATHCONST): Likewise.
20198         (PRINTF_EXPR): Likewise.
20199         (PRINTF_XEXPR): Likewise.
20200         (PRINTF_NEXPR): Likewise.
20201         (TEST_DOUBLE): Likewise.
20202         (TEST_MATHVEC): Likewise.
20203         (__NO_MATH_INLINES): Likewise.
20204         (CNCT): Likewise.
20205         (CONCAT): Likewise.
20206         (WRAPPER_NAME): Likewise.
20207         (WRAPPER_DECL): Likewise.
20208         (WRAPPER_DECL_ff): Likewise.
20209         (WRAPPER_DECL_fFF): Likewise.
20210         (VECTOR_WRAPPER): Likewise.
20211         (VECTOR_WRAPPER_ff): Likewise.
20212         (VECTOR_WRAPPER_fFF): Likewise.
20213         (VEC_LEN): New macro.
20214         * math/test-double-vlen4.h: Include test-double.h,
20215         test-math-no-inline.h and test-math-vector.h.
20216         (FLOAT): Remove macro.
20217         (FUNC): Likewise.
20218         (MATHCONST): Likewise.
20219         (PRINTF_EXPR): Likewise.
20220         (PRINTF_XEXPR): Likewise.
20221         (PRINTF_NEXPR): Likewise.
20222         (TEST_DOUBLE): Likewise.
20223         (TEST_MATHVEC): Likewise.
20224         (__NO_MATH_INLINES): Likewise.
20225         (CNCT): Likewise.
20226         (CONCAT): Likewise.
20227         (WRAPPER_NAME): Likewise.
20228         (WRAPPER_DECL): Likewise.
20229         (WRAPPER_DECL_ff): Likewise.
20230         (WRAPPER_DECL_fFF): Likewise.
20231         (VECTOR_WRAPPER): Likewise.
20232         (VECTOR_WRAPPER_ff): Likewise.
20233         (VECTOR_WRAPPER_fFF): Likewise.
20234         (VEC_LEN): New macro.
20235         * math/test-double-vlen8.h: Include test-double.h,
20236         test-math-no-inline.h and test-math-vector.h.
20237         (FLOAT): Remove macro.
20238         (FUNC): Likewise.
20239         (MATHCONST): Likewise.
20240         (PRINTF_EXPR): Likewise.
20241         (PRINTF_XEXPR): Likewise.
20242         (PRINTF_NEXPR): Likewise.
20243         (TEST_DOUBLE): Likewise.
20244         (TEST_MATHVEC): Likewise.
20245         (__NO_MATH_INLINES): Likewise.
20246         (CNCT): Likewise.
20247         (CONCAT): Likewise.
20248         (WRAPPER_NAME): Likewise.
20249         (WRAPPER_DECL): Likewise.
20250         (WRAPPER_DECL_ff): Likewise.
20251         (WRAPPER_DECL_fFF): Likewise.
20252         (VECTOR_WRAPPER): Likewise.
20253         (VECTOR_WRAPPER_ff): Likewise.
20254         (VECTOR_WRAPPER_fFF): Likewise.
20255         (VEC_LEN): New macro.
20256         * math/test-float-vlen4.h: Include test-float.h,
20257         test-math-no-inline.h and test-math-vector.h.
20258         (FLOAT): Remove macro.
20259         (FUNC): Likewise.
20260         (MATHCONST): Likewise.
20261         (PRINTF_EXPR): Likewise.
20262         (PRINTF_XEXPR): Likewise.
20263         (PRINTF_NEXPR): Likewise.
20264         (TEST_FLOAT): Likewise.
20265         (TEST_MATHVEC): Likewise.
20266         (__NO_MATH_INLINES): Likewise.
20267         (CNCT): Likewise.
20268         (CONCAT): Likewise.
20269         (WRAPPER_NAME): Likewise.
20270         (WRAPPER_DECL): Likewise.
20271         (WRAPPER_DECL_ff): Likewise.
20272         (WRAPPER_DECL_fFF): Likewise.
20273         (VECTOR_WRAPPER): Likewise.
20274         (VECTOR_WRAPPER_ff): Likewise.
20275         (VECTOR_WRAPPER_fFF): Likewise.
20276         (VEC_LEN): New macro.
20277         * math/test-float-vlen8.h: Include test-float.h,
20278         test-math-no-inline.h and test-math-vector.h.
20279         (FLOAT): Remove macro.
20280         (FUNC): Likewise.
20281         (MATHCONST): Likewise.
20282         (PRINTF_EXPR): Likewise.
20283         (PRINTF_XEXPR): Likewise.
20284         (PRINTF_NEXPR): Likewise.
20285         (TEST_FLOAT): Likewise.
20286         (TEST_MATHVEC): Likewise.
20287         (__NO_MATH_INLINES): Likewise.
20288         (CNCT): Likewise.
20289         (CONCAT): Likewise.
20290         (WRAPPER_NAME): Likewise.
20291         (WRAPPER_DECL): Likewise.
20292         (WRAPPER_DECL_ff): Likewise.
20293         (WRAPPER_DECL_fFF): Likewise.
20294         (VECTOR_WRAPPER): Likewise.
20295         (VECTOR_WRAPPER_ff): Likewise.
20296         (VECTOR_WRAPPER_fFF): Likewise.
20297         (VEC_LEN): New macro.
20298         * math/test-float-vlen16.h: Include test-float.h,
20299         test-math-no-inline.h and test-math-vector.h.
20300         (FLOAT): Remove macro.
20301         (FUNC): Likewise.
20302         (MATHCONST): Likewise.
20303         (PRINTF_EXPR): Likewise.
20304         (PRINTF_XEXPR): Likewise.
20305         (PRINTF_NEXPR): Likewise.
20306         (TEST_FLOAT): Likewise.
20307         (TEST_MATHVEC): Likewise.
20308         (__NO_MATH_INLINES): Likewise.
20309         (CNCT): Likewise.
20310         (CONCAT): Likewise.
20311         (WRAPPER_NAME): Likewise.
20312         (WRAPPER_DECL): Likewise.
20313         (WRAPPER_DECL_ff): Likewise.
20314         (WRAPPER_DECL_fFF): Likewise.
20315         (VECTOR_WRAPPER): Likewise.
20316         (VECTOR_WRAPPER_ff): Likewise.
20317         (VECTOR_WRAPPER_fFF): Likewise.
20318         (VEC_LEN): New macro.
20319         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
20320         test-vec-loop.h.
20321         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20322         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20323         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20324         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20325         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20326         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20327         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20329 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20331         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
20332         (__getlogin_r): ... this.
20334 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20336         [BZ #18594]
20337         * math/s_ccosh.c (__ccosh): Compare with least normal value
20338         instead of comparing class with FP_SUBNORMAL.
20339         * math/s_ccoshf.c (__ccoshf): Likewise.
20340         * math/s_ccoshl.c (__ccoshl): Likewise.
20341         * math/s_cexp.c (__cexp): Likewise.
20342         * math/s_cexpf.c (__cexpf): Likewise.
20343         * math/s_cexpl.c (__cexpl): Likewise.
20344         * math/s_csin.c (__csin): Likewise.
20345         * math/s_csinf.c (__csinf): Likewise.
20346         * math/s_csinh.c (__csinh): Likewise.
20347         * math/s_csinhf.c (__csinhf): Likewise.
20348         * math/s_csinhl.c (__csinhl): Likewise.
20349         * math/s_csinl.c (__csinl): Likewise.
20350         * math/s_ctan.c (__ctan): Likewise.
20351         * math/s_ctanf.c (__ctanf): Likewise.
20352         * math/s_ctanh.c (__ctanh): Likewise.
20353         * math/s_ctanhf.c (__ctanhf): Likewise.
20354         * math/s_ctanhl.c (__ctanhl): Likewise.
20355         * math/s_ctanl.c (__ctanl): Likewise.
20356         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
20357         csin, csinh, ctan and ctanh.
20358         * math/auto-libm-test-out: Regenerated.
20359         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
20360         * sysdeps/i386/fpu/libm-test-ulps: Update.
20361         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20363 2015-06-24  Roland McGrath  <roland@hack.frob.com>
20365         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
20366         return value is wrong, print the expected value too.
20368 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
20370         [BZ #18585]
20371         * elf/readlib.c (is_gdb_python_file): New.
20372         (process_file): Don't issue errors on filenames with -gdb.py
20373         suffix.
20375 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
20377         * math/auto-libm-test-in: Add more tests of csin and csinh.
20378         * math/auto-libm-test-out: Regenerated.
20379         * math/libm-test.inc (csin_test_data): Remove tests moved to
20380         auto-libm-test-in.
20381         (csinh_test_data): Likewise.
20383         [BZ #18593]
20384         * math/s_csin.c (__csin): Negate before rather than after possibly
20385         overflowing multiplication.
20386         * math/s_csinf.c (__csinf): Likewise.
20387         * math/s_csinh.c (__csinh): Likewise.
20388         * math/s_csinhf.c (__csinhf): Likewise.
20389         * math/s_csinhl.c (__csinhl): Likewise.
20390         * math/s_csinl.c (__csinl): Likewise.
20391         * math/auto-libm-test-in: Add some tests of csin and csinh.
20392         * math/auto-libm-test-out: Regenerated.
20393         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
20394         (csinh_test_data): Likewise.
20395         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20397         [BZ #18586]
20398         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
20399         underflow exception for small results.
20401 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
20403         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20404         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
20405         variable and included header.
20406         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
20407         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
20408         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
20409         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
20410         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
20411         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
20412         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
20413         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
20414         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
20415         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
20416         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
20417         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
20418         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
20419         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
20420         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
20421         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
20423 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20425         [BZ #16526]
20426         [BZ #16538]
20427         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
20428         (__sin): Force underflow exception for arguments with small
20429         absolute value.
20430         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
20431         (__kernel_sinf): Force underflow exception for arguments with
20432         small absolute value.
20433         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
20434         (__kernel_sincosl): Force underflow exception for arguments with
20435         small absolute value.
20436         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
20437         (__kernel_sinl): Force underflow exception for arguments with
20438         small absolute value.
20439         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
20440         (__kernel_sincosl): Force underflow exception for arguments with
20441         small absolute value.
20442         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
20443         (__kernel_sinl): Force underflow exception for arguments with
20444         small absolute value.
20445         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
20446         (__kernel_sinl): Force underflow exception for arguments with
20447         small absolute value.
20448         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
20449         (__kernel_sinf): Force underflow exception for arguments with
20450         small absolute value.
20451         * math/auto-libm-test-in: Add more tests of sin and sincos.
20452         * math/auto-libm-test-out: Regenerated.
20454         [BZ #18245]
20455         [BZ #18583]
20456         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
20457         (__kernel_standard_l): Use feholdexcept and fesetenv around
20458         conversion to double instead of special-casing overflow and
20459         underflow.
20460         * math/libm-test.inc (fmod_test_data): Add more tests.
20461         (remainder_test_data): Likewise.
20462         (sqrt_test_data): Likewise.
20464 2015-06-23  Torvald Riegel  <triegel@redhat.com>
20466         [BZ #17403]
20467         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
20468         atomic_read_barrier, atomic_write_barrier): Define.
20469         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
20470         atomic_read_barrier, atomic_write_barrier): Define.
20472 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20474         * math/Makefile [$(PERL) != no]
20475         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
20476         dependency on libm-test.stmp below the inclusion of Rules.
20478 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
20480         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
20481         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
20482         and included header.
20483         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
20484         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
20485         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
20486         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
20487         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
20488         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
20489         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
20490         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
20491         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
20492         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
20493         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
20494         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
20495         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
20496         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
20497         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
20498         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
20499         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
20500         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
20501         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
20503 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
20505         [BZ #18371]
20506         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
20507         intermediate but not final result might underflow.
20508         * math/s_csqrtf.c (__csqrtf): Likewise.
20509         * math/s_csqrtl.c (__csqrtl): Likewise.
20510         * math/auto-libm-test-in: Add more tests of csqrt.
20511         * math/auto-libm-test-out: Regenerated.
20512         * sysdeps/i386/fpu/libm-test-ulps: Update.
20514         [BZ #18219]
20515         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
20516         threshold on absolute value of exponent for which scaling is used.
20517         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
20518         * math/auto-libm-test-in: Add more tests of exp2.
20519         * math/auto-libm-test-out: Regenerated.
20521 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
20523         [BZ #17977]
20524         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
20525         when initializing interface list, based on the bug analysis
20526         and the patch proposed by Eric Newton.
20527         * resolv/tst-res_hconf_reorder.c: New test.
20528         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
20529         tst-res_hconf_reorder.
20530         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
20531         and $(shared-thread-library).
20532         (tst-res_hconf_reorder-ENV): New variable.
20534         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
20535         in comment.
20537 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
20539         [BZ #16353]
20540         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
20541         (__expm1): Force underflow exception for arguments with small
20542         absolute value.
20543         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
20544         (__expm1f): Force underflow exception for arguments with small
20545         absolute value.
20546         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
20547         (__expm1): Force underflow exception for arguments with small
20548         absolute value.
20549         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
20550         (__expm1f): Force underflow exception for arguments with small
20551         absolute value.
20552         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20553         Check for small arguments before calling __expm1.
20554         * math/auto-libm-test-in: Do not mark underflow exceptions as
20555         possibly missing for bug 16353.
20556         * math/auto-libm-test-out: Regenerated.
20558 2015-06-22  Andreas Schwab  <schwab@suse.de>
20560         [BZ #18513]
20561         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
20562         PTR queries.
20564 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
20566         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
20568         * string/strcoll_l.c: Remove unused struct element idxnow.
20570 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
20572         [BZ #18569]
20573         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
20574         underflow and return argument in case of subnormal argument.
20575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
20576         Likewise.
20577         * math/auto-libm-test-in: Add more tests of expm1.
20578         * math/auto-libm-test-out: Regenerated.
20580         [BZ #16361]
20581         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20582         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20583         tiny results.
20584         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
20585         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
20586         tiny results.
20587         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
20588         mark underflow exceptions as possibly missing for bug 16361.
20589         * math/auto-libm-test-out: Regenerated.
20591 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
20593         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
20594         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
20595         Remove variable.
20596         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
20597         (test-xfail-XOPEN2K8/utmpx.h/conform).
20599         * conform/conformtest.pl ($xerrors): New variable.
20600         (note_error): New function.
20601         (compiletest): New argument $xfail.  Use not_error.
20602         (runtest): Likewise.
20603         (top level): Handle xfail- lines.  Update calls to compiletest and
20604         runtest.  Handle xfail- and optional- in headers listed with
20605         allow-header.
20606         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
20607         (O_EXEC): Likewise.
20608         (O_SEARCH): Likewise.
20609         * conform/data/stropts.h-data (ioctl): Likewise.
20610         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
20611         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
20612         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
20613         (msghdr.msg_controllen): Likewise.
20614         (cmsghdr.cmsg_len): Likewise.
20615         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
20616         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
20617         variable.
20618         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
20619         (test-xfail-XPG4/stropts.h/conform): Likewise.
20620         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
20621         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
20622         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
20623         (test-xfail-UNIX98/stropts.h/conform): Likewise.
20624         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
20625         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
20626         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
20627         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
20628         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
20629         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
20630         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
20631         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
20632         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
20633         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
20634         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
20635         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
20636         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
20637         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
20638         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
20640 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
20642         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
20643         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
20644         definitions for proper unfolding of __MATHDECL_VEC.
20646 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20648         * benchtests/bench-strcoll.c:
20649         Include string.h.
20650         (main): Remove unused variable res.
20652 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20654         * timezone/Makefile (%/UTC %/Universal):
20655         Generate test-result files for UTC and Universal.
20657 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
20659         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
20661 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
20663         [BZ #16350]
20664         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
20665         for arguments with small absolute value.
20666         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
20667         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
20668         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
20669         (__asinh): Force underflow exception for arguments with small
20670         absolute value.
20671         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
20672         (__asinhf): Force underflow exception for arguments with small
20673         absolute value.
20674         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
20675         (__asinhl): Force underflow exception for arguments with small
20676         absolute value.
20677         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
20678         (__asinhl): Force underflow exception for arguments with small
20679         absolute value.
20680         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
20681         (__asinhl): Force underflow exception for arguments with small
20682         absolute value.
20683         * math/auto-libm-test-in: Do not mark underflow exceptions as
20684         possibly missing for bug 16350.
20685         * math/auto-libm-test-out: Regenerated.
20687         * include/bits/ipc.h: Remove file.
20688         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
20689         variable.
20690         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
20691         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
20692         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
20693         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
20694         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
20695         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
20696         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
20697         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
20698         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
20700         * math/auto-libm-test-in: Remove spurious underflow allowance for
20701         tests of cexp.
20702         * math/auto-libm-test-out: Regenerated.
20704         [BZ #18558]
20705         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
20706         unconditional definition.
20707         (MCAST_BLOCK_SOURCE): Likewise.
20708         (MCAST_UNBLOCK_SOURCE): Likewise.
20709         (MCAST_LEAVE_GROUP): Likewise.
20710         (MCAST_JOIN_SOURCE_GROUP): Likewise.
20711         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
20712         (MCAST_MSFILTER): Likewise.
20713         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
20714         Remove variable.
20715         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
20716         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
20717         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
20718         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
20719         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
20721 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
20723         * NEWS: Mention addition of x86_64 vector sincosf.
20724         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
20725         * math/test-float-vlen4.h: Likewise.
20726         * math/test-float-vlen8.h: Likewise.
20727         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20728         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
20729         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20730         * sysdeps/x86_64/fpu/Versions: New versions added.
20731         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20732         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20733         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20734         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
20735         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20736         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
20737         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20738         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
20739         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20740         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
20741         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
20742         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
20743         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
20744         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
20745         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
20746         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
20747         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
20748         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
20749         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20750         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20751         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20752         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20753         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20754         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20756         * NEWS: Mention addition of x86_64 vector sincos.
20757         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
20758         * math/math.h (__MATHDECL_VEC): New macro.
20759         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
20760         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
20761         declaration under condition.
20762         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
20763         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
20764         TEST_VEC_LOOP change.
20765         * math/test-double-vlen4.h: Likewise.
20766         * math/test-double-vlen8.h: Likewise.
20767         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
20768         * math/test-float-vlen4.h: Likewise.
20769         * math/test-float-vlen8.h: Likewise.
20770         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20771         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
20772         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20773         * sysdeps/x86_64/fpu/Versions: New versions added.
20774         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20775         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20776         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20777         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
20778         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
20779         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
20780         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
20781         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
20782         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
20783         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
20784         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
20785         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
20786         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
20787         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
20788         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
20789         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
20790         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
20791         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
20792         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
20793         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
20794         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
20795         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
20796         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
20797         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
20799         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
20800         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
20801         redirections for powf.
20802         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
20803         * sysdeps/x86_64/fpu/Versions: New versions added.
20804         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
20805         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
20806         Added build of SSE, AVX2 and AVX512 IFUNC versions.
20807         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
20808         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
20809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
20810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
20811         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
20812         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
20813         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
20814         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
20815         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
20816         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
20817         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
20818         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
20819         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
20820         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
20821         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
20822         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
20823         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
20824         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
20825         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
20826         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
20827         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
20828         * math/test-float-vlen16.h: Fixed 2 argument macro.
20829         * math/test-float-vlen4.h: Likewise.
20830         * math/test-float-vlen8.h: Likewise.
20831         * NEWS: Mention addition of x86_64 vector powf.
20833 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
20835         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20836         and redefine.
20837         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
20838         and redefine.
20839         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
20840         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
20841         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20843         [BZ #18553]
20844         * resource/getpriority.c (getpriority): Rename to __getpriority
20845         and define as weak alias of __getpriority.
20846         * resource/setpriority.c (setpriority): Rename to __setpriority
20847         and define as weak alias of __setpriority.
20848         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
20849         __getpriority and define as weak alias of __getpriority.
20850         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
20851         __setpriority and define as weak alias of __setpriority.
20852         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
20853         strong name.
20854         (setpriority): Use __setpriority as strong name.
20855         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
20856         __getpriority and define as weak alias of __getpriority.
20857         * include/sys/resource.h (__getpriority): Declare.  Use
20858         libc_hidden_proto.
20859         (__setpriority): Likewise.
20860         (getpriority): Don't use libc_hidden_proto.
20861         (setpriority): Likewise.
20862         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
20863         getpriority.  Call __setpriority instead of setpriority.
20864         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
20865         Remove variable.
20867         [BZ #18547]
20868         * misc/getttyent.c (getttynam): Rename to __getttynam and define
20869         as weak alias of __getttynam.  Use prototype function definition.
20870         Call __setttyent, __getttyent and __endttyent instead of
20871         setttyent, getttyent and endttyent.
20872         (getttyent): Rename to __getttyent and define as weak alias of
20873         __getttyent.  Call __setttyent instead of setttyent.  Call
20874         __fgets_unlocked instead of fgets_unlocked.
20875         (setttyent): Rename to __setttyent and define as weak alias of
20876         __setttyent.
20877         (endttyent): Rename to __endttyent and define as weak alias of
20878         __endttyent.
20879         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
20880         (__setttyent): Likewise.
20881         (__endttyent): Likewise.
20882         (getttyent): Don't use libc_hidden_proto.
20883         (setttyent): Likewise.
20884         (endttyent): Likewise.
20885         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
20886         __endttyent instead of setttyent, getttyent and endttyent.
20887         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
20888         Remove variable.
20890         [BZ #18546]
20891         * socket/recv.c (__recv): Use libc_hidden_def.
20892         * socket/socket.c (__socket): Likewise.
20893         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
20894         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
20895         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
20896         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
20897         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
20898         libc_hidden_def.
20899         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
20900         libc_hidden_weak.
20901         * include/sys/socket.h (__socket): Do not use attribute_hidden.
20902         Use libc_hidden_proto.
20903         (__recv): Likewise.
20904         * socket/Versions (libc): Export __recv and __socket at version
20905         GLIBC_PRIVATE.
20906         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
20907         instead of recv.
20908         (init_mq_netlink): Call __socket instead of socket.
20909         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
20910         Remove variable.
20912         [BZ #18545]
20913         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
20914         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
20915         hidden_weak.
20916         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
20917         define as alias of __mq_timedsend.  Use hidden_weak.
20918         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
20919         __mq_timedsend as strong name.
20920         (mq_timedreceive): Use __mq_timedreceive as strong name.
20921         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
20922         (__mq_timedreceive): Likewise.
20923         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
20924         __mq_timedreceive instead of mq_timedreceive.
20925         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
20926         instead of mq_timedsend.
20927         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
20928         Remove variable.
20930         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
20931         hidden_def and hidden_weak instead of libc_hidden_def and
20932         libc_hidden_weak.
20933         (top level): Refer to hidden_def in comment.
20934         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
20935         macro.  Use it instead of libc_hidden_def.
20936         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
20937         specify __GI_* name explicitly.
20938         (mq_timedreceive): Likewise.
20939         (mq_setattr): Likewise.
20941         [BZ #18544]
20942         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
20943         __pthread_barrier_init and define as weak alias of
20944         __pthread_barrier_init.
20945         * sysdeps/sparc/nptl/pthread_barrier_init.c
20946         (pthread_barrier_init): Likewise.
20947         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
20948         __pthread_barrier_wait and define as weak alias of
20949         __pthread_barrier_wait.
20950         * sysdeps/sparc/nptl/pthread_barrier_wait.c
20951         (pthread_barrier_wait): Likewise.
20952         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
20953         (pthread_barrier_wait): Likewise.
20954         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
20955         (pthread_barrier_wait): Likewise.
20956         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
20957         (pthread_barrier_wait): Likewise.
20958         * nptl/Versions (libpthread): Export __pthread_barrier_init and
20959         __pthread_barrier_wait at version GLIBC_PRIVATE.
20960         * include/pthread.h (__pthread_barrier_init): Declare.
20961         (__pthread_barrier_wait): Likewise.
20962         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
20963         Call __pthread_barrier_wait instead of pthread_barrier_wait.
20964         (helper_thread): Likewise.
20965         (init_mq_netlink): Call __pthread_barrier_init instead of
20966         pthread_barrier_init.
20968         [BZ #18542]
20969         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
20970         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
20971         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
20972         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
20973         vswscanf.
20974         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
20975         Remove variable.
20977         [BZ #18540]
20978         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
20979         strong alias of _IO_fflush.  Use libc_hidden_def.
20980         * libio/iofflush_u.c (fflush_unlocked): Rename to
20981         __fflush_unlocked and define as weak alias of __fflush_unlocked.
20982         Use libc_hidden_weak.
20983         * include/stdio.h (__fflush_unlocked): Declare.  Use
20984         libc_hidden_proto.
20985         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
20986         fflush_unlocked.
20987         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
20988         Remove variable.
20990         [BZ #18539]
20991         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
20992         define as weak alias of __addseverity.
20993         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
20994         Remove variable.
20995         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
20996         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
20997         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
20999         [BZ #18536]
21000         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
21001         (__tfind): Likewise.
21002         (__tdelete): Likewise.
21003         (__twalk): Likewise.
21004         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
21005         __twalk to GLIBC_PRIVATE.
21006         * include/search.h (__tsearch): Use libc_hidden_proto.
21007         (__tfind): Likewise.
21008         (__tdelete): Likewise.
21009         (__twalk): Likewise.
21010         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
21011         Call __tdelete instead of tdelete.
21012         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
21013         tfind.  Call __tsearch instead of tsearch.
21014         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
21015         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
21016         Remove variable.
21017         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
21019         [BZ #18534]
21020         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
21021         (dprintf): Define as a weak alias of __dprintf, not a strong
21022         alias.
21023         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
21024         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
21025         dprintf.
21026         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
21027         Remove variable.
21028         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
21029         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
21031         [BZ #18533]
21032         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
21033         not a strong alias.
21034         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
21035         Remove variable.
21037         [BZ #18532]
21038         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
21039         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
21040         (in6addr_loopback): Rename to __in6addr_loopback and define as
21041         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
21042         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
21043         libc_hidden_proto.
21044         (__in6addr_any): Likewise.
21045         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
21046         in6addr_any.
21047         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
21048         variable.
21049         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
21051 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21053         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
21054         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
21055         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21056         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21057         redirections for pow.
21058         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21059         * sysdeps/x86_64/fpu/Versions: New versions added.
21060         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21061         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21062         build of SSE, AVX2 and AVX512 IFUNC versions.
21063         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
21064         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
21065         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
21066         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
21067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
21068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
21069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
21070         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
21071         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
21072         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
21073         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
21074         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
21075         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
21076         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
21077         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21079         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21080         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21081         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21082         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21083         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21084         * NEWS: Mention addition of x86_64 vector pow.
21086         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21087         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21088         redirections for expf.
21089         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21090         * sysdeps/x86_64/fpu/Versions: New versions added.
21091         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21092         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21093         build of SSE, AVX2 and AVX512 IFUNC versions.
21094         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
21095         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
21096         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
21097         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
21098         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
21099         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
21100         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
21101         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
21102         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
21103         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
21104         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
21105         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
21106         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
21107         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21108         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21109         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21110         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21111         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21112         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21113         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21114         * NEWS: Mention addition of x86_64 vector expf.
21116         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
21117         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
21118         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21119         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21120         redirections for exp.
21121         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21122         * sysdeps/x86_64/fpu/Versions: New versions added.
21123         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21124         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21125         build of SSE, AVX2 and AVX512 IFUNC versions.
21126         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
21127         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
21128         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
21129         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
21130         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
21131         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
21132         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
21133         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
21134         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
21135         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
21136         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
21137         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
21138         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
21139         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21140         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21141         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21142         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21143         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21144         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21145         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21146         * NEWS: Mention addition of x86_64 vector exp.
21148         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21149         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21150         redirections for logf.
21151         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21152         * sysdeps/x86_64/fpu/Versions: New versions added.
21153         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21154         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21155         build of SSE, AVX2 and AVX512 IFUNC versions.
21156         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
21157         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
21158         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
21159         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
21160         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
21161         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
21162         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
21163         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
21164         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
21165         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
21166         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
21167         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
21168         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
21169         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21170         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21171         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21172         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21173         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21174         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21175         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21176         * NEWS: Mention addition of x86_64 vector logf.
21178         * bits/libm-simd-decl-stubs.h: Added stubs for log.
21179         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
21180         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21181         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
21182         redirections for log.
21183         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21184         * sysdeps/x86_64/fpu/Versions: New versions added.
21185         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21186         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21187         build of SSE, AVX2 and AVX512 IFUNC versions.
21188         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
21189         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
21190         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
21191         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
21192         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
21193         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
21194         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
21195         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
21196         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
21197         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
21198         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
21199         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
21200         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
21201         test.
21202         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21203         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21204         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21205         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21206         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21207         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21208         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21209         * NEWS: Mention addition of x86_64 vector log.
21211 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21213         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
21214         cfi_adjust_cfa_offset argument.
21215         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
21216         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
21218         [BZ #18034]
21219         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
21220         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
21221         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
21222         ordering using ldar.
21223         (_dl_tlsdesc_dynamic): Likewise.
21224         (_dl_tlsdesc_return_lazy): Likewise.
21225         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
21226         relaxed atomics instead of volatile and synchronize with release store.
21227         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
21228         volatile.
21229         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
21231 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
21233         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
21234         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
21235         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21236         * sysdeps/x86_64/fpu/Versions: New versions added.
21237         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21238         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
21239         build of SSE, AVX2 and AVX512 IFUNC versions.
21240         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
21241         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
21242         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
21243         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
21244         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
21245         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
21246         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
21247         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
21248         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
21249         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
21250         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
21251         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
21252         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
21253         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
21254         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
21255         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
21256         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
21257         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
21258         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
21259         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
21260         * NEWS: Mention addition of x86_64 vector sinf.
21262 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
21264         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
21265         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
21266         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
21267         Remove variable.
21268         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
21269         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
21271 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21273         [BZ #18530]
21274         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
21275         strong alias of _IO_fputs.  Use libc_hidden_def.
21276         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
21277         and define as weak alias of __fputs_unlocked.  Use
21278         libc_hidden_weak.
21279         * include/stdio.h (__fputs_unlocked): Declare.  Use
21280         libc_hidden_proto.
21281         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
21282         fputs_unlocked.
21284         [BZ #18529]
21285         * resolv/netdb.h [__USE_POSIX]: Change condition to
21286         [__USE_XOPEN2K].
21287         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
21288         not expect.
21289         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
21290         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
21291         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
21292         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
21293         [XPG4 || UNIX98] (AI_ALL): Likewise.
21294         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
21295         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
21296         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
21297         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
21298         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
21299         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
21300         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
21301         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
21302         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
21303         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
21304         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
21305         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
21306         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
21307         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
21308         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
21309         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21310         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
21311         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
21312         [XPG4 || UNIX98] (gai_strerror): Likewise.
21313         [XPG4 || UNIX98] (getaddrinfo): Likewise.
21314         [XPG4 || UNIX98] (getnameinfo): Likewise.
21316         [BZ #18528]
21317         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
21318         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
21319         __USE_XOPEN2K8].
21320         (getgrent): Likewise.
21321         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
21322         expect.
21323         [XPG3 || POSIX2008] (endgrent): Likewise.
21324         [XPG3] (setgrent): Likewise.
21325         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
21326         variable.
21327         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
21329         [BZ #18527]
21330         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
21331         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
21332         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
21333         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
21334         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
21335         * include/unistd.h (__getlogin_r): Declare.  Use
21336         libc_hidden_proto.
21337         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
21338         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
21339         variable.
21340         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
21341         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
21342         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
21344 2015-06-12  Martin Sebor  <msebor@redhat.com>
21346         [BZ #18512]
21347         * Makerules (check-install-supported): New target.
21348         (install): Add check-install-supported as a dependency.
21349         * manual/install.texi (Installing the C Library): Document
21350         that overriding prefix and exec_prefix is not supported.
21351         Mention DESTDIR.
21352         * INSTALL: Regenerate from the above.
21354 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
21356         [BZ #18519]
21357         * posix/Versions (libc): Export __libc_pread at version
21358         GLIBC_PRIVATE.
21359         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
21360         instead of pread.
21361         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
21362         variable.
21364         [BZ #18522]
21365         * misc/efgcvt_r.c
21366         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
21367         (cvt_symbol): Use weak_alias instead of strong_alias.
21368         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
21369         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
21370         Remove variable.
21371         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
21372         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
21374         [BZ #18520]
21375         * inet/herrno.c (h_errno): Rename to __h_errno.
21376         (__libc_h_errno): Define as alias of __h_errno not h_errno.
21377         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
21378         to __h_errno instead of h_errno.
21379         * nptl/herrno.c (h_errno): Rename to __h_errno.
21380         (__h_errno_location): Refer to __h_errno not h_errno.
21381         * resolv/Versions (h_errno): Rename to __h_errno.
21382         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
21383         Remove variable.
21384         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
21386 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
21388         * configure.ac: More strict check for AVX512 assembler support.
21389         * configure: Regenerated.
21391         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
21392         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
21393         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21394         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
21395         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21396         * sysdeps/x86_64/fpu/Versions: New versions added.
21397         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21398         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21399         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21400         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
21401         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
21402         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
21403         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
21404         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
21405         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
21406         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
21407         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
21408         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
21409         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
21410         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
21411         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
21412         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
21413         test.
21414         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
21415         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
21416         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
21417         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
21418         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
21419         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
21420         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
21421         * NEWS: Mention addition of x86_64 vector sin.
21423 2015-06-11  Florian Weimer  <fweimer@redhat.com>
21425         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
21426         comment.
21428 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
21430         [BZ #18479]
21431         * nptl/pt-interp.c: New file.
21432         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
21433         Add pt-interp.
21434         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
21435         $(common-objpfx)runtime-linker.h.
21437 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
21439         * Makeconfig (+interp): Remove unused variable.
21440         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
21441         only.  Depend on $(common-objpfx)runtime-linker.h instead of
21442         $(elf-objpfx)runtime-linker.h.
21443         ($(elf-objpfx)runtime-linker.h): Rename to
21444         $(common-objpfx)runtime-linker.h and move ...
21445         * Makerules [$(build-shared) = yes]: ... here.
21446         * elf/interp.c: Include <runtime-linker.h> instead of
21447         <elf/runtime-linker.h>.
21449 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21451         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
21452         (__gettimeofday_syscall): Remove vsyscall fallback.
21453         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
21454         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
21455         Add syscall fallback function.
21456         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
21457         if vDSO is not present.
21458         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
21459         fallback function.
21460         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
21461         present.
21462         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
21463         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
21465 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
21467         [BZ #18497]
21468         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
21469         of wcscmp.
21470         (wcscmp): Define as weak alias of WCSCMP.
21471         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
21472         wcscoll.
21473         (USE_HIDDEN_DEF): Define.
21474         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
21475         __wcscoll.  Don't use libc_hidden_weak.
21476         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
21477         wcscmp.
21478         * sysdeps/i386/i686/multiarch/wcscmp-c.c
21479         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
21480         __GI_wcscmp.
21481         (weak_alias): Undefine and redefine.
21482         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
21483         __wcscmp and define as weak alias of __wcscmp.
21484         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
21485         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
21486         (__wcscoll): Likewise.
21487         (wcscmp): Don't use libc_hidden_proto.
21488         (wcscoll): Likewise.
21489         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
21490         wcscoll.
21491         * posix/regexec.c (check_node_accept_bytes): Likewise.
21492         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
21493         variable.
21494         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
21495         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
21497         [BZ #18507]
21498         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
21499         __fstatvfs and define as weak alias of __fstatvfs.  Use
21500         libc_hidden_weak.
21501         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
21502         and define as weak alias of __statvfs.  Use libc_hidden_weak.
21503         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
21504         Define as alias of __fstatvfs, not fstatvfs.
21505         (fstatvfs64): Likewise.
21506         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
21507         Define as alias of __statvfs, not statvfs.
21508         (statvfs64): Likewise.
21509         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
21510         Remove variable.
21512 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21515         (HAVE_GETCPU_VSYSCALL): Define.
21516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21517         (HAVE_GETCPU_VSYSCALL): Likewise.
21518         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
21519         * sysdeps/unix/sysv/linux/sched_getcpu.c
21520         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
21521         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
21522         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
21523         prototype.
21524         * sysdeps/unix/sysv/linux/x86_64/init-first.c
21525         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
21526         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
21527         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
21528         Define.
21529         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
21530         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
21531         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
21532         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
21534 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
21536         * sysdeps/x86_64/fpu/Makefile: New file.
21537         * sysdeps/x86_64/fpu/Versions: New file.
21538         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
21539         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
21540         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
21541         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
21542         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
21543         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
21544         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
21545         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
21546         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
21547         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
21548         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
21549         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
21550         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
21551         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21552         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21553         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
21554         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
21555         * sysdeps/x86_64/configure.ac: Options for libmvec build.
21556         * sysdeps/x86_64/configure: Regenerated.
21557         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
21558         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
21559         * manual/install.texi (Configuring and compiling): Document
21560         --disable-mathvec.
21561         * INSTALL: Regenerated.
21562         * NEWS: Mention addition of libmvec and x86_64 vector cos.
21564         * math/Makefile: Added rules for vector tests.
21565         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
21566         declaration under condition.
21567         * math/test-double-vlen2.h: New file.
21568         * math/test-double-vlen4.h: New file.
21569         * math/test-double-vlen8.h: New file.
21570         * math/test-vec-loop.h: Added initialization macro.
21571         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
21572         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
21573         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
21574         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
21575         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
21576         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
21577         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
21578         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
21579         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
21580         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
21581         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
21583         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
21584         * sysdeps/x86_64/fpu/Versions: New versions added.
21585         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
21586         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
21587         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
21588         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
21589         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
21590         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
21591         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
21592         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
21593         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
21594         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
21595         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
21596         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
21597         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
21598         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
21599         Added build of SSE, AVX2 and AVX512 IFUNC versions.
21600         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
21601         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
21602         * NEWS: Mention addition of x86_64 vector cosf.
21604         * math/Makefile: Added CFLAGS for new tests.
21605         * math/test-float-vlen16.h: New file.
21606         * math/test-float-vlen4.h: New file.
21607         * math/test-float-vlen8.h: New file.
21608         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
21609         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
21610         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
21611         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
21612         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
21613         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
21614         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
21615         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
21616         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
21617         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
21618         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
21620 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
21622         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
21623         * locale/programs/ld-ctype.c: Likewise.
21625 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
21627         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
21628         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
21629         bit_ZMM16_31_state): New macro.
21630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21631         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
21633 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
21635         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
21637 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
21639         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
21641 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
21643         [BZ #18498]
21644         * libio/memstream.c (open_memstream): Rename to __open_memstream
21645         and define as weak alias of __open_memstream.
21646         * include/stdio.h (__open_memstream): Declare.  Use
21647         libc_hidden_proto.
21648         (open_memstream): Don't use libc_hidden_proto.
21649         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
21650         open_memstream.
21651         * posix/getopt.c (_getopt_internal_r): Likewise.
21652         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
21653         variable.
21654         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
21655         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
21656         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
21658         [BZ #18496]
21659         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
21660         instead of wcrtomb.
21662         [BZ #18483]
21663         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
21664         [__USE_XOPEN2K8].  Remove redundant #endif.
21665         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
21666         Remove redundant #if.
21667         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
21668         Remove variable.
21669         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
21670         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
21672         [BZ #18495]
21673         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
21674         (__iswlower): Likewise.
21675         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
21676         (__iswlower): Likewise.
21677         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
21678         instead of towlower.
21679         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
21680         instead of iswlower.  Call __towupper instead of towupper.
21681         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
21682         instead of iswalnum.
21684 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21686         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
21687         errors to stderr.
21689 2015-06-05  Florian Weimer  <fweimer@redhat.com>
21691         [BZ #15661]
21692         [BZ #17322]
21693         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21694         Check for overflow properly.  Check for O_APPEND.  Ignore large
21695         file system block sizes.  Add comments about problems.
21696         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
21697         * manual/filesys.texi (Storage Allocation): New node.
21699 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21701         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
21702         cancellable syscalls.
21703         (SYS_ify): Add guard to no redefine it.
21704         (INLINE_SYSCALL): Likewise.
21705         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
21706         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
21707         SYSCALL_CANCEL instead.
21708         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
21709         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
21710         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
21711         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
21712         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
21713         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
21714         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
21715         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
21716         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
21717         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
21718         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
21719         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
21720         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
21721         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
21722         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
21723         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
21724         Likewise.
21725         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
21726         (__libc_pread64): Likewise.
21727         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
21728         (__libc_preadv): Likewise.
21729         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
21730         (__libc_readv64): Likewise.
21731         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
21732         (__libc_pwrite): Likewise.
21733         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
21734         (__libc_pwrite64): Likewise.
21735         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
21736         (__libc_pwritev): Likewise.
21737         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
21738         (__libc_pwritev64): Likewise.
21739         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
21740         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
21741         (sync_file_range): Likewise.
21742         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
21743         Likewise.
21744         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
21745         Likewise.
21746         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
21747         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
21748         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
21749         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
21750         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
21751         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
21752         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
21753         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
21754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
21755         Likewise.
21756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
21757         (__libc_read64): Likewise.
21758         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
21759         Likewise.
21760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
21761         Likewise.
21762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
21763         Likewise.
21764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
21765         Likewise.
21766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
21767         (__libc_pread64): Likewise.
21768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
21769         Likewise.
21770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
21771         (__libc_pwrite64): Likewise.
21772         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
21773         (sync_file_range): Likewise.
21774         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
21775         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
21776         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
21777         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
21778         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
21779         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
21780         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
21781         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
21782         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
21783         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
21784         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21785         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
21786         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
21787         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
21788         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
21789         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
21790         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
21791         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
21792         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
21793         Likewise.
21794         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
21795         Likewise.
21796         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
21797         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
21798         Likewise.
21799         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
21800         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
21801         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
21802         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
21803         Likewise.
21804         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
21805         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
21806         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
21807         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
21808         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
21810 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
21812         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
21813         Include dl-vdso.
21814         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
21815         Use VDSO routines for gettimeofday, clock_gettime if
21816         available.
21817         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
21818         Declare VDSO symbols.
21819         * sysdeps/unix/sysv/linux/arm/sysdep.h:
21820         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
21821         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
21822         * sysdeps/unix/sysv/linux/arm/Versions: Add
21823         __vdso_clock_gettime.
21825 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21827         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
21828         be an inline implementation regardless of library is built within.
21829         (open_not_cancel_2): Likewise.
21830         (__read_nocancel): Likewise.
21831         (__write_nocancel): Likewise.
21832         (openat_not_cancel): Likewise.
21833         (openat_not_cancel_3): Likewise.
21834         (openat64_not_cancel): Likewise.
21835         (openat64_not_cancel_3): Likewise.
21836         (__close_nocancel): Likewise.
21837         (pause_not_cancel): Likewise.
21838         (nanosleep_not_cancel): Likewise.
21839         (sigsuspend_not_cancel): Likewise.
21841 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21843         [BZ #14958]
21844         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
21845         wake-up.
21846         (__pthread_rwlock_rdlock_slow): Likewise.
21847         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
21848         Likewise.
21849         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
21850         Likewise.
21851         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
21852         * nptl/tst-rwlock16.c: New file.
21853         * nptl/Makefile (tests): Add new test.
21855 2015-06-04  Torvald Riegel  <triegel@redhat.com>
21857         [BZ #18324]
21858         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
21859         missing wake-up of readers.
21860         * nptl/tst-rwlock15.c: New file.
21861         * nptl/Makefile (tests): Add new test.
21863 2015-06-03  Roland McGrath  <roland@hack.frob.com>
21865         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
21866         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
21867         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
21868         and __nacl_supply_interface_rtld.
21869         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
21870         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
21871         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
21872         Add __nacl_supply_interface_rtld.
21873         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
21875 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21877         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
21878         isfinite.
21879         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21880         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
21882 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
21884         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
21885         __signbit* with standard C99 macros.
21886         * math/e_exp10l.c: Likewise.
21887         * math/e_exp2l.c: Likewise.
21888         * math/e_scalb.c: Likewise.
21889         * math/e_scalbf.c: Likewise.
21890         * math/e_scalbl.c: Likewise.
21891         * math/s_ldexp.c: Likewise.
21892         * math/s_ldexpf.c: Likewise.
21893         * math/s_ldexpl.c: Likewise.
21894         * math/w_atan2.c: Likewise.
21895         * math/w_atan2f.c: Likewise.
21896         * math/w_atan2l.c: Likewise.
21897         * math/w_cosh.c: Likewise.
21898         * math/w_coshf.c: Likewise.
21899         * math/w_coshl.c: Likewise.
21900         * math/w_exp10.c: Likewise.
21901         * math/w_exp10f.c: Likewise.
21902         * math/w_exp10l.c: Likewise.
21903         * math/w_exp2.c: Likewise.
21904         * math/w_exp2f.c: Likewise.
21905         * math/w_exp2l.c: Likewise.
21906         * math/w_fmod.c: Likewise.
21907         * math/w_fmodf.c: Likewise.
21908         * math/w_fmodl.c: Likewise.
21909         * math/w_hypot.c: Likewise.
21910         * math/w_hypotf.c: Likewise.
21911         * math/w_hypotl.c: Likewise.
21912         * math/w_jnl.c: Likewise.
21913         * math/w_lgamma.c: Likewise.
21914         * math/w_lgamma_r.c: Likewise.
21915         * math/w_lgammaf.c: Likewise.
21916         * math/w_lgammaf_r.c: Likewise.
21917         * math/w_lgammal.c: Likewise.
21918         * math/w_lgammal_r.c: Likewise.
21919         * math/w_pow.c: Likewise.
21920         * math/w_powf.c: Likewise.
21921         * math/w_powl.c: Likewise.
21922         * math/w_remainder.c: Likewise.
21923         * math/w_remainderf.c: Likewise.
21924         * math/w_remainderl.c: Likewise.
21925         * math/w_scalb.c: Likewise.
21926         * math/w_scalbf.c: Likewise.
21927         * math/w_scalbl.c: Likewise.
21928         * math/w_scalbln.c: Likewise.
21929         * math/w_scalblnf.c: Likewise.
21930         * math/w_scalblnl.c: Likewise.
21931         * math/w_sinh.c: Likewise.
21932         * math/w_sinhf.c: Likewise.
21933         * math/w_sinhl.c: Likewise.
21934         * math/w_tgamma.c: Likewise.
21935         * math/w_tgammaf.c: Likewise.
21936         * math/w_tgammal.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21940         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21941         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21942         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21943         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
21944         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
21945         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
21946         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
21947         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
21948         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
21949         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
21950         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
21951         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
21952         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
21953         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
21954         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
21955         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
21956         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
21957         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
21958         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21960         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
21961         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
21962         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
21963         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
21964         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
21965         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
21966         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
21967         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
21968         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
21969         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
21970         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
21971         * stdio-common/printf_fp.c: Likewise.
21972         * stdio-common/printf_fphex.c: Likewise.
21973         * stdio-common/printf_size.c: Likewise.
21975 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #18470]
21978         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
21979         strnlen.
21980         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
21981         Remove variable.
21982         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
21983         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
21984         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
21985         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
21986         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
21987         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
21988         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
21989         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
21990         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
21991         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
21993         [BZ #18468]
21994         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
21995         weak alias of __wmemchr.  Use libc_hidden_weak.
21996         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
21997         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
21998         instead of wmemchr.
22000 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22002         [BZ #18383]
22003         * elf/tst-tlsalign-extern.c: New file.
22004         * elf/tst-tlsalign-extern-static.c: New file.
22005         * elf/tst-tlsalign-vars.c: New file.
22006         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
22007         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
22008         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
22009         ($(objpfx)tst-tlsalign-extern-static): Likewise.
22010         (test-xfail-tst-tlsalign-extern-static): New variable.
22012 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
22014         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
22015         Use variable name _sc_err instead of err.
22016         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
22017         instead of ret.
22018         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
22019         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
22020         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
22021         (INLINE_SYSCALL): Likewise.
22023         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
22024         * include/string.h (__strnlen): Use libc_hidden_proto.
22025         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
22026         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
22027         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
22028         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
22029         (libc_hidden_def): Undefine and redefine.
22030         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
22031         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
22032         __GI_strnlen.
22033         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
22034         libc_hidden_def.
22035         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
22037         [BZ #18469]
22038         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
22039         weak alias of __towlower.  Use libc_hidden_weak.
22040         (towupper): Rename to __towupper and define as weak alias of
22041         __towupper.  Use libc_hidden_weak.
22042         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
22043         (__towupper): Likewise.
22044         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
22045         __towlower instead of towlower.
22047 2015-06-02  Roland McGrath  <roland@hack.frob.com>
22049         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
22050         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
22052 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22054         * sysdeps/aarch64/libm-test-ulps: Update.
22056 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22058         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
22059         Define.
22060         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22061         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22062         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22063         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22064         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
22065         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
22066         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
22068 2015-06-01  Martin Sebor  <msebor@redhat.com>
22070         [BZ #18116]
22071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
22072         (__setcontext): Use extended four-operand version of mtsf whenever
22073         possible.
22074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
22075         (__novec_swapcontext): Likewise.
22077 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
22079         * benchtests/scripts/compare_bench.py: New file.
22080         * benchtests/scripts/import_bench.py (mean): New function.
22081         (split_list): Likewise.
22082         (do_for_all_timings): Likewise.
22083         (compress_timings): Likewise.
22085         * benchtests/scripts/import_bench.py: New file.
22086         * benchtests/scripts/validate_benchout.py: Import import_bench
22087         instead of jsonschema.
22088         (validate_bench): Remove function.
22089         (main): Use import_bench.
22091 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
22093         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
22094         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
22096 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22098         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22100 2015-05-28  Roland McGrath  <roland@hack.frob.com>
22102         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
22103         set THREAD_SELF->tid to a magic value and futex-wake it.
22104         Pass its address to the thread_exit system call.
22105         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
22106         bit is clear.
22107         * sysdeps/nacl/lowlevellock.h: New file.
22108         * sysdeps/nacl/lll_timedwait_tid.c: New file.
22110         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
22111         Add TIMEOUT to current time, don't subtract it.
22113 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
22115         [BZ #2981]
22116         [BZ #18422]
22117         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
22118         ($(objpfx)tst-audit2.out): Also depend on
22119         $(objpfx)tst-auditmod9b.so.
22120         * elf/tst-audit2.c: Include <dlfcn.h>.
22121         (calloc_called): New.
22122         (calloc): Allow to be called more than once.
22123         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
22125 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
22127         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
22128         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
22130 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
22132         * stdlib/monetary.h: Fix comment.
22134 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
22136         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
22137         Avoid using variables in #defines that might cause shadowing.
22138         (INTERNAL_VSYSCALL_CALL): Likewise.
22140 2015-05-26  Roland McGrath  <roland@hack.frob.com>
22142         * sysdeps/nacl/lll_timedlock_wait.c: New file.
22144         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
22145         * nptl/lll_timedlock_wait.c: ... to this new file.
22146         * nptl/Makefile (libpthread-routines): Add it.
22147         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
22148         * nptl/lll_timedwait_tid.c: ... to this new file.
22149         * nptl/Makefile (libpthread-routines): Add it.
22150         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
22151         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
22152         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
22153         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
22154         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
22155         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
22156         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
22157         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
22158         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
22159         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
22161 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22163         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
22164         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
22165         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
22166         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
22167         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
22168         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
22169         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22170         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
22171         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22172         * sysdeps/unix/sysv/linux/tile/sysdep.h
22173         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
22174         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
22175         using vDSO syscall macro.
22177 2015-05-26  Andriy Rysin  <arysin@gmail.com>
22179         [BZ #17293]
22180         * uk_UA: Fix sorting order for Ukrainian locale
22182 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
22184         * stdlib/monetary.h: Fix comment.
22186 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22188         [BZ #18234]
22189         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
22190         st_mtim and st_ctim members.
22191         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
22192         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
22193         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
22194         (struct stat64): Likewise.
22195         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
22196         (struct stat64): Likewise.
22197         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
22198         (struct stat64): Likewise.
22200 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22202         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
22203         Define and include sysdep-vdso.h.
22204         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
22205         Likewise.
22206         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
22207         Likewise.
22208         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
22209         Define with VDSO_SYMBOL and use PTR_MANGLE.
22210         (__vdso_clock_gettime): Likewise.
22211         (__vdso_clock_getres): Likewise.
22212         (_libc_vdso_platform_setup): Likewise.
22213         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
22214         Likewise.
22215         (_libc_vdso_platform_setup): Likewise.
22216         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
22217         Likewise.
22218         (__vdso_clock_gettime): Likewise.
22219         (__vdso_clock_getres): Likewise.
22220         (__vdso_get_tbfreq): Likewise.
22221         (__vdso_getcpu): Likewise.
22222         (__vdso_time): Likewise.
22223         (__vdso_sigtramp_rt64): Likewise.
22224         (__vdso_signtramp32): Likewise.
22225         (__vdso_sigtramp_rt32): Likewise.
22226         (_libc_vdso_platform_setup): Likewise.
22227         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
22228         Likewise.
22229         (__vdso_clock_gettime): Likewise.
22230         (__vdso_clock_getres): Likewise.
22231         (_libc_vdso_platform_setup): Likewise.
22232         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
22233         Likewise.
22234         (__vdso_clock_gettime): Likewise.
22235         (_libc_vdso_platform_setup): Likewise.
22236         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
22237         Likewise.
22238         (__vdso_getcpu): Likewise.
22239         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
22240         Use VDSO_SYMBOL macro to define.
22241         (__vdso_clock_gettime): Likewise.
22242         (__vdso_clock_getres): Likewise.
22243         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
22244         Likewise.
22245         (__vdso_clock_gettime): Likewise.
22246         (__vdso_clock_getres): Likewise.
22247         (__vdso_get_tbfreq): Likewise.
22248         (__vdso_getcpu): Likewise.
22249         (__vdso_time): Likewise.
22250         (__vdso_sigtramp_rt64): Likewise.
22251         (__vdso_signtramp32): Likewise.
22252         (__vdso_sigtramp_rt32): Likewise.
22253         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
22254         Likewise.
22255         (__vdso_clock_gettime): Likewise.
22256         (__vdso_clock_getres): Likewise.
22257         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
22258         Likewise.
22259         (__vdso_clock_gettime): Likewise.
22260         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
22261         Likewise.
22262         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
22263         macro.
22264         (INTERNAL_VSYSCALL): Likewise.
22265         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
22266         Remove macro.
22267         (INTERNAL_VSYSCALL): Likewise.
22268         (INTERNAL_VSYSCALL_NCS): Likewise.
22269         (INTERNAL_VSYSCALL_CALL): New macro.
22270         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22271         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
22272         Likewise.
22273         (INTERNAL_VSYSCALL): Likewise.
22274         (INTERNAL_VSYSCALL_NCS): Likewise.
22275         (INTERNAL_VSYSCALL_CALL): New macro.
22276         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
22278         (INLINE_VSYSCALL): Remove macro.
22279         (INTERNAL_VSYSCALL): Remove macro.
22280         (INTERNAL_VSYSCALL_NCS): Remove macro.
22281         (INTERNAL_VSYSCALL_CALL): New macro.
22282         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
22283         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
22284         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22285         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
22286         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
22287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
22288         (INLINE_VSYSCALL): Remove macro.
22289         (INTERNAL_VSYSCALL): Likewise.
22290         (INTERNAL_VSYSCALL_NCS): Likewise.
22291         (INTERNAL_VSYSCALL_CALL): New macro.
22292         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
22293         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
22294         PTR_DEMANGLE on vDSO pointer.
22295         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
22296         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
22297         macro.
22298         (INTERNAL_SYSCALL): Likewise.
22299         (INTERNAL_VSYSCALL_NCS): Remove macro.
22300         (INTERNAL_VSYSCALL_CALL): New macro.
22301         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
22302         Remove macro.
22303         (INTERNAL_VSYSCALL): Likewise.
22304         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
22305         sysdep-vdso.h instead of libc-vdso.h.
22306         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
22307         definition.
22308         (INLINE_VSYSCALL): Likewise.
22309         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
22310         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
22311         definition.
22312         (INLINE_VSYSCALL): Likewise.
22313         (INTERNAL_VSYSCALL): Likewise.
22314         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22315         * sysdeps/unix/sysv/linux/timespec_get.c
22316         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
22317         (timespec_get): Use ANSI prototype.
22318         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
22319         and definition for Linux.
22321 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
22323         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
22324         * include/libc-symbols.h: libmvec_hidden_* macro series added.
22326 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22328         [BZ #2981]
22329         [BZ #18410]
22330         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
22331         for missing DT_PLTRELSZ.
22333 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
22335         Remove obsolete aliases that broke 'locale -a'
22336         [BZ #18412]
22337         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
22338         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
22339         breaking some applications that use 'locale -a' output.
22340         Change the encoding of this file from Latin-1 to ASCII to avoid
22341         other potential problems with people grepping this file.
22343 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22345         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
22346         -fasynchronous-unwind-tables.
22347         (CFLAGS-sendto.c): Likewise.
22348         (CFLAGS-sendmsg.c): Likewise.
22349         (CFLAGS-connect.c): Likewise.
22350         (CFLAGS-recvmsg.c): Likewise.
22351         (CFLAGS-recvfrom.c): Likewise.
22352         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
22353         (SOCKETCALL): New macro: non-cancellable socketcall.
22354         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
22355         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
22356         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
22357         * sysdeps/unix/sysv/linux/accept.c: New file.
22358         * sysdeps/unix/sysv/linux/bind.c: Likewise.
22359         * sysdeps/unix/sysv/linux/connect.c: Likewise.
22360         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
22361         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
22362         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
22363         * sysdeps/unix/sysv/linux/listen.c: Likewise.
22364         * sysdeps/unix/sysv/linux/recv.c: Likewise.
22365         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
22366         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
22367         * sysdeps/unix/sysv/linux/send.c: Likewise.
22368         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
22369         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
22370         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
22371         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
22372         * sysdeps/unix/sysv/linux/socket.c: Likewise.
22373         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
22374         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
22375         prototype.
22376         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
22377         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22378         instead of __internal_xxx function.
22379         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
22380         prototype.
22381         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
22382         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22383         instead of __internal_xxx function.
22384         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
22385         prototype.
22386         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
22387         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
22388         instead of __internal_xxx function.
22389         * sysdeps/unix/sysv/linux/accept.S: Remove file.
22390         * sysdeps/unix/sysv/linux/bind.S: Likewise.
22391         * sysdeps/unix/sysv/linux/connect.S: Likewise.
22392         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
22393         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
22394         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
22395         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
22396         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
22397         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
22398         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
22399         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
22400         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
22401         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
22402         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
22403         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
22404         * sysdeps/unix/sysv/linux/listen.S: Likewise.
22405         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
22406         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
22407         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
22408         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
22409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
22410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
22411         * sysdeps/unix/sysv/linux/recv.S: Likewise.
22412         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
22413         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
22414         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
22415         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
22416         * sysdeps/unix/sysv/linux/send.S: Likewise.
22417         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
22418         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
22419         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
22420         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
22421         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
22422         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
22423         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
22424         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
22425         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
22426         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
22427         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
22428         socketcall is implemented in GLIBC.
22430 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22432         * soft-fp/fmadf4.c: Include <libc-internal.h>.
22433         (__fma): Ignore uninitialized warnings around packing.
22434         * soft-fp/fmasf4.c: Include <libc-internal.h>.
22435         (__fmaf): Ignore uninitialized warnings around packing.
22436         * soft-fp/fmatf4.c: Include <libc-internal.h>.
22437         (__fmal): Ignore uninitialized warnings around packing.
22439         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
22440         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22441         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
22442         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
22444         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
22445         switch statement into default case.
22446         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
22448         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
22449         a conditional in forcing "inexact".
22450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22451         Likewise.
22453 2015-05-22  Roland McGrath  <roland@hack.frob.com>
22455         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
22456         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
22457         for each INTERNAL_SYSCALL use.
22459 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
22461         [BZ #438]
22462         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
22463         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
22464         variable.
22466         [BZ #18444]
22467         * string/basename.c (basename): Rename to __basename and define as
22468         weak alias of __basename.  Use libc_hidden_weak.
22469         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
22470         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
22471         __basename instead of basename.
22472         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
22473         Remove variable.
22474         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
22476 2015-05-18  Florian Weimer  <fweimer@redhat.com>
22478         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
22479         (_IO_JUMPS_FILE_plus): New.
22480         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
22481         _IO_CAST_FIELD_ACCESS.
22482         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
22483         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
22484         * libio/freopen.c (freopen): Likewise.
22485         * libio/freopen64.c (freopen64): Likewise.
22486         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
22487         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
22488         * libio/iofwide.c (_IO_fwide): Likewise.
22489         * libio/memstream.c (open_memstream): Likewise.
22490         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
22491         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
22492         * libio/oldiopopen.c (_IO_old_popen): Likewise.
22494 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
22496         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
22497         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
22498         NADJ.
22499         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
22500         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
22501         NADJ.
22502         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
22503         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
22504         NADJ.
22506         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
22507         (p == 4) case.
22509         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
22510         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
22511         Remove variable.
22512         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
22513         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
22514         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
22516 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22518         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
22519         Adjust jump table label generation macros.
22521 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22523         * stdio-common/vfprintf.c (vfprintf): Move local variables
22524         args_malloced, specs, specs_malloced, and the code after
22525         do_positional to the printf_positional function.
22526         (printf_positional): New function.
22528 2015-05-21  Florian Weimer  <fweimer@redhat.com>
22530         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
22531         function.
22532         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
22533         STEP4_TABLE, process_arg): Move macro definitions
22534         out of the vfprintf function.  (Cosmetic change only.)
22536 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
22538         * benchtests/Makefile (stdio-common-bench): Define.
22539         (benchset): Add stdio-common-bench.
22540         * sprintf-inputs: New file.
22541         * sprintf-source.c: New file.
22543 2015-05-21  Andreas Schwab  <schwab@suse.de>
22545         [BZ #13028]
22546         [BZ #17053]
22547         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
22548         of struct __res_state.
22549         * resolv/res_send.c (__libc_res_nsend): Likewise.
22550         (get_nsaddr): New function.
22551         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
22552         statp directly.
22554 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
22556         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
22557         -D_POSIX_C_SOURCE=199506L.
22559         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
22561         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
22562         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
22563         Do not mention otherwise.
22564         [POSIX] (_XOPEN_VERSION): Do not expect.
22565         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
22566         [POSIX] (_POSIX2_C_BIND): Likewise.
22567         [POSIX] (_POSIX2_VERSION): Likewise.
22568         [POSIX] (_XOPEN_XPG2): Likewise.
22569         [POSIX] (_XOPEN_XPG3): Likewise.
22570         [POSIX] (_XOPEN_XPG4): Likewise.
22571         [POSIX] (_XOPEN_UNIX): Likewise.
22572         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
22573         [POSIX] (_POSIX_BARRIERS): Likewise.
22574         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
22575         [POSIX] (_POSIX_CPUTIME): Likewise.
22576         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
22577         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
22578         [POSIX] (_POSIX_SHELL): Likewise.
22579         [POSIX] (_POSIX_SPAWN): Likewise.
22580         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
22581         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
22582         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
22583         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
22584         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
22585         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
22586         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
22587         [POSIX] (_XBS5_LP64_OFF64): Likewise.
22588         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
22589         [POSIX] (_POSIX_TIMEOUTS): Likewise.
22590         [POSIX] (_POSIX2_PBS): Likewise.
22591         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
22592         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
22593         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
22594         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
22595         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
22596         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
22597         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
22598         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
22599         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
22600         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
22601         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
22602         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
22603         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
22604         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
22605         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
22606         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
22607         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
22608         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
22609         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
22610         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
22611         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
22612         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
22613         [POSIX] (_SC_2_C_BIND): Likewise.
22614         [POSIX] (_SC_2_C_VERSION): Likewise.
22615         [POSIX] (_SC_2_PBS): Likewise.
22616         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
22617         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
22618         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
22619         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
22620         [POSIX] (_SC_2_PBS_TRACK): Likewise.
22621         [POSIX] (_SC_ATEXIT_MAX): Likewise.
22622         [POSIX] (_SC_BARRIERS): Likewise.
22623         [POSIX] (_SC_BASE): Likewise.
22624         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
22625         [POSIX] (_SC_DEVICE_IO): Likewise.
22626         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
22627         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
22628         [POSIX] (_SC_FD_MGMT): Likewise.
22629         [POSIX] (_SC_FIFO): Likewise.
22630         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
22631         [POSIX] (_SC_FILE_LOCKING): Likewise.
22632         [POSIX] (_SC_FILE_SYSTEM): Likewise.
22633         [POSIX] (_SC_IOV_MAX): Likewise.
22634         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
22635         [POSIX] (_SC_NETWORKING): Likewise.
22636         [POSIX] (_SC_PAGE_SIZE): Likewise.
22637         [POSIX] (_SC_PASS_MAX): Likewise.
22638         [POSIX] (_SC_PIPE): Likewise.
22639         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
22640         [POSIX] (_SC_REGEXP): Likewise.
22641         [POSIX] (_SC_SHELL): Likewise.
22642         [POSIX] (_SC_SIGNALS): Likewise.
22643         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
22644         [POSIX] (_SC_SPIN_LOCKS): Likewise.
22645         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
22646         [POSIX] (_SC_USER_GROUPS): Likewise.
22647         [POSIX] (_SC_USER_GROUPS_R): Likewise.
22648         [POSIX] (_SC_STREAMS): Likewise.
22649         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
22650         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
22651         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
22652         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
22653         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
22654         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
22655         [POSIX] (_PC_FILESIZEBITS): Likewise.
22656         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
22657         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
22658         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
22659         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
22660         [POSIX] (uid_t): Likewise.
22661         [POSIX] (gid_t): Likewise.
22662         [POSIX] (off_t): Likewise.
22663         [POSIX] (pid_t): Likewise.
22664         [POSIX] (cuserid): Allow.
22665         (_SC_2_CHAR_TERM): Require constant.
22666         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
22667         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
22668         variable.
22670 2015-05-20  Roland McGrath  <roland@hack.frob.com>
22672         * sysdeps/nacl/pthread-pids.h: New file.
22673         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
22674         (create_thread): Use __nacl_get_tid to initialize PD->tid.
22676         * nptl/pthread-pids.h: New file.
22677         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
22678         * nptl/nptl-init.c: Include <pthread-pids.h>.
22679         (__pthread_initialize_minimal_internal):
22680         Call __pthread_initialize_pids instead of set_tid_address syscall.
22682         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
22683         * sysdeps/posix/usleep.c: ... here.
22685 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22687         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
22688         call_pselect6 object.
22689         [$(subdir) = io]: Remove call_sync_file_range object.
22690         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
22691         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
22692         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
22693         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
22695 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
22697         * math/s_cproj.c: Add include "math_private.h".
22698         * math/s_cprojf.c: Likewise.
22699         * math/s_cprojl.c: Likewise.
22701 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
22703         [BZ #18244]
22704         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
22705         high mantissa bit when testing whether P is a NaN.
22706         * math/libm-test.inc (remainder_test_data): Add more tests.
22707         (remquo_test_data): Likewise.
22709         [BZ #18049]
22710         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
22711         below -32, return the argument, with underflow if subnormal.
22712         * math/auto-libm-test-in: Add more tests of atanh.
22713         * math/auto-libm-test-out: Regenerated.
22715 2015-05-19  Roland McGrath  <roland@hack.frob.com>
22717         [BZ #18434]
22718         * nptl/tst-sem15.c: New file.
22719         * nptl/Makefile (tests): Add it.
22720         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
22721         s/<</>>/ to fix typo in EOVERFLOW check.
22722         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
22724 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22726         * manual/strings.texi (envz_remove): Fix typo in safety
22727         annotations.
22729 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
22730             Steve Ellcey  <sellcey@imgtec.com>
22732         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
22733         in order to avoid strict alias warnings.
22734         (iruserok_af): Ditto for ra.
22736 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
22738         [BZ #17581]
22739         * malloc/hooks.c
22740         (magicbyte): Convert to a function and avoid returning 0x01.
22741         (mem2mem_check): Avoid using a length byte equal to the magic byte.
22742         (mem2chunk_check): Fix unsigned comparisons to zero.
22743         Hoist defs of sz and magic.
22745 2015-05-19  Richard Henderson  <rth@redhat.com>
22747         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
22749         * sysdeps/alpha/fpu/libm-test-ulps: Update.
22751 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22753         [BZ #16159]
22754         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
22755         * malloc/arena.c (arena_lock): Check if arena is corrupt.
22756         (reused_arena): Find a non-corrupt arena.
22757         (heap_trim): Pass arena to unlink.
22758         * malloc/hooks.c (malloc_check_get_size): Pass arena to
22759         malloc_printerr.
22760         (top_check): Likewise.
22761         (free_check): Likewise.
22762         (realloc_check): Likewise.
22763         * malloc/malloc.c (malloc_printerr): Add arena argument.
22764         (unlink): Likewise.
22765         (munmap_chunk): Adjust.
22766         (ARENA_CORRUPTION_BIT): New macro.
22767         (arena_is_corrupt): Likewise.
22768         (set_arena_corrupt): Likewise.
22769         (sysmalloc): Use mmap if there are no usable arenas.
22770         (_int_malloc): Likewise.
22771         (__libc_malloc): Don't fail if arena_get returns NULL.
22772         (_mid_memalign): Likewise.
22773         (__libc_calloc): Likewise.
22774         (__libc_realloc): Adjust for additional argument to
22775         malloc_printerr.
22776         (_int_free): Likewise.
22777         (malloc_consolidate): Likewise.
22778         (_int_realloc): Likewise.
22779         (_int_memalign): Don't touch corrupt arenas.
22780         * malloc/tst-malloc-backtrace.c: New test case.
22782         * Makefile (summarize-tests): Fix return value on success.
22784         * manual/string.texi (Envz Functions): Add envz_remove.
22786 2015-05-18  Roland McGrath  <roland@hack.frob.com>
22788         * sysdeps/posix/opendir.c: Include <stdbool.h>.
22789         (invalid_name): New function, broken out of ...
22790         (__opendirat): ... here.  Call it.
22791         (need_isdir_precheck): New function, broken out of ...
22792         (__opendirat): ... here.  Call it.
22793         Use __fxstatat64, not __xstatat64.
22794         (opendir_oflags): New function, broken out of ...
22795         (__opendirat): ... here.  Call it.
22796         (opendir_tail): New function, broken out of ...
22797         (__opendirat): ... here.  Call it.
22798         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
22799         opendir_tail, rather than punting to __opendirat.
22800         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
22802 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22804         * .gitignore: Ignore generated *.pyc.
22806 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
22808         * include/stdio.h: Define __need_wint_t.
22809         * test-skeleton.c: Avoid `for' loop initial declaration.
22810         * nptl/tst-initializers1.c: Use test-skeleton.c.
22812 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22814         [BZ #18418]
22815         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
22817 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22819         [BZ #16352]
22820         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
22821         (__ieee754_atanh): Force underflow exception for results with
22822         small absolute value.
22823         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
22824         (__ieee754_atanhf): Force underflow exception for results with
22825         small absolute value.
22826         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
22827         (__ieee754_atanh): Force underflow exception for results with
22828         small absolute value.
22829         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
22830         (__ieee754_atanhf): Force underflow exception for results with
22831         small absolute value.
22832         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
22833         (__ieee754_atanhl): Force underflow exception for results with
22834         small absolute value.
22835         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
22836         (__ieee754_atanhl): Force underflow exception for results with
22837         small absolute value.
22838         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
22839         (__ieee754_atanhl): Force underflow exception for results with
22840         small absolute value.
22841         * math/auto-libm-test-in: Do not allow missing underflow
22842         exceptions from atanh.
22843         * math/auto-libm-test-out: Regenerated.
22845         [BZ #18221]
22846         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
22847         2**-28 as threshold for returning x or +/- 1/x.
22848         * math/auto-libm-test-in: Add more tests of tan.
22849         * math/auto-libm-test-out: Regenerated.
22851         [BZ #18220]
22852         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22853         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
22854         * math/auto-libm-test-in: Add another test of lgamma.
22855         * math/auto-libm-test-out: Regenerated.
22857 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
22859         * stdio-common/printf_fp.c (___printf_fp): Use abs.
22860         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
22861         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
22862         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
22863         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
22864         (ADD2A): Use fabs.  (SUB2A): Use fabs.
22865         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
22866         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
22867         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
22868         (log1): Use fabs.  (my_log2): Use fabs.
22869         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
22870         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
22871         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
22872         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
22873         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
22874         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
22875         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
22876         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
22877         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
22878         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
22879         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
22881 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #18217]
22884         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
22885         as threshold for returning 1 - x.
22886         * math/auto-libm-test-in: Add more tests of erfc.
22887         * math/auto-libm-test-out: Regenerated.
22889 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
22891         [BZ #18196]
22892         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
22893         threshold for large arguments.
22894         * math/auto-libm-test-in: Add another test of atan.
22895         * math/auto-libm-test-out: Regenerated.
22897         [BZ #16339]
22898         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
22899         (__log1p): Force underflow exception for results with small
22900         absolute value.
22901         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
22902         (__log1pf): Force underflow exception for results with small
22903         absolute value.
22904         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
22905         (__log1p): Force underflow exception for results with small
22906         absolute value.
22907         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
22908         (__log1pf): Force underflow exception for results with small
22909         absolute value.
22910         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
22911         (__log1pl): Force underflow exception for results with small
22912         absolute value.
22913         * math/auto-libm-test-in: Do not allow missing underflow
22914         exceptions from log1p.
22915         * math/auto-libm-test-out: Regenerated.
22917 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
22918             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22920         [BZ #16704]
22921         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
22923 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
22925         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
22926         (libmvec): New variable.
22927         * configure.ac: Added option for mathvec build.
22928         * configure: Regenerated.
22929         * mathvec/Depend: New file.
22930         * mathvec/Makefile: New file.
22931         * shlib-versions: Added libmvec.
22932         * math/Makefile: Added rule for libm.so installation.
22934         * bits/math-vector.h: New file.
22935         * bits/libm-simd-decl-stubs.h: New header.
22936         * math/Makefile (headers): Added new header
22937         libm-simd-decl-stubs.h.
22938         * math/math.h (__MATHCALL_VEC): New macro.
22940         * math/gen-libm-have-vector-test.sh: Script generates series of macros
22941         for conditions in testing functions.
22942         * math/Makefile: Added call of libm-have-vector-test.sh.
22943         * math/libm-test.inc (HAVE_VECTOR): New macros.
22945         * math/libm-test.inc: START refactored.
22946         * math/test-double.c (TEST_MATHVEC): Add define.
22947         * math/test-float.c: Likewise.
22948         * math/test-idouble.c: Likewise.
22949         * math/test-ifloat.c: Likewise.
22950         * math/test-ildoubl.c: Likewise.
22951         * math/test-ldouble.c: Likewise.
22952         * sysdeps/generic/math-tests-arch.h
22953         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
22954         architecture check.
22956         * math/test-double.c (FUNC_TEST): New macro.
22957         * math/test-float.c: Likewise.
22958         * math/test-idouble.c: Likewise.
22959         * math/test-ifloat.c: Likewise.
22960         * math/test-ildoubl.c: Likewise.
22961         * math/test-ldouble.c: Likewise.
22962         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
22964 2015-05-13  Roland McGrath  <roland@hack.frob.com>
22966         * sysdeps/nacl/fdopendir.c: New file.
22968         * dirent/scandir-tail.c: New file.
22969         * dirent/scandir64-tail.c: New file.
22970         * dirent/Makefile (routines): Add them.
22971         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
22972         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
22973         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
22974         [!SCANDIR] (SCANDIR_TAIL): New macro.
22975         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
22976         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
22977         (SCANDIRAT): Macro removed.
22978         (SCANDIR_TAIL): New macro.
22979         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
22980         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
22981         (SCANDIRAT): Just call __opendirat and __scandir_tail.
22982         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
22983         (READDIR): Macro removed.
22984         (SCANDIR_TAIL): New macro.
22985         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
22986         (SCANDIR_TAIL): New macro.
22988         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
22989         * dirent/scandir-cancel.c: ... to this new file.
22990         * dirent/Makefile (routines): Add it.
22991         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
22992         * sysdeps/unix/sysv/linux/i386/scandir64.c
22993         (SKIP_SCANDIR_CANCEL): Macro removed.
22994         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
22996         * dirent/tst-scandir.c: New file.
22997         * dirent/tst-scandir64.c: New file.
22998         * dirent/Makefile (tests): Add them.
23000 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
23002         [BZ #18409]
23003         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
23005 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23007         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
23008         list.
23010 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
23012         * benchtests/bench-strcoll.c: New benchmark.
23013         * benchtests/Makefile: Generate locales and run benchmark.
23014         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
23015         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
23016         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
23017         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
23018         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
23019         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
23020         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
23021         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
23022         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
23023         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
23024         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
23025         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
23026         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
23027         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
23028         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
23029         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
23030         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
23031         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
23032         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
23033         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
23034         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
23035         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
23036         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
23037         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
23039 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
23041         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
23042         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23044 2015-05-12  Roland McGrath  <roland@hack.frob.com>
23046         * posix/uname-values.h: New file.
23047         * posix/uname.c: Include that instead of <config-name.h>.
23048         * sysdeps/nacl/uname-values.h: New file.
23049         * sysdeps/arm/nacl/uname-values.h: New file.
23051 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
23053         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
23054         splitting into fields.
23056 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
23058         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
23059         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
23060         * locale/localeinfo.h: Add enum collation_encoding_type.
23061         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
23062         * programs/ld-collate.c (collate_output): Add encoding type info.
23063         * string/strcoll_l.c (STRDIFF): New function.
23064         * (STRCOLL): Use STRDIFF to skip over equal prefix.
23065         * wcsmbs/wcscoll_l.c: Define STRDIFF.
23067 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
23069         [BZ #18397]
23070         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
23071         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
23072         <fpu_control.h> instead of <math/fpu_control.c>.
23073         * sysdeps/mips/mips32/fpu/Makefile: New file.
23075 2015-05-11  Andreas Schwab  <schwab@suse.de>
23077         [BZ #18007]
23078         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
23079         nss_endgrent.
23080         (_nss_compat_endgrent): Call nss_endgrent.
23081         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
23082         nss_endpwent.
23083         (_nss_compat_endpwent): Call nss_endpwent.
23084         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
23085         needent, call nss_setspent only if non-zero.
23086         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
23087         (internal_endspent): Don't call nss_endspent.
23088         (_nss_compat_endspent): Call nss_endspent.
23089         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
23090         Remove.  All uses removed.
23091         (internal_setent): Remove parameter stayopen, add parameter
23092         stream.  Use it instead of global variable.
23093         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
23094         (internal_endent, internal_getent): Add parameter stream.  Use it
23095         instead of global variable.
23096         (CONCAT(_nss_files_end,ENTNAME))
23097         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
23098         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
23099         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
23100         uses removed.
23101         (internal_setent, internal_endent): Add parameter stream.  Use it
23102         instead of global variable.
23103         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
23104         stream.
23105         (get_next_alias): Add parameter stream.
23106         (_nss_files_getaliasent_r): Pass global stream.
23107         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
23108         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
23109         (_nss_files_gethostbyname4_r): Pass local stream to
23110         internal_setent, internal_getent and internal_endent.  Remove
23111         locking.
23113 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
23115         * tst-strfmon1.c (tests): Update expected currency symbol.
23117 2015-05-08  Roland McGrath  <roland@hack.frob.com>
23119         * sysdeps/nacl/gethostname.c: New file.
23121 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
23123         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
23124         and sinh.
23125         * math/auto-libm-test-out: Regenerated.
23126         * sysdeps/i386/fpu/libm-test-ulps: Update.
23127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23129 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
23131         [BZ #18125]
23132         * stdlib/tst-setcontext3.c: New file.
23133         * stdlib/tst-setcontext3.sh: New file.
23134         * stdlib/Makefile (tests): Add tst-setcontext3.
23135         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
23136         to verify test program created output file.
23137         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
23138         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
23139         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
23140         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
23142 2015-05-06  Roland McGrath  <roland@hack.frob.com>
23144         [BZ #18383]
23145         * elf/tst-tlsalign.c: New file.
23146         * elf/tst-tlsalign-static.c: New file.
23147         * elf/tst-tlsalign-lib.c: New file.
23148         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
23149         (tests-static): Add tst-tlsalign-static.
23150         (modules-names): Add tst-tlsalign-lib.
23151         (test-xfail-tst-tlsalign): New variable.
23152         (test-xfail-tst-tlsalign-static): New variable.
23154         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
23155         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
23157 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
23159         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
23160         csqrt, erfc, sin and sincos.
23161         * math/auto-libm-test-out: Regenerated.
23162         * sysdeps/i386/fpu/libm-test-ulps: Update.
23163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23165 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23167         * sysdeps/aarch64/libm-test-ulps: Update.
23169 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
23171         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
23172         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
23173         * math/auto-libm-test-out: Regenerated.
23174         * sysdeps/i386/fpu/libm-test-ulps: Update.
23175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23177 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
23179         [BZ #18265]
23180         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
23181         (wcsncpy): Likewise.
23183 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23185         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
23186         Assume __ASSUME_FALLOCATE is always true.
23187         * sysdeps/unix/sysv/linux/posix_fallocate64.c
23188         (__posix_fallocate64_l64): Likweise.
23189         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
23190         (posix_fallocate): Likewise.
23191         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
23192         (__posix_fallocate64_l64): Likewise.
23193         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
23194         [!__ASSUME_FALLOCATE]: Add comment.
23196 2015-05-05  Florian Weimer  <fweimer@redhat.com>
23198         * sysdeps/unix/sysv/linux/i386/Makefile
23199         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
23200         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
23201         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
23202         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
23203         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
23204         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
23205         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
23207 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
23209         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
23210         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
23211         tgamma.
23212         * math/auto-libm-test-out: Regenerated.
23213         * sysdeps/i386/fpu/libm-test-ulps: Update.
23214         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23216 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23218         * math/auto-libm-test-in: Add more tests of tgamma.
23219         * math/auto-libm-test-out: Regenerated.
23220         * sysdeps/i386/fpu/libm-test-ulps: Update.
23221         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23223         * math/auto-libm-test-in: Add more tests of tanh.
23224         * math/auto-libm-test-out: Regenerated.
23225         * sysdeps/i386/fpu/libm-test-ulps: Update.
23226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23228         * math/auto-libm-test-in: Add more tests of tan.
23229         * math/auto-libm-test-out: Regenerated.
23230         * sysdeps/i386/fpu/libm-test-ulps: Update.
23231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23233         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
23234         * math/auto-libm-test-out: Regenerated.
23235         * sysdeps/i386/fpu/libm-test-ulps: Update.
23236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23238         * math/auto-libm-test-in: Add another test of pow.
23239         * math/auto-libm-test-out: Regenerated.
23240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23242         * math/auto-libm-test-in: Add more tests of lgamma.
23243         * math/auto-libm-test-out: Regenerated.
23244         * sysdeps/i386/fpu/libm-test-ulps: Update.
23245         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23247         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
23248         log1p.
23249         * math/auto-libm-test-out: Regenerated.
23250         * sysdeps/i386/fpu/libm-test-ulps: Update.
23251         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23253 2015-05-01  Mark Wielaard  <mjw@redhat.com>
23255         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
23256         Elf64_Chdr structs and ELFCOMPRESS constants.
23258 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
23260         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
23261         expm1.
23262         * math/auto-libm-test-out: Regenerated.
23263         * sysdeps/i386/fpu/libm-test-ulps: Update.
23264         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23266         * math/auto-libm-test-in: Add more tests of erf and erfc.
23267         * math/auto-libm-test-out: Regenerated.
23268         * sysdeps/i386/fpu/libm-test-ulps: Update.
23269         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23271 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
23273         * config.h.in (HAVE_AARCH64_BE): Add.
23275 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
23277         * math/auto-libm-test-in: Add more tests of csqrt.
23278         * math/auto-libm-test-out: Regenerated.
23279         * sysdeps/i386/fpu/libm-test-ulps: Update.
23280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23282         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23283         * math/auto-libm-test-out: Regenerated.
23284         * sysdeps/i386/fpu/libm-test-ulps: Update.
23285         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23287         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
23289 2015-04-29  Roland McGrath  <roland@hack.frob.com>
23291         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
23292         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
23294         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
23295         (euidaccess, eaccess): Define as weak aliases.
23297         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
23298         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
23299         but __suseconds_t is often 'long int' so some sources assume that
23300         type is being used (e.g. they use %ld to print tv_usec).
23302 2015-04-29  Florian Weimer  <fweimer@redhat.com>
23304         [BZ #18007]
23305         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
23306         (CVE-2014-8121)
23307         * nss/tst-nss-getpwent.c: New file.
23308         * nss/Makefile (tests): Add new test.
23310 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
23312         [BZ #18346]
23313         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
23314         exponents less than 48 as cases where high part of mantissa needs
23315         examining to determine whether argument is integral.
23316         * math/libm-test.inc (round_test_data): Add more tests.
23318 2015-04-28  Mark Wielaard  <mjw@redhat.com>
23320         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
23322 2015-04-27  David S. Miller  <davem@davemloft.net>
23324         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
23325         __tls_get_addr.
23326         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
23328 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
23330         [BZ#18333]
23331         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
23333 2015-04-27  Florian Weimer  <fweimer@redhat.com>
23335         [BZ#18333]
23336         * time/tzset.c (parse_tzname): Return error on memory allocation
23337         failure.
23338         * test-skeleton.c (struct temp_name_list): Change type of name
23339         member to non-const.
23340         (add_temp_file): Create a copy of the file name.
23341         (delete_temp_files): Deallocate memory.
23342         (create_temp_file): Add comment.
23344 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23346         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
23347         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
23349 2015-04-24  Roland McGrath  <roland@hack.frob.com>
23351         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
23352         * sysdeps/arm/configure: Regenerated.
23354 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23356         [BZ #17715]
23357         * time/tzfile.c (__tzfile_read): Check for large values of
23358         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
23359         * time/tzset.c (__tzstring_len): New function, based on the old
23360         __tzstring function.
23361         (__tzstring): Call __tzstring_len.
23362         (parse_tzname): New helper function extracted from
23363         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
23364         the input string.
23365         (parse_offset): New helper function extracted from
23366         __tzset_parse_tz.  Replace switch with fallthrough with
23367         initialization before sscanf.
23368         (parse_rule): Likewise.
23369         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
23370         new-style function definition.
23371         * timezone/Makefile (tests): Add tst-tzset.
23372         (tst-tzset.out): Dependencies on time zone files.
23373         (tst-tzset-ENV): Set TZDIR.
23374         (testdata/XT%): Copy crafted time zone files.
23375         * timezone/README: Mention crafted time zone files.
23376         * timezone/testdata/XT1, timezone/testdata/XT2,
23377         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
23378         files.
23379         * timezone/tst-tzset.c: New test.
23381 2015-04-24  Florian Weimer  <fweimer@redhat.com>
23383         * Makeconfig (+gccwarn): Remove -Winline.
23385 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23387         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
23389 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
23391         * NEWS: Mention sysconf() cache information support for s390.
23392         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
23394 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
23396         * math/k_casinh.c (__kernel_casinh): Use __copysign.
23397         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
23398         (__nearbyint): Likewise.
23399         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
23400         (copysignl): Likewise.
23402 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
23404         [BZ #18287]
23405         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
23406         based on padding.  (CVE-2015-1781)
23408 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23410         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
23411         libc-vdso.h.
23412         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
23413         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
23414         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
23415         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
23416         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
23417         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
23418         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
23419         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
23420         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
23421         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
23422         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
23423         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
23424         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
23425         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
23426         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
23427         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
23428         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
23429         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
23430         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
23431         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
23432         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
23433         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
23434         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
23436 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
23438         * stdlib/setenv.c (__add_to_environ):
23439         Dump core quickly if setenv (..., NULL, ...) is called.
23440         This time, do it the right way, and pacify GCC with a pragma.
23442 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23444         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
23445         IMAP->l_prev cannot be null, and #if out the code for the contrary
23446         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
23447         believe that NS (&_dl_ns[NSID]) could point outside the array.
23449         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
23450         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
23451         before using NSID as an index.
23453 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
23455         [BZ #17825]
23456         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
23457         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
23458         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
23460 2015-04-17  Roland McGrath  <roland@hack.frob.com>
23462         Add preliminary port to Google Native Client on ARM.
23463         * abi-tags (.*-.*-nacl.*): New entry.
23464         * sysdeps/arm/nacl: New directory.
23465         * sysdeps/nacl: New directory.
23467 2015-04-16  David S. Miller  <davem@davemloft.net>
23469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
23470         lowlevellock-futex.h
23472 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
23474         * sysdeps/tile/configure.ac: New file.
23475         * sysdeps/tile/configure: Regenerated.
23477 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23479         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
23480         conditionals for weak_alias and libc_hidden_weak.
23481         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
23482         libc_hidden_weak and weak_alias.
23483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
23484         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
23485         and weak_alias for static one.
23487 2015-04-15  David S. Miller  <davem@davemloft.net>
23489         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
23491 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23493         [BZ #18206]
23494         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
23495           Use signed comparision instead of substraction to avoid
23496           overflow bug.
23497         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
23498           Take the sign of ret.
23499         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
23500           Do not expect precise return values. Only the sign matters.
23501         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
23502         * wcsmbs/test-wcsncmp.c: New File.
23503         * string/test-strncmp.c: Add wcsncmp support.
23505 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
23507         [BZ #6792]
23508         * math/w_log1p.c: New file.
23509         * math/w_log1pf.c: Likewise.
23510         * math/w_log1pl.c: Likewise.
23511         * math/Makefile (libm-calls): Add w_log1p.
23512         * math/s_log1pl.c (log1pl): Remove weak_alias.
23513         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
23514         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
23515         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
23516         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
23517         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
23518         [NO_LONG_DOUBLE] (log1pl): Likewise.
23519         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
23520         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
23521         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
23522         (log1p): Remove long_double_symbol.
23523         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
23524         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
23525         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
23526         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
23527         remove weak_alias for corresponding log1p function.
23528         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
23529         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
23530         * sysdeps/ia64/fpu/w_log1p.c: New file.
23531         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
23532         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
23533         * math/libm-test.inc (log1p_test_data): Add errno expectations.
23535 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
23537         [BZ #18247]
23538         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
23539         decimal exponent by 1.
23540         * stdlib/tst-strtod-round-data: Add more tests.
23541         * stdlib/tst-strtod-round.c (tests): Regenerated.
23543 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
23545         * math/auto-libm-test-in: Add more tests of clog and clog10.
23546         * math/auto-libm-test-out: Regenerated.
23547         * sysdeps/i386/fpu/libm-test-ulps: Update.
23548         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23550 2015-04-09  Roland McGrath  <roland@hack.frob.com>
23552         * Makeconfig (module-cppflags): Exclude all .v.i files.
23553         (skip-module-cppflags): Variable removed.
23555         * configure.ac (libc_config_ok): Initialize before reading
23556         preconfigure scripts, not after.
23557         * configure: Regenerated.
23559         * test-skeleton.c (TIMEOUT): Move #define to top level.
23560         (main): Grok environment variable TEST_DIRECT.  If set, print
23561         test expectation details into that file and then behave as if
23562         given --direct.
23564 2015-04-09  Florian Weimer  <fweimer@redhat.com>
23566         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
23567         warning on 32-bit.
23569 2015-04-08  David S. Miller  <davem@davemloft.net>
23571         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23573 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23575         * math/auto-libm-test-in: Add more tests of atanh.
23576         * math/auto-libm-test-out: Regenerated.
23577         * sysdeps/i386/fpu/libm-test-ulps: Update.
23578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23580         * math/auto-libm-test-in: Add more tests of atan.
23581         * math/auto-libm-test-out: Regenerated.
23582         * sysdeps/i386/fpu/libm-test-ulps: Update.
23583         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23585 2015-04-08  Florian Weimer  <fweimer@redhat.com>
23587         * elf/pldd.c (main): Rewrite to use struct
23588         scratch_buffer instead of extend_alloca.
23589         * elf/pldd-xx.c (find_maps): Likewise.
23590         * grp/initgroups.c: Include <scratch_buffer.h> instead of
23591         <alloca.h>.
23592         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
23593         scratch_buffer instead of extend_alloca.
23594         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
23595         grp/compat-initgroups.c.
23596         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
23597         Rewrite to use struct scratch_buffer instead of extend_alloca.
23598         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
23599         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
23601 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
23603         * math/auto-libm-test-in: Add more tests of cbrt.
23604         * math/auto-libm-test-out: Regenerated.
23605         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23607         * math/auto-libm-test-in: Add more tests of cabs.
23608         * math/auto-libm-test-out: Regenerated.
23609         * sysdeps/i386/fpu/libm-test-ulps: Update.
23610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23612         [BZ #18210]
23613         [BZ #18211]
23614         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
23615         (__ieee754_atan2): Set FE_TONEAREST mode for internal
23616         computations.
23617         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
23618         clog10.
23619         * math/auto-libm-test-out: Regenerated.
23620         * sysdeps/i386/fpu/libm-test-ulps: Update.
23621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23623         [BZ #18197]
23624         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
23625         (atan): Set FE_TONEAREST mode for internal computations.
23626         * math/auto-libm-test-in: Add more tests of atan.
23627         * math/auto-libm-test-out: Regenerated.
23629 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
23631         [BZ #17930]
23632         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
23634 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23636         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
23638 2015-04-07  Florian Weimer  <fweimer@redhat.com>
23640         * include/scratch_buffer.h: New file.
23641         * malloc/scratch_buffer_grow.c: Likewise.
23642         * malloc/scratch_buffer_grow_preserve.c: Likewise.
23643         * malloc/scratch_buffer_set_array_size.c: Likewise.
23644         * malloc/tst-scratch_buffer.c: Likewise.
23645         * malloc/Makefile (routines): Add scratch_buffer_grow.
23646         (tests): Add test case.
23647         * malloc/Versions (GLIBC_PRIVATE): Export
23648         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
23649         __libc_scratch_buffer_set_array_size.
23651 2015-04-06  Richard Henderson  <rth@redhat.com>
23653         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
23654         * sysdeps/alpha/fpu/libm-test-ulps: Update.
23656         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
23657         unsigned int before printing.
23659 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23661         [BZ #17596]
23662         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
23663         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
23665 2015-04-02  Florian Weimer  <fweimer@redhat.com>
23667         * include/libc-internal.h (libc_max_align_t): Define.
23669 2015-04-02  Andreas Schwab  <schwab@suse.de>
23671         [BZ #16850]
23672         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
23674 2015-04-02  Mel Gorman  <mgorman@suse.de>
23676         [BZ #17195]
23677         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
23678         as well as the main arena.
23680 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23682         [BZ #18185]
23683         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
23684         sharing L2 cache to 2 for Silvermont/Knights Landing.
23686 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23688         [BZ #17711]
23689         * config.make.in (have-protected-data): New.
23690         * configure.ac: Check linker support for protected data symbol.
23691         * configure: Regenerated.
23692         * elf/Makefile (modules-names): Add tst-protected1moda and
23693         tst-protected1modb if $(have-protected-data) is yes.
23694         (tests): Add tst-protected1a and tst-protected1b if
23695         $(have-protected-data) is yes.
23696         ($(objpfx)tst-protected1a): New.
23697         ($(objpfx)tst-protected1b): Likewise.
23698         (tst-protected1modb.so-no-z-defs): Likewise.
23699         * elf/tst-protected1a.c: New file.
23700         * elf/tst-protected1b.c: Likewise.
23701         * elf/tst-protected1mod.h: Likewise.
23702         * elf/tst-protected1moda.c: Likewise.
23703         * elf/tst-protected1modb.c: Likewise.
23705 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
23707         [BZ #17711]
23708         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
23709         indicates it is called from do_lookup_x on relocation against
23710         protected data, skip the data definion in the executable from
23711         copy reloc.
23712         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
23713         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
23714         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
23715         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
23716         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
23717         otherwise to 0.
23718         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23719         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
23720         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
23721         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
23722         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
23723         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
23725 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
23727         * sysdeps/nptl/pthread.h: Remove duplicate definition of
23728         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
23730 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
23732         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
23733         THREAD_SETMEM_NC.
23734         * sysdeps/x86_64/nptl/tls.h: Ditto.
23736 2015-03-27  Roland McGrath  <roland@hack.frob.com>
23738         * dlfcn/tststatic.c (main): Converted to ...
23739         (do_test): ... this.
23740         (TEST_FUNCTION): New macro.
23741         Include test-skeleton.c.
23743 2015-03-26  Alan Modra  <amodra@gmail.com>
23745         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
23746         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
23747         zero for undefined weak.
23748         (elf_machine_plt_conflict): Similarly.
23750 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23752         * math/auto-libm-test-in: Add more tests of acosh, asinh and
23753         atanh.
23754         * math/auto-libm-test-out: Regenerated.
23755         * sysdeps/i386/fpu/libm-test-ulps: Update.
23756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23758         * math/auto-libm-test-in: Add another test of asin.
23759         * math/auto-libm-test-out: Regenerated.
23760         * sysdeps/i386/fpu/libm-test-ulps: Update.
23761         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23763         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
23764         Remove macro.
23765         (LLL_EBX_REG): Likewise.
23766         (LLL_ENTER_KERNEL): Likewise.
23768         * math/auto-libm-test-in: Add more tests of asin.
23769         * math/auto-libm-test-out: Regenerated.
23770         * sysdeps/i386/fpu/libm-test-ulps: Update.
23771         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23773         [BZ #18138]
23774         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
23775         libc_do_syscall_args): New structure.
23776         (INTERNAL_SYSCALL_MAIN_0): New macro.
23777         (INTERNAL_SYSCALL_MAIN_1): Likewise.
23778         (INTERNAL_SYSCALL_MAIN_2): Likewise.
23779         (INTERNAL_SYSCALL_MAIN_3): Likewise.
23780         (INTERNAL_SYSCALL_MAIN_4): Likewise.
23781         (INTERNAL_SYSCALL_MAIN_5): Likewise.
23782         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
23783         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
23784         Replace conditional definitions by conditional definitions of ....
23785         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
23786         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
23787         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
23788         (libpthread-sysdep_routines): Add libc-do-syscall.
23789         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
23790         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
23791         to __NR_futex not 240.
23793 2015-03-25  Alan Modra  <amodra@gmail.com>
23795         * NEWS: Advertise TLS optimization.
23796         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
23797         (DT_PPC_NUM): Increment.
23798         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
23799         (CHECK_STATIC_TLS): Use here.
23800         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
23801         TLS descriptors.
23802         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23803         * sysdeps/powerpc/dl-tls.c: New file.
23804         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
23805         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
23806         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
23807         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
23808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
23809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
23810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
23812 2015-03-25  Alan Modra  <amodra@gmail.com>
23814         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
23815         for overlapping .opd entries" to "support...".
23816         * sysdeps/powerpc/powerpc64/configure: Regenerate
23818 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
23820         * math/auto-libm-test-in: Add more tests of acos.
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 more tests of expm1.
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 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
23832         * math/auto-libm-test-in: Add more tests of cosh and sinh.
23833         * math/auto-libm-test-out: Regenerated.
23834         * sysdeps/i386/fpu/libm-test-ulps: Update.
23835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23837         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
23838         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23840         * math/auto-libm-test-in: Add more tests of log2.
23841         * math/auto-libm-test-out: Regenerated.
23842         * sysdeps/i386/fpu/libm-test-ulps: Update.
23843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23845 2015-03-23  Roland McGrath  <roland@hack.frob.com>
23847         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
23848         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
23849         _IO_IS_APPENDING bit in READ_WRITE instead.
23851 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23853         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23854         (__determine_cpumask_size): Replace extend_alloca with a
23855         variable-length array.  Do not treat res == 0 as an error.
23857 2015-03-23  Florian Weimer  <fweimer@redhat.com>
23859         [BZ #18100]
23860         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
23861         and integer overflow.
23862         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
23863         (main): Add integer overflow tests.
23864         * manual/pattern.texi (Calling Wordexp): Document additional use
23865         for WRDE_SYNTAX.
23867 2015-03-23  Alan Modra  <amodra@gmail.com>
23869         * config.h.in: Remove HAVE_ASM_PPC_REL16.
23870         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
23871         and false branch of conditional.
23872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
23873         Likewise.
23875 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
23877         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
23878         libc-modules.h
23879         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
23880         unused declaration of _hurd_intr_rpc_msg_in_trap.
23881         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
23882         defined instead of whether it is non-zero.
23883         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
23884         input constraint instead of both input and output constraint.  Use ecx
23885         clobber instead of %ecx.
23886         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
23887         mutex_unlock): Use a statement expression instead of an expression list.
23888         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
23889         type to vm_size_t instead of vm_address_t.
23890         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
23891         defined instead of whether it is non-zero.
23892         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
23893         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
23894         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
23895         comparisons with mapaddr.
23896         * nscd/nscd-client.h: Include <time.h>.
23897         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
23898         9th parameter to __vm_region instead of int.
23899         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
23900         * scripts/check-local-headers.sh (exclude): Add device/,
23901         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
23902         cthreads.h.
23904 2015-03-19  Roland McGrath  <roland@hack.frob.com>
23906         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
23907         to account for alignment padding.
23908         * sysdeps/arm/memmove.S: Likewise.
23910 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
23912         * sysdeps/unix/sysv/linux/generic/README: New file.
23914 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
23916         [BZ #18138]
23917         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
23918         (futex_abstimed_wait)
23919         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
23920         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
23921         of lll_futex_timed_wait.
23923 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
23925         [BZ #17542]
23926         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
23928 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
23930         [BZ #17090]
23931         [BZ #17620]
23932         [BZ #17621]
23933         [BZ #17628]
23934         * NEWS: Update.
23935         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
23936         entries with Static TLS too.  Skip entries past the end of the
23937         allocated DTV, from Alan Modra.
23938         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
23939         Static TLS DTV entry set up from...
23940         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
23941         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
23942         * nptl/allocatestack.c (init_one_static_tls): ... and here...
23943         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
23944         for Static TLS.
23945         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
23946         that the slot we find is associated with the given map before
23947         using its generation count.
23948         * nptl_db/db_info.c: Include ldsodefs.h.
23949         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
23950         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
23951         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
23952         (link_map::l_tls_offset): New struct field.
23953         (dtv_t::counter): Likewise.
23954         (rtld_global): New struct.
23955         (_rtld_global): New rtld variable.
23956         (dl_tls_dtv_slotinfo_list): New rtld global field.
23957         (dtv_slotinfo_list): New struct.
23958         (dtv_slotinfo): Likewise.
23959         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
23960         (td_lookup): Rename to...
23961         (td_mod_lookup): ... this.  Use new mod parameter instead of
23962         LIBPTHREAD_SO.
23963         * nptl_db/td_thr_tlsbase.c: Include link.h.
23964         (dtv_slotinfo_list, dtv_slotinfo): New functions.
23965         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
23966         addresses even if the DTV is out of date or missing them.
23967         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
23968         index zero-length arrays.
23969         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
23970         (td_lookup): Make it a macro implemented in terms of...
23971         (td_mod_lookup): ... this declaration.
23972         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
23973         (DB_MAIN_VARIABLE): Likewise.
23975 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
23977         [BZ #18134]
23978         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
23980 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
23982         * stdlib/setenv.c (__add_to_environ): Revert previous change.
23984 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
23986         [BZ #18128]
23987         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
23988         (atomic_add, atomic_increment_and_test)
23989         (atomic_decrement_and_test): Fix 64-bit arithmetic.
23991 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
23993         * stdlib/setenv.c (__add_to_environ):
23994         Dump core quickly if setenv (..., NULL, ...) is called.
23996 2015-03-13  Roland McGrath  <roland@hack.frob.com>
23998         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
23999         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
24000         all the necessary asm magic in one place.
24001         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
24002         using those.
24004 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
24006         [BZ #14906]
24007         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
24008         traced file mtime. Use consistent log message.
24009         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
24010         (register_traced_file): Call install_watches. Always set mtime.
24011         (invalidate_cache): Iterate over all trace files. Call install_watches.
24012         (inotify_check_files): Don't inline. Handle watching parent
24013         directories and configuration file movement in and out.
24014         (handle_inotify_events): New function.
24015         (main_loop_poll): Call handle_inotify_events.
24016         (main_loop_epoll): Likewise.
24017         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
24018         (struct traced_file): Use array of inotify fds. Add parent directory,
24019         and basename.
24020         (struct database_dyn): Remove unused file_mtime.
24021         (init_traced_file): New inline function.
24022         (define_traced_file): New macro.
24023         * nss/nss_db/db-init.c: Use define_traced_file.
24024         (_nss_db_init): Use init_traced_file.
24025         * nss/nss_files/files-init.c: Use define_traced_file.
24026         (_nss_files_init): Use init_traced_file.
24028 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
24030         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
24031         [_LIBC]: Do not include <stdlib.h>.
24032         [!_LIBC] (abort): Remove declaration.
24033         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
24034         _FP_STATIC_ASSERT instead of conditionally calling abort.
24035         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
24036         (_FP_EXTEND_CNAN): Likewise.
24037         (FP_TRUNC): Likewise.
24038         (__FP_CLZ): Likewise.
24039         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
24041 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
24043         * manual/string.texi (XPG basename): Fix prototype.
24045 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24047         [BZ #18080]
24048         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
24049         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24050         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
24051         (__setcontext): Likewise.
24052         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
24053         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
24054         Call rt_sigprocmask syscall one time to set new signal mask
24055         and retrieve the current signal mask instead of two calls.
24056         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
24057         (__swapcontext): Likewise.
24058         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
24059         * stdlib/tst-setcontext2.c: New file.
24061 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
24063         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
24065 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
24067         [BZ #18093]
24068         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
24069         the wrong size.
24071 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
24073         [BZ #18043]
24074         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
24076 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24078         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
24079         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
24080         Remove define.
24081         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
24082         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
24083         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
24084         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
24085         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
24086         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
24087         define.
24088         * nptl_db/td_symbol_list.c (td_lookup): Remove
24089         HAVE_ASM_GLOBAL_DOT_NAME code.
24090         * sysdeps/powerpc/powerpc64/configure.ac: Remove
24091         HAVE_ASM_GLOBAL_DOT_NAME check.
24092         * sysdeps/powerpc/powerpc64/configure: Regenerate.
24093         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
24094         (DOT_LABEL): Remove define.
24095         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
24096         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
24097         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
24098         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
24099         (__TLS_GET_ADDR): Likewise.
24100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
24101         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
24103 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
24105         [BZ #18111]
24106         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
24107         (_FPU_SETCW): Initialize cw from fpsr before storing.
24108         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
24109         (fesetexceptflag): Rewrite using fpu_control.h.
24110         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
24112 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
24114         [BZ #18110]
24115         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
24116         asms.
24117         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24119 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
24121         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
24122         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
24123         abort.
24124         (_FP_FMA): Likewise.
24125         (_FP_DIV): Likewise.
24127 2015-03-10  Roland McGrath  <roland@hack.frob.com>
24129         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
24130         with 0 in that case.
24131         * Makefile (summarize-tests): New canned sequence, factored out of
24132         commands for targets tests and xtests.  Display summary lines that
24133         don't start with PASS: or XFAIL: rather than ones that do start with
24134         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
24135         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
24136         do start with ERROR: or FAIL:.
24137         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
24138         (except for [$(build-shared) = yes]).
24139         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
24140         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
24141         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
24142         * nptl/Makefile: Revert 2015-03-04 changes.
24143         [$(CXX) empty] (tests-unsupported): New variable.
24144         * debug/Makefile: Likewise.
24146         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
24147         gnulib file.  Replace __attribute with __attribute__ throughout.
24149 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
24151         * sysdeps/hppa/fpu/libm-test-ulps: Update.
24153 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24155         [BZ #18104]
24156         * math/auto-libm-test-in: Add another test of pow.
24157         * math/auto-libm-test-out: Regenerated.
24159 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24161         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
24162         $(config-cflags-nofma).
24164 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
24166         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
24167         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
24168         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
24169         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
24170         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
24171         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
24172         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
24173         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
24174         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
24175         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
24176         Add comment on closing #endif.
24178 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24180         * posix/wordexp.c (CHAR_IN_SET): New macro.
24181         (parse_param): Use it.
24183 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24185         * sysdeps/powerpc/fpu/libm-test-ulps: update.
24187 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24189         [BZ #18043]
24190         * posix/wordexp.c (parse_param): Fix buffer overflow.
24191         * posix/wordexp-test.c (test_case): Add test case.
24193 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24195         [BZ #18042]
24196         * posix/wordexp.c (parse_backtick): Fix off-by-one.
24197         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
24199 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
24201         [BZ #18043]
24202         * posix/wordexp-test.c (test_case): Add test for BZ #18043
24203         (do_bz18043): Delete.
24204         (at_page_end): New.
24205         (testit): Refactor to have words at the edge of unreadable page.
24207 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
24209         [BZ #16734]
24210         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
24211         Cleanup read-only streams as well.
24212         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
24214 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24216         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
24217         <bits/libc-lockP.h>
24219 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
24221         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
24222         on [__KERNEL__].
24223         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
24224         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
24225         * soft-fp/op-common.h (_FP_DECL): Likewise.
24227 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
24229         * elf/ifuncdep2.c (global): Replace
24230         __attribute__((visibility("protected"))) with
24231         asm (".protected global").
24232         * elf/ifuncmod1.c (global): Likewise.
24233         * elf/ifuncmod5.c (global): Likewise.
24235 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
24237         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
24238         <asm/sfp-machine.h> instead of <sfp-machine.h>.
24240 2015-03-06  Roland McGrath  <roland@hack.frob.com>
24242         * manual/install.texi (Configuring and compiling):
24243         Document test-wrapper-env-only.
24244         * INSTALL: Regenerated.
24246 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
24248         [BZ #18043]
24249         * posix/wordexp.c (parse_param): Fix buffer overflow.
24250         * posix/wordexp-test.c (do_bz18043): Add test case.
24252 2015-03-06  Vincent Bernat  <vincent@bernat.im>
24254         * time/tst-strptime2.c (do_test): Ensure failing tests are
24255         reported correctly.
24256         * time/tst-strptime3.c (do_test): Likewise.
24258 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
24260         Fix aio_error thread-safety.
24261         * sysdeps/pthread/aio_error.c: New file
24262         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
24263         synchronization.
24265 2015-03-06  Florian Weimer  <fweimer@redhat.com>
24267         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
24268         (group_number, vfprintf): Use it.
24269         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
24270         (JUMP, REF): Use it.
24271         (WORK_BUFFER_SIZE): New enum constant.
24272         (process_arg, vfprintf): Use it.
24274 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
24276         * manual/errno.texi (Error Messages): Complete example function
24277         by adding missing #define.
24278         (program_invocation_name): Add statement indicating GNU
24279         extension and reference which header file declares the variable.
24280         (program_invocation_short_name): Likewise.
24282 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
24284         * manual/errno.texi (Error Messages): Delete strerror ISO C89
24285         compatibility note.
24287 2015-03-05  Roland McGrath  <roland@hack.frob.com>
24289         * Makeconfig (test-wrapper-env-only): New variable.
24290         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
24291         then use that with $(test-wrapper-env-only) rather than using
24292         $(test-wrapper-env) $(run-program-env) $($*-ENV).
24294 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
24296         [BZ #18082]
24297         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
24298         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
24299         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
24300         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
24301         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
24302         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
24303         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
24304         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
24305         Likewise.
24306         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
24307         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
24308         Likewise.
24309         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
24310         Likewise.
24311         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
24312         Likewise.
24313         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
24314         Likewise.
24315         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
24316         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
24317         Likewise.
24318         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
24319         Likewise.
24320         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
24321         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
24323 2015-03-04  Roland McGrath  <roland@hack.frob.com>
24325         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
24326         (ETH_ALEN): New macro.
24327         (struct ether_addr): Use it for length of ether_addr_octet.
24329         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
24330         (setdb): Don't call __nss_configure_lookup for "rpc".
24331         (do_test): Don't call test_rpc.
24332         (output_rpcent, test_rpc): Functions moved ...
24333         * sunrpc/test-rpcent.c: ... to this new file.
24334         * sunrpc/Makefile (tests): Add it.
24336         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
24337         __xpg_sigpause.
24338         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
24339         * nptl/tst-signal6.c: Likewise.
24340         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
24341         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
24343         * configure.ac (libc_cv_cxx_link_ok): New check.
24344         Reset CXX to empty if it fails to link.
24345         * configure: Regenerated.
24346         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
24347         bug-atexit3-lib only if $(CXX) is nonempty.
24348         * nptl/Makefile (tests): Likewise for tst-cancel24.
24349         (tests, tests-static): Likewise for tst-cancel24-static.
24350         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
24351         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
24352         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
24353         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
24355 2015-03-04  Andreas Schwab  <schwab@suse.de>
24357         [BZ #17631]
24358         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
24359         for non-GCC compilers.
24360         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
24361         Likewise.
24363 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
24365         [BZ #17776]
24366         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
24367         integer before bitwise and assembly operations.
24368         (feclearexcept): Likewise.
24369         * math/test-fenvinline.c: New file.
24370         * math/Makefile: Add test-fenvinline test.
24372 2015-03-03  Alan Modra  <amodra@gmail.com>
24374         [BZ #16512]
24375         * scripts/localplt.awk: Strip off symbol version.
24376         * NEWS: Mention bug fix.
24378 2015-03-02  Roland McGrath  <roland@hack.frob.com>
24380         * sysdeps/pthread/timer_routines.c
24381         (timer_free_list, thread_free_list, thread_active_list): Make static.
24383 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
24385         [BZ #17779]
24386         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
24387         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24388         Undefine.
24389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
24390         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24391         Likewise.
24392         * sysdeps/unix/sysv/linux/sh/kernel-features.h
24393         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
24394         Likewise.
24396 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24398         [BZ #18036]
24399         * posix/fnmatch_loop.c (END): Detect invalid pattern.
24400         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
24402 2015-03-02  Andreas Schwab  <schwab@suse.de>
24404         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
24405         variable name.
24407 2015-03-02  Florian Weimer  <fweimer@redhat.com>
24409         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
24410         Return error status.
24412 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
24414         [BZ #15969]
24415         * locale/findlocale.c (_nl_find_locale): Introduce const
24416         version of loc_name and drop unsafe type casts.
24418 2015-02-27  Roland McGrath  <roland@hack.frob.com>
24420         * dlfcn/tststatic2.c (main): Converted to ...
24421         (do_test): ... this.
24422         (TEST_FUNCTION): New macro.
24423         Include test-skeleton.c.
24425 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
24427         [BZ #17711]
24428         * elf/Makefile (tests): Add vismain only if PIE is enabled.
24429         (tests-pie): Add vismain.
24430         (CFLAGS-vismain.c): New.
24431         * elf/vismain.c: Add comments for PIE requirement.
24433 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24435         [BZ #18046]
24436         [BZ #18047]
24437         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
24438         0x1p-56L as threshold for just returning the argument.
24439         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
24440         0x1p-32L as threshold for just returning the argument.
24441         * math/auto-libm-test-in: Add more tests of atanh.
24442         * math/auto-libm-test-out: Regenerated.
24443         * sysdeps/i386/fpu/libm-test-ulps: Update.
24444         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
24446 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24448         * string/bcopy.c (bcopy): Call memmove for performance.
24450 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
24452         * string/bzero.c (__bzero): Call memset for performance.
24454 2015-02-27  John David Anglin  <dave.anglin@bell.net>
24456         [BZ #18068]
24457         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
24458         to 00100000.
24460 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
24462         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
24464 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24466         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
24467         (__kernel_standard): Use CSTR macro when setting exc.name.
24468         * sysdeps/ieee754/Makefile [$(subdir) = math]
24469         (CFLAGS-k_standard.c): Remove variable.
24471         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
24472         setting p and q from "else if" to "else".
24473         (qzero): Likewise.
24474         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
24475         (qone): Likewise.
24476         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
24477         (qzerof): Likewise.
24478         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
24479         (qonef): Likewise.
24480         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
24481         (qzero): Likewise.
24482         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
24483         (qone): Likewise.
24485         [BZ #18038]
24486         [BZ #18039]
24487         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
24488         return pi/2 for arguments below 0x1p-113L.
24489         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
24490         return pi/2 for arguments below 0x1p-106L.
24491         * math/auto-libm-test-in: Add more tests of acos.
24492         * math/auto-libm-test-out: Regenerated.
24494         [BZ #16351]
24495         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
24496         (MO): New macro.
24497         (__ieee754_asin): Force underflow exception for results with small
24498         absolute value.
24499         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
24500         (MO): New macro.
24501         (__ieee754_asinf): Force underflow exception for results with
24502         small absolute value.
24503         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
24504         (__ieee754_asin): Force underflow exception for results with small
24505         absolute value.
24506         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
24507         (__ieee754_asinf): Force underflow exception for results with
24508         small absolute value.
24509         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
24510         (__ieee754_asinl): Force underflow exception for results with
24511         small absolute value.
24512         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
24513         (__ieee754_asinl): Force underflow exception for results with
24514         small absolute value.
24515         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
24516         (__ieee754_asinl): Force underflow exception for results with
24517         small absolute value.
24518         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
24519         Include <math.h>.
24520         * math/auto-libm-test-in: Do not mark underflow exceptions as
24521         possibly missing for bug 16351.
24522         * math/auto-libm-test-out: Regenerated.
24524         [BZ #18030]
24525         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
24526         of power of 2 down when low part has opposite sign.
24527         * math/libm-test.inc (logb_test_data): Add more tests.
24529 2015-02-26  Andreas Schwab  <schwab@suse.de>
24531         [BZ #18032]
24532         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
24533         over collating symbol inside a bracket expression.  Minor cleanup.
24534         * posix/tst-fnmatch3.c (do_test): Add test case.
24536 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
24538         [BZ #18029]
24539         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
24540         Adjust exponent of power of 2 down when low part has opposite
24541         sign.
24542         * math/libm-test.inc (ilogb_test_data): Add more tests.
24544 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
24546         [BZ #15969]
24547         * locale/findlocale.c (_nl_find_locale): Fix constness error in
24548         the previous change.
24550         [BZ #15969]
24551         * locale/findlocale.c (_nl_find_locale): Retry archive search
24552         after alias expansion.
24554 2015-02-25  Roland McGrath  <roland@hack.frob.com>
24556         * iconv/tst-iconv3.c (main): Converted to ...
24557         (do_test): ... this.
24558         (TEST_FUNCTION): New macro.
24559         Include test-skeleton.c.
24561         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
24562         (convert): Make function static.
24563         (test_unalign): Likewise.  Add const to argument pointee types.
24564         (main): Replace with static function do_test.
24565         Print "Succeeded." only if RET is zero.
24566         (TEST_FUNCTION): New macro.
24567         Include test-skeleton.c.
24569         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
24570         returns a null pointer.
24572 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24574         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
24575         to __memcpy_ppc only for static builds.
24577 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
24579         [BZ #18020]
24580         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
24581         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
24582         * math/auto-libm-test-in: Add more tests of asinh.
24583         * math/auto-libm-test-out: Regenerated.
24584         * sysdeps/i386/fpu/libm-test-ulps: Update.
24585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24587 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
24589         [BZ #15850]
24590         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
24591         and ip6_mtuinfo definitions here.
24592         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
24593         in this define too.  Update comment.
24595 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
24597         * elf/sprof.c (load_shobj): Tweak error message to match others.
24599 2015-02-24  Kevin Easton  <kevin@guarana.org>
24601         [BZ #16145] (partial fix)
24602         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
24603         to reduce lock contention.
24605 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
24607         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
24608         (struct timex): Update time comment.
24609         (ADJ_SETOFFSET): Define.
24611 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24613         [BZ #18019]
24614         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
24615         2**56 not 2**28 as threshold for log (2x) formula.
24616         * math/auto-libm-test-in: Add more tests of acosh.
24617         * math/auto-libm-test-out: Regenerated.
24618         * sysdeps/i386/fpu/libm-test-ulps: Update.
24619         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24621 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24623         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
24624         parenthesis around the buf assignment.
24625         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
24627 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
24629         [BZ #16783]
24630         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
24631         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
24632         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
24633         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24634         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
24635         * math/libm-test.inc (scalb_test_data): Add more tests.
24637 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
24639         [BZ #17916]
24640         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
24641         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
24643 2015-02-24  Eric Rannaud  <e@nanocritical.com>
24645         [BZ #17523]
24646         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
24647         * io/bits/fcntl2.h (open): Use it.
24648         (openat): Likewise.
24649         * io/open.c (__libc_open): Likewise.
24650         * io/open64.c (__libc_open64): Likewise.
24651         * io/open64_2.c (__open64_2): Likewise.
24652         * io/open_2.c (__open_2): Likewise.
24653         * io/openat.c (__openat): Likewise.
24654         * io/openat64.c (__openat64): Likewise.
24655         * io/openat64_2.c (__openat64_2): Likewise.
24656         * io/openat_2.c (__openat_2): Likewise.
24657         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
24658         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
24659         * sysdeps/posix/open64.c (__libc_open64): Likewise.
24660         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24661         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
24662         (__open_nocancel): Likewise.
24663         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
24664         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
24665         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
24667 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24669         [BZ #14841]
24670         * resolv/gethnamaddr.c (getanswer): Skip logging if
24671         RES_USE_DNSSEC is set.
24672         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
24674 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
24676         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
24678 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
24680         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
24681         201304L, for Unicode 7.
24683 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
24685         [BZ #17836]
24686         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
24687         shared library.  Add gmon-start.os otherwise.
24688         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
24689         $(objpfx)gmon-start.os if builing shared library.
24690         ($(objpfx)g$(static-start-installed-name)): Likewise.
24692 2015-02-23  Andreas Schwab  <schwab@suse.de>
24694         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
24696 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
24698         [BZ #17269]
24699         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
24700         (enlarge_userbuf): Likewise.
24702 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
24704         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
24705         * math/atest-exp.c (TIMEOUT): Adjust to 200.
24706         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
24707         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
24709 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
24711         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
24712         expression inside statement expression.
24714 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
24716         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
24717         <sysdeps/nptl/lowlevellock.h> and remove macros and
24718         functions that are now defined there.
24719         (SYS_futex): Remove.
24720         (lll_compare_and_swap): Remove.
24721         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
24723 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
24725         [BZ #17999]
24726         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
24727         instead of scandirat.
24728         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
24729         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
24730         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
24731         __scandirat.
24732         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
24733         (__scandirat): Declare.  Use libc_hidden_proto.
24734         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
24735         Remove variable.
24736         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
24738 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24740         [BZ #15319]
24741         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
24742         (MO): New macro.
24743         (__ieee754_atan2): For results with small absolute value, force
24744         underflow exception and remove excess range and precision from
24745         return value.
24746         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
24747         (MO): New macro.
24748         (__ieee754_atan2f): For results with small absolute value, force
24749         underflow exception and remove excess range and precision from
24750         return value.
24751         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
24752         (MO): New macro.
24753         (__atan): For results with small absolute value, force underflow
24754         exception and remove excess range and precision from return value.
24755         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
24756         (MO): New macro.
24757         (__atanf): For results with small absolute value, force underflow
24758         exception and remove excess range and precision from return value.
24759         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
24760         <math.h>.
24761         (__ieee754_atan2): Force underflow exception for results with
24762         small absolute value.
24763         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
24764         <math_private.h>.
24765         (atan): Force underflow exception for results with small absolute
24766         value.
24767         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
24768         (__atanf): Force underflow exception for results with small
24769         absolute value.
24770         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
24771         <math.h>.
24772         (__atanl): Force underflow exception for results with small
24773         absolute value.
24774         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
24775         (__atanl): Force underflow exception for results with small
24776         absolute value.
24777         * sysdeps/x86/fpu/bits/mathinline.h
24778         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
24779         (__ieee754_atan2): Only define inline for long double.
24780         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
24781         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
24782         * math/auto-libm-test-in: Do not mark underflow exceptions as
24783         possibly missing for bug 15319.  Add more tests of atan2.
24784         * math/auto-libm-test-out: Regenerated.
24785         * math/libm-test.inc (casin_test_data): Do not mark underflow
24786         exceptions as possibly missing for bug 15319.
24787         (casinh_test_data): Likewise.
24788         * sysdeps/i386/fpu/libm-test-ulps: Update.
24790 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
24792         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
24793         * sysdeps/mips/bits/endian.h: Fix comments.
24795 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
24797         [BZ #17996]
24798         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
24799         (hdestroy_r): Likewise.
24800         (hsearch_r): Likewise.
24801         (__hcreate_r): Declare and use libc_hidden_proto.
24802         (__hdestroy_r): Likewise.
24803         (__hsearch_r): Likewise.
24804         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
24805         (hcreate): Call __hcreate_r instead of hcreate_r.
24806         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
24807         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
24808         as weak alias of __hcreate_r.
24809         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
24810         __hdestroy_r.
24811         (hsearch_r): Rename to __hsearch_r and define as weak alias of
24812         __hsearch_r.
24813         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
24814         Remove variable.
24815         (test-xfail-XPG4/search.h/linknamespace): Likewise.
24816         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
24817         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
24818         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
24820 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24822         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
24823         arena_lock into a single arena_get.
24825 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
24827         * dl-reloc.c: Inlucde libc-internal.h.
24828         (_dl_try_allocate_static_tls): Call ALIGN_UP.
24829         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
24830         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
24831         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
24832         (grow_heap): Likewise.
24833         * malloc/malloc.c: Include libc-internal.h.
24834         (do_check_malloc): Call powerof2.
24835         (sysmalloc): Use pagesize. Call ALIGN_UP.
24836         (systrim): Use pagesize.
24837         (mremap_chunk): Use pagesize. Call ALIGN_UP.
24838         (__libc_valloc): Use pagesize.
24839         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
24841 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24843         [BZ #17991]
24844         * include/sys/resource.h (__getrlimit64): Declare.  Use
24845         libc_hidden_proto.
24846         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
24847         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
24848         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
24849         getrlimit64.
24850         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
24851         __getrlimit64.
24852         [!getrlimit64] (getrlimit64): Define as weak alias of
24853         __getrlimit64.  Use libc_hidden_weak.
24854         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
24855         using __getrlimit64 not __new_getrlimit64.
24856         (__GI_getrlimit64): Likewise.
24857         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
24858         Likewise.
24859         (__GI_getrlimit64): Likewise.
24860         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
24861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
24862         (getrlimit): Add __getrlimit64 alias.
24863         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
24864         Likewise.
24865         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
24866         Remove variable.
24867         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
24868         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
24870 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
24872         * libio/fileops.c: Add missing sys/mman.h
24873         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
24875 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
24877         * manual/math.texi (Errors in Math Functions): Clarify goals
24878         regarding inexact and underflow exceptions.
24880 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24882         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
24883         * sysdeps/mips/memset.S: Ditto.
24885 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
24887         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
24889 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
24891         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
24892         (__v1longjmp): Remove versioned symbol.
24893         (__v1siglongjmp): Remove alias and versioned symbol.
24894         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
24895         (__v2siglongjmp): Likewise.
24897 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24899         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
24901 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
24903         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
24905 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24907         [BZ #17987]
24908         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
24909         zero result does not depend on the sign resulting from
24910         subtraction.
24911         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24912         Likewise.
24913         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24914         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24915         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24916         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24917         * math/libm-test.inc (remquo_test_data): Add more tests.
24919 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
24921         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
24922         Problem reported by J William Piggott.
24924 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
24926         [BZ #17978]
24927         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
24928         products 4 * y and 2 * y where those would overflow.
24929         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24930         Likewise.
24931         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
24932         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
24933         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
24934         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
24935         * math/libm-test.inc (remquo_test_data): Add more tests.
24937         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
24939         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
24940         [defined _COMPILING_NEWLIB].
24941         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
24942         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
24944         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
24945         [!defined __mips_isa_rev || __mips_isa_rev < 6].
24947 2015-02-16  Torvald Riegel  <triegel@redhat.com>
24949         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
24950         acquired.
24952 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
24954         [BZ #17792]
24955         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
24956         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
24957         HOST_STACK_END_ADDR): Likewise.
24959 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
24961         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
24962         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
24963         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
24965 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24967         * sysdeps/generic/c++-types.data: New file.
24968         * sysdeps/generic/ld.abilist: New file.
24969         * sysdeps/generic/libBrokenLocale.abilist: New file.
24970         * sysdeps/generic/libanl.abilist: New file.
24971         * sysdeps/generic/libc.abilist: New file.
24972         * sysdeps/generic/libcrypt.abilist: New file.
24973         * sysdeps/generic/libdl.abilist: New file.
24974         * sysdeps/generic/libm.abilist: New file.
24975         * sysdeps/generic/libpthread.abilist: New file.
24976         * sysdeps/generic/libresolv.abilist: New file.
24977         * sysdeps/generic/librt.abilist: New file.
24979 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24981         [BZ #17569]
24982         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
24983         Compute absolute value of x as modified by fmod, not original
24984         value of x.
24985         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
24986         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
24987         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
24988         RUN_TEST_ffI_f1_mod8.
24989         (remquo_test_data): Add more tests.
24991 2015-02-13  Roland McGrath  <roland@hack.frob.com>
24993         * sysdeps/init_array/pt-crti.S: New file.
24995 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
24997         [BZ #17967]
24998         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
24999         __builtin_fmaf instead of relying on contraction of a * b + c.
25001 2015-02-12  J William Piggott  <elseifthen@gmx.com>
25003         [BZ #17969]
25004         * manual/time.texi: correct the zoneinfo path in the TZ Variable
25005         node.
25007 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25009         [BZ #17964]
25010         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
25011         __builtin_fma instead of relying on contraction of a * b + c.
25013 2015-02-12  Roland McGrath  <roland@hack.frob.com>
25015         * Makeconfig (ASFLAGS): Add -Werror=undef.
25016         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
25017         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
25018         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
25020         * Makeconfig (after-link): New variable.
25021         (+link-pie, +link-pie-tests): Use it.
25022         (+link-static, +link-static-tests): Likewise.
25023         (+link, +link-tests): Likewise.
25024         * Makerules (build-module, build-module-asneeded): Likewise.
25025         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
25026         Likewise.
25027         * elf/Makefile ($(objpfx)ld.so): Likewise.
25029 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
25031         [BZ #17965]
25032         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
25033         both struct timeval and struct timespec.
25035 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
25037         [BZ #16560]
25038         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25039         and redefine.
25040         (__ieee754_exp2l): Do not multiply small fractional parts by
25041         M_LN2l.
25042         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
25043         small argument.
25044         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
25045         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25046         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
25047         * math/auto-libm-test-in: Add more tests of exp2.
25048         * math/auto-libm-test-out: Regenerated.
25050 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25052         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
25053         unaligned path.
25055 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25057         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
25058         little endian.
25060 2015-02-12  Andreas Schwab  <schwab@suse.de>
25062         [BZ #15790]
25063         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25064         Filter out elision flags from value returned in kind.
25065         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
25066         * nptl/tst-pthread-mutexattr.c: New file.
25068 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25070         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
25071         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
25072         into gnu-gnu, and update comment to refer to abi-tags.
25074 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
25076         [BZ #15467]
25077         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
25078         (__sincos): Set errno to EDOM for infinite argument.
25079         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
25080         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
25081         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
25082         (__sincosl): Set errno to EDOM for infinite argument.
25083         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
25084         (__sincosl): Set errno to EDOM for infinite argument.
25085         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
25086         (__sincosl): Set errno to EDOM for infinite argument.
25087         * math/libm-test.inc (sincos_test_data): Test errno setting.
25089 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
25091         * string/strxfrm_l.c: Remove #define STRCMP.
25092         * string/strcoll_l.c: Remove #define STRLEN.
25093         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
25094         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
25096 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
25098         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
25099         * sysdeps/mips/mips32/sfp-machine.h: ... here.
25100         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
25101         * sysdeps/mips/mips64/Makefile: ... here.
25102         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
25103         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
25104         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
25105         * sysdeps/mips/mips64/sfp-machine.h: ... here.
25106         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
25107         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
25108         * sysdeps/mips/mips64/n64/Implies: Likewise.
25110 2015-02-10  Roland McGrath  <roland@hack.frob.com>
25112         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
25113         <sys/time.h>, <string.h>, and <errno.h>.
25114         (dest_offset, dest_address, value, zero): Remove unused variables.
25115         (ldouble): Remove typedef.
25116         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
25117         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
25118         1).  Fix code style.
25119         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
25120         (check): Function removed.
25121         (CHECK): New macro.
25122         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
25123         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
25124         Don't call set_sigaction_FP and remove_sigaction_FP here.
25125         (ldouble_test): Just use 'long double' as macro argument, no need for
25126         the 'ldouble' typedef.
25127         (do_test): Set up SIGFPE handler at start, using plain signal rather
25128         than sigaction.  Fix code style.
25130 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
25132         [BZ #17949]
25133         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
25134         jump label.
25136 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25138         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
25139         * sysdeps/powerpc/powerpc32/configure: Regenerated.
25141         * sysdeps/powerpc/configure.ac: Remove file.
25142         * sysdeps/powerpc/configure: Likewise.
25144         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25145         [sysdep_routines]: Remove wordcopy-power6 object.
25146         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
25147         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
25148         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
25149         (__memmove_ppc32): Likewise.
25150         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
25151         file.
25152         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
25153         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
25154         Remove preprocessor.
25156         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
25157         [sysdep_routines]: Remove wide chars objects.
25158         [wcsmbs]: New rule for wide char objects.
25160         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25161         Remove wordcopy-power6 obejct.
25162         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
25163         Use local call for wordcopy and memcpy symbols.
25164         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
25165         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
25166         implementation for loader.
25167         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
25169         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25170         Remove wordcopy-power7 object.
25171         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
25172         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
25173         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
25174         (_wordcopy_fwd_dest_aligned): Likewise.
25175         (_wordcopy_bwd_aligned): Likewise.
25176         (_wordcopy_bwd_dest_aligned): Likewise.
25178         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
25179         Rewrite to call __memmove_ppc instead of include default
25180         implementation.
25182         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25183         Remove wide chars objects.
25184         [wcsmbs]: New rule for wide char objects.
25186 2015-02-09  Andreas Schwab  <schwab@suse.de>
25188         [BZ #17912]
25189         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
25190         in terms of __O_DIRECTORY.
25192 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25194         * time/getdate.c: Include <stdbool.h>.
25195         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
25196         call PTR_MANGLE.
25197         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
25198         PTR_DEMANGLE.
25200 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
25202         Add ersatz _Static_assert on older C hosts
25203         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
25204         pre-C11 C platform that is not known to support _Static_assert.
25206 2015-02-07  Richard Braun  <rbraun@sceen.net>
25208         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
25209         sigstate.
25210         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
25212 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
25214         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
25215         priority against unexistent AIO_PRIO_DELTA_MAX.
25216         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
25217         instead of int.
25218         * misc/fchflags.c (fchflags): Likewise.
25219         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
25220         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
25221         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
25222         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
25223         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
25224         Declare macros.
25225         [__USE_MISC] (chflags, fchflags): Declare functions.
25226         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
25227         EINVAL when nfds is greater than FD_SETSIZE.
25228         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
25229         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
25230         45.
25231         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
25232         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
25233         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
25234         MACH_RCV_TIMED_OUT.
25235         * hurd/hurd/signal.h (_hurd_self_sigstate,
25236         _hurd_critical_section_lock, _hurd_critical_section_unlock):
25237         Explicit casts from void *.
25238         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
25239         * abi-tags: Rename gnu-gnu os into gnu.
25241         [BZ #4719]
25242         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
25243         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
25244         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
25245         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
25246         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
25247         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
25249         [BZ #17944]
25250         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
25251         duplicates ADDR->sun_path with sockaddr LEN limitation.
25252         * sysdeps/mach/hurd/connect.c: Include <string.h>
25253         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
25254         * sysdeps/mach/hurd/sendmsg.c: Likewise.
25255         * sysdeps/mach/hurd/sendto.c: Likewise.
25256         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
25257         implementing it by hand.
25259 2015-02-06  Roland McGrath  <roland@hack.frob.com>
25261         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
25262         Use sfi_breg on ldr.
25263         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
25264         Likewise.
25266         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
25267         it's defined.
25268         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
25269         Test SIGSETXID only if it's defined.
25271         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
25273         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
25274         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
25276         * nptl/tst-align2.c: Moved ...
25277         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25278         * nptl/Makefile (tests): Remove tst-align2.
25279         * sysdeps/unix/sysv/linux/Makefile
25280         [$(subdir) = nptl] (tests): Add tst-align-clone.
25281         * nptl/tst-getpid1.c: Moved ...
25282         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25283         * nptl/tst-getpid2.c: Moved ...
25284         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
25285         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
25286         * sysdeps/unix/sysv/linux/Makefile
25287         [$(subdir) = nptl] (tests): ... here.
25288         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
25289         * sysdeps/unix/sysv/linux/Makefile
25290         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
25292         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
25293         Drop trailing \n from perror argument.  Use return rather than exit.
25295         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
25296         on [SA_SIGINFO].
25297         * nptl/tst-cancel21.c (do_test): Likewise.
25298         * debug/tst-backtrace6.c: Include <signal.h> first thing.
25299         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
25300         [!SA_SIGINFO]: Make it a stub test.
25302         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
25303         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
25305         * posix/tst-getlogin.c: Move to ...
25306         * login/tst-getlogin.c: ... here.
25307         * posix/Makefile (tests): Move tst-getlogin to ...
25308         * login/Makefile (tests): ... here.
25310         * libio/tst-atime.c (do_test): Move local variables SV and E
25311         inside [ST_NOATIME] conditional.
25313         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
25315         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
25317         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
25318         (wait_code): New function replaces macro.
25319         Call nanosleep rather than syscall.
25321         * nptl/pt-system.c: Rewritten.  Put everything under
25322         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25323         Use IFUNC to redirect when possible.
25325         * nptl/pt-longjmp.c: Rewritten.  Put everything under
25326         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25327         Use IFUNC to redirect when possible.
25329         * nptl/pt-fork.c: Rewritten.  Put everything under
25330         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
25331         Use IFUNC to redirect when possible.
25332         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
25334         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
25335         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
25336         unconditionally nowadays.  This included the only reference to
25337         __vdso_clock_gettime that appears outside libc proper.
25338         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
25339         Remove version set (containing only __vdso_clock_gettime).
25340         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
25341         Add attribute_hidden.
25342         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
25343         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
25344         libc_hidden_data_def.
25345         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25346         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25348         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
25349         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
25350         setrpcent, and getrpcport to ...
25351         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
25352         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
25353         getrpcbynumber_r, and getrpcent_r to ...
25354         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
25355         * inet/getrpcbyname.c: Moved ...
25356         * sunrpc/getrpcbyname.c: ... here.
25357         * inet/getrpcbyname_r.c: Moved ...
25358         * sunrpc/getrpcbyname_r.c: ... here.
25359         * inet/getrpcbynumber.c: Moved ...
25360         * sunrpc/getrpcbynumber.c: ... here.
25361         * inet/getrpcbynumber_r.c: Moved ...
25362         * sunrpc/getrpcbynumber_r.c: ... here.
25363         * inet/getrpcent.c: Moved ...
25364         * sunrpc/getrpcent.c: ... here.
25365         * inet/getrpcent_r.c: Moved ...
25366         * sunrpc/getrpcent_r.c: ... here.
25367         * inet/Makefile (routines): Move those to ...
25368         * sunrpc/Makefile (routines): ... here.
25369         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
25370         the $(subdirs) list.
25371         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
25372         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
25373         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
25374         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
25376         * elf/Makefile (routines): Include $(all-dl-routines), not just
25377         $(dl-routines).
25378         (rtld-routines): Likewise.  Use = rather than :=.
25379         * sysdeps/aarch64/Makefile [$(subdir) = elf]
25380         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
25381         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
25382         * sysdeps/arm/Makefile: Likewise.
25383         * sysdeps/i386/Makefile: Likewise.
25384         * sysdeps/x86_64/Makefile: Likewise.
25385         * sysdeps/hppa/Makefile [$(subdir) = elf]
25386         (sysdep_routines, sysdep-rtld-routines): Don't add
25387         $(sysdep-dl-routines) to these.
25388         * sysdeps/ia64/Makefile: Likewise.
25389         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
25390         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
25391         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
25392         Don't add dl-static to these; sysdep-dl-routines alone is enough.
25393         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
25394         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
25395         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
25396         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
25397         * sysdeps/powerpc/Makefile [$(subdir) = elf]
25398         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
25399         these; sysdep-dl-routines alone is enough.
25401 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
25403         [BZ #17932]
25404         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
25405         where multiplication results in zero and third argument is finite
25406         and nonzero.
25407         * math/auto-libm-test-in: Add more tests of fma.
25408         * math/auto-libm-test-out: Regenerated.
25410         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
25411         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
25412         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
25413         (_FP_CMP_EQ): Likewise.
25414         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
25416         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
25417         extra argument CHECK_NAN.  Redefine as wrapper around
25418         _FP_EXTEND_CNAN.
25420 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
25422         * version.h (RELEASE): Set to "stable".
25423         (VERSION): Set to "2.21"
25424         * include/features.h (__GLIBC_MINOR__): Set to 21.
25426         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
25428 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
25429             Paul Eggert  <eggert@cs.ucla.edu>
25431         [BZ #16618]
25432         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
25433         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
25434         size in bytes. Store needed elements in wpmax. Use needed size
25435         in bytes for extend_alloca.
25437 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
25439         * manual/install.texi: Latest tested versions are GCC 4.9.2,
25440         binutls 2.25, and texinfo 5.2.
25441         * INSTALL: Regenerate.
25442         * sysdeps/nios2/configure: Regenerate.
25443         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
25444         * manual/contrib.texi: Update.
25445         * po/be.po: Update.
25446         * po/bg.po: Update.
25447         * po/ca.po: Update.
25448         * po/cs.po: Update.
25449         * po/da.po: Update.
25450         * po/de.po: Update.
25451         * po/el.po: Update.
25452         * po/eo.po: Update.
25453         * po/es.po: Update.
25454         * po/fi.po: Update.
25455         * po/fr.po: Update.
25456         * po/gl.po: Update.
25457         * po/hr.po: Update.
25458         * po/hu.po: Update.
25459         * po/ia.po: Update.
25460         * po/id.po: Update.
25461         * po/it.po: Update.
25462         * po/ja.po: Update.
25463         * po/ko.po: Update.
25464         * po/lt.po: Update.
25465         * po/nb.po: Update.
25466         * po/nl.po: Update.
25467         * po/pl.po: Update.
25468         * po/pt_BR.po: Update.
25469         * po/ru.po: Update.
25470         * po/rw.po: Update.
25471         * po/sk.po: Update.
25472         * po/sl.po: Update.
25473         * po/sv.po: Update.
25474         * po/tr.po: Update.
25475         * po/uk.po: Update.
25476         * po/vi.po: Update.
25477         * po/zh_CN.po: Update.
25478         * po/zh_TW.po: Update.
25480         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
25481         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
25482         * sysdeps/hppa/dl-irel.h: Remove #warning.
25483         * sysdeps/hppa/entry.h: Provide prototype for
25484         __canonicalize_funcptr_for_compare and cast argument.
25485         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
25486         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
25487         * sysdeps/hppa/sotruss-lib.c: New file.
25488         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
25489         (atomic_compare_and_exchange_val_acq): Use __typeof__.
25490         (atomic_compare_and_exchange_bool_acq): Likewise.
25491         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
25492         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
25494         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
25495         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
25496         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
25498 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
25500         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
25501         called function in non-PIC case.
25503 2015-01-31  David S. Miller  <davem@davemloft.net>
25505         * sysdeps/sparc/sparc32/bits/atomic.h
25506         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
25507         unlock not after it.
25508         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
25509         volatile register usage warnings from the compiler.
25511         * sysdeps/sparc/nptl/sem_init.c: Delete.
25512         * sysdeps/sparc/nptl/sem_post.c: Delete.
25513         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
25514         * sysdeps/sparc/nptl/sem_wait.c: Delete.
25515         * sysdeps/sparc/sparc32/sem_init.c: New file.
25516         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
25517         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
25518         padding explicitly initialized.
25519         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
25520         padding for in-semaphore spinlock.
25521         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
25522         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
25523         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
25524         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
25525         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
25526         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
25527         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
25528         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
25529         version.
25530         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
25531         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
25533 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
25535         [BZ #17801]
25536         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25537         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
25538         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
25539         New.
25540         (index_AVX_Fast_Unaligned_Load): Likewise.
25541         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
25542         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
25543         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
25544         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
25545         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
25546         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
25547         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
25548         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
25549         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
25551 2015-01-29  Andreas Schwab  <schwab@suse.de>
25553         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
25555 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
25557         [BZ #17892]
25558         * nscd/nscd_stat.c (send_stats): Initialize DATA.
25560 2015-01-28  Martin Sebor  <msebor@redhat.com>
25562         * math/README.libm-test: Clarify. Add "How to read the test output."
25564 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
25566         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
25567         Define to 0.
25569 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
25571         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
25572         (__HAVE_64B_ATOMICS): Define to 0.
25574 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25576         [BZ #17885]
25577         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
25578         value to set as new flag.
25580         [BZ #16576]
25581         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
25582         and use _ARCH_PPCSQ instead.
25583         (__ieee754_sqrt): Likewise.
25584         (__ieee754_sqrtf): Likewise.
25585         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
25586         _ARCH_PPCSQ is defined.
25587         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
25588         fsqrt instruction.
25589         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
25590         _ARCH_PPCSQ is defined.
25591         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
25592         fsqrts instruction.
25593         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
25595 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25597         * iconv/loop.c: Suppress array out of bound warning caused by GCC
25598         bug (GCC BZ #64739).
25600 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
25602         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
25603         Mark _retval as used.
25604         (lll_futex_wake_unlock): Likewise.
25605         (lll_futex_timed_wait_requeue_pi): Likewise.
25607         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
25608         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
25609         register variables.
25611         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
25612         libm_hidden_def.
25614         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
25615         (__bswap_64): Mark as __always_inline.
25617 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
25619         [BZ #15378]
25620         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
25621         when none of the search directories exist.
25623 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
25625         [BZ #17869]
25626         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
25627         power8 in .machine directive.
25629         [BZ #17868]
25630         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
25631         set dependency from opd value.
25633 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25635         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25636         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
25637         architecture.
25639 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
25641         [BZ #17870]
25642         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
25643         with uint64_t.
25644         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
25645         (uint64_t) 1.
25646         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
25647         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
25648         Replace 1UL with (uint64_t) 1.
25649         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
25650         int with uint64_t.
25652 2015-01-23  Roland McGrath  <roland@hack.frob.com>
25654         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
25655         (if_freenameindex): Likewise.
25657         * resource/getrlimit64.c: Add missing libc_hidden_def.
25659 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
25661         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
25662         __label__.
25663         (_FP_FMA): Likewise.
25664         (_FP_TO_INT_ROUND): Likewise.
25665         (_FP_FROM_INT): Likewise.
25667 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25669         [BZ #16418]
25670         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
25671         Make code racy and cancel safe.
25673 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
25675         * sysdeps/arm/unwind-resume.h: Fix copyright year.
25676         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
25677         attribution.
25679         * pwd/tst-getpw.c: Rewrite.
25681         [BZ #17702]
25682         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
25683         (modules-names): Add moddummy1 and moddummy2.
25684         ($(objpfx)tst-rec-dlopen): Define.
25685         * dlfcn/moddummy1.c: New file.
25686         * dlfcn/moddummy2.c: New file.
25687         * dlfcn/tst-rec-dlopen.c: New file.
25688         * elf/dl-cache.c (_dl_load_cache_lookup):
25689         Return char*. Copy result with alloca/strcpy/strdup.
25690         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
25691         returns char*. Free cached. If not saving realname
25692         free cached.
25693         * elf/dl-open.c (dl_open_worker): Do not assert that
25694         _r_debug->r_state is RT_CONSISTENT.
25695         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
25696         returns char*.
25698 2015-01-21  Torvald Riegel  <triegel@redhat.com>
25699             Carlos O'Donell  <carlos@redhat.com>
25701         [BZ #12674]
25702         * nptl/sem_waitcommon.c: New file.
25703         * nptl/sem_wait.c: Include sem_waitcommon.c.
25704         (__sem_wait_cleanup, do_futex_wait): Remove.
25705         (__new_sem_wait): Adapt.
25706         (__new_sem_trywait): New function.
25707         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
25708         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
25709         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
25710         (sem_timedwait): Adapt.
25711         * nptl/sem_post.c (__new_sem_post): Adapt.
25712         (futex_wake): New function.
25713         (__old_sem_post): Add release MO fence.
25714         * nptl/sem_open.c (sem_open): Adapt.
25715         * nptl/sem_init.c (__new_sem_init): Adapt.
25716         (futex_private_if_supported): New function.
25717         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
25718         (__old_sem_getvalue): Add using previous code.
25719         * sysdeps/nptl/internaltypes.h: Adapt.
25720         * nptl/tst-sem13.c (do_test): Adapt.
25721         * nptl/tst-sem11.c (main): Adapt.
25722         * nptl/sem_trywait.c: Remove.
25723         * nptl/DESIGN-sem.txt: Remove.
25724         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
25725         (gen-as-const-headers): Remove structsem.sym.
25726         * nptl/structsem.sym: Remove.
25727         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
25728         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
25729         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
25730         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
25731         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
25732         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
25733         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
25734         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
25735         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
25736         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
25737         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
25738         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
25739         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
25740         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
25741         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
25742         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
25743         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
25744         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
25745         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
25746         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
25747         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
25748         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
25750 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
25752         * INSTALL: Regenerated.
25754         * po/libc.pot: Regenerated.
25756 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
25757             Sandra Loosemore  <sandra@codesourcery.com>
25758             Andrew Jenner  <andrew@codesourcery.com>
25759             Joseph Myers  <joseph@codesourcery.com>
25760             Nathan Sidwell  <nathan@codesourcery.com>
25762         * NEWS: Mention new Nios II port.
25763         * sysdeps/nios2/Implies: New file.
25764         * sysdeps/nios2/Makefile: New file.
25765         * sysdeps/nios2/Subdirs: New file.
25766         * sysdeps/nios2/Versions: New file.
25767         * sysdeps/nios2/__longjmp.S: New file.
25768         * sysdeps/nios2/abort-instr.h: New file.
25769         * sysdeps/nios2/backtrace.c: New file.
25770         * sysdeps/nios2/bits/endian.h: New file.
25771         * sysdeps/nios2/bits/fenv.h: New file.
25772         * sysdeps/nios2/bits/link.h: New file.
25773         * sysdeps/nios2/bits/setjmp.h: New file.
25774         * sysdeps/nios2/bsd-_setjmp.S: New file.
25775         * sysdeps/nios2/bsd-setjmp.S: New file.
25776         * sysdeps/nios2/configure: New generated file.
25777         * sysdeps/nios2/configure.ac: New file.
25778         * sysdeps/nios2/crti.S: New file.
25779         * sysdeps/nios2/crtn.S: New file.
25780         * sysdeps/nios2/dl-init.c: New file.
25781         * sysdeps/nios2/dl-machine.h: New file.
25782         * sysdeps/nios2/dl-sysdep.h: New file.
25783         * sysdeps/nios2/dl-tls.h: New file.
25784         * sysdeps/nios2/dl-trampoline.S: New file.
25785         * sysdeps/nios2/gccframe.h: New file.
25786         * sysdeps/nios2/gmp-mparam.h: New file.
25787         * sysdeps/nios2/jmpbuf-offsets.h: New file.
25788         * sysdeps/nios2/jmpbuf-unwind.h: New file.
25789         * sysdeps/nios2/ldsodefs.h: New file.
25790         * sysdeps/nios2/libc-tls.c: New file.
25791         * sysdeps/nios2/libm-test-ulps: New file.
25792         * sysdeps/nios2/machine-gmon.h: New file.
25793         * sysdeps/nios2/math-tests.h: New file.
25794         * sysdeps/nios2/math_private.h: New file.
25795         * sysdeps/nios2/memusage.h: New file.
25796         * sysdeps/nios2/nptl/Makefile: New file.
25797         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
25798         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
25799         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
25800         * sysdeps/nios2/nptl/pthreaddef.h: New file.
25801         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
25802         * sysdeps/nios2/nptl/tls.h: New file.
25803         * sysdeps/nios2/preconfigure: New file.
25804         * sysdeps/nios2/s_fma.c: New file.
25805         * sysdeps/nios2/s_fmaf.c: New file.
25806         * sysdeps/nios2/setjmp.S: New file.
25807         * sysdeps/nios2/sfp-machine.h: New file.
25808         * sysdeps/nios2/sotruss-lib.c: New file.
25809         * sysdeps/nios2/stackguard-macros.h: New file.
25810         * sysdeps/nios2/stackinfo.h: New file.
25811         * sysdeps/nios2/start.S: New file.
25812         * sysdeps/nios2/sysdep.h: New file.
25813         * sysdeps/nios2/tls-macros.h: New file.
25814         * sysdeps/nios2/tst-audit.h: New file.
25815         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
25816         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
25817         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
25818         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
25819         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
25820         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
25821         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
25822         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
25823         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
25824         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
25825         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
25826         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
25827         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
25828         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
25829         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
25830         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
25831         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
25832         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
25833         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
25834         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
25835         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
25836         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
25837         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
25838         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
25839         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
25840         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
25841         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
25842         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
25843         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
25844         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
25845         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
25846         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
25847         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
25848         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
25849         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
25850         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
25851         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
25852         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
25853         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
25854         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
25855         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
25856         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
25857         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
25858         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
25860 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25862         [BZ #17844]
25863         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
25864         (getutent): Use weak_alias in non SHARED case
25865         and default_symbol_version in SHARED case.
25866         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
25867         (getutent_r, pututline): Likewise.
25868         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
25869         (getutid): Likewise.
25870         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
25871         (getutid_r): Likewise.
25872         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
25873         (getutline): Likewise.
25874         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
25875         (getutline_r): Likewise.
25876         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
25877         (updwtmp): Likewise.
25879 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
25881         [BZ #17848]
25882         * sysdeps/s390/s390-32/memcmp.S
25883         (memcmp_g5): Rename to __memcmp_g5.
25884         * sysdeps/s390/s390-32/memcpy.S
25885         (memcpy_g5): Rename to __memcpy_g5.
25886         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25887         (memcpy_mvcle) Rename to __memcpy_mvcle.
25888         * sysdeps/s390/s390-32/memset.S
25889         (memset_g5): Rename to __memset_g5.
25890         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25891         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25892         and use prefixed functions.
25893         * sysdeps/s390/s390-32/multiarch/memcmp.S
25894         (memcmp_z196): Rename to __memcmp_z196.
25895         (memcmp_z10): Rename to __memcmp_z10.
25896         (memcmp): Set alias to __memcmp_g5.
25897         (bcmp): Set alias to __memcmp_g5.
25898         * sysdeps/s390/s390-32/multiarch/memcpy.S
25899         (memcpy_z196): Rename to __memcpy_z196.
25900         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25901         (memcpy_z10): Rename to __memcpy_z10.
25902         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25903         (memcpy): Set alias to __memcpy_g5.
25904         * sysdeps/s390/s390-32/multiarch/memset.S
25905         (memset_z196): Rename to __memset_z196.
25906         Jump to __memset_mvcle instead of memset_mvcle.
25907         (memset_z10): Rename to __memset_z10.
25908         Jump to __memset_mvcle instead of memset_mvcle.
25909         (memset_mvcle) Rename to __memset_mvcle.
25910         (memset): Set alias to __memset_g5.
25911         * sysdeps/s390/s390-64/memcmp.S
25912         (memcmp_z900): Rename to __memcmp_z900.
25913         * sysdeps/s390/s390-64/memcpy.S
25914         (memcpy_z900): Rename to __memcpy_z900.
25915         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25916         (memcpy_mvcle) Rename to __memcpy_mvcle.
25917         * sysdeps/s390/s390-64/memset.S
25918         (memset_z900): Rename to __memset_z900.
25919         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
25920         (IFUNC_RESOLVE): Prefix ifunc-resolve function
25921         and use prefixed functions.
25922         * sysdeps/s390/s390-64/multiarch/memcmp.S
25923         (memcmp_z196): Rename to __memcmp_z196.
25924         (memcmp_z10): Rename to __memcmp_z10.
25925         (memcmp): Set alias to __memcmp_z900.
25926         (bcmp): Set alias to __memcmp_z900.
25927         * sysdeps/s390/s390-64/multiarch/memcpy.S
25928         (memcpy_z196): Rename to __memcpy_z196.
25929         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25930         (memcpy_z10): Rename to __memcpy_z10.
25931         Jump to __memcpy_mvcle instead of memcpy_mvcle.
25932         (memcpy): Set alias to __memcpy_z900.
25933         * sysdeps/s390/s390-64/multiarch/memset.S
25934         (memset_z196): Rename to __memset_z196.
25935         Jump to __memset_mvcle instead of memset_mvcle.
25936         (memset_z10): Rename to __memset_z10.
25937         Jump to __memset_mvcle instead of memset_mvcle.
25938         (memset_mvcle) Rename to __memset_mvcle.
25939         (memset): Set alias to __memset_z900.
25941 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
25943         [BZ #17748]
25944         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
25945         __fesetenv instead of fesetenv.
25947 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25949         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
25950         macro.
25952 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25954         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
25955         regression on LE.
25957         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
25958         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
25959         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
25960         strncmp-power8 object.
25961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25962         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
25963         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
25964         * NEWS: Update.
25966 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
25967             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25969         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
25970         trailing byte check.
25972 2015-01-13  David S. Miller  <davem@davemloft.net>
25974         * include/signal.h (__sigreturn): Guard with __USE_MISC.
25976 2015-01-13  Roland McGrath  <roland@hack.frob.com>
25978         * login/logout.c (logout): Use memset rather than bzero.
25979         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
25980         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
25981         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
25982         (_gethtbyaddr): Likewise.
25983         * locale/programs/simple-hash.c (bcopy): Macro removed.
25985 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25987         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25988         Add strcmp-power8 object.
25989         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
25990         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
25991         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
25992         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
25993         __strcmp_power8 implementation.
25994         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
25995         * NEWS: Update.
25997         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
25998         Add strncpy-power8 and stpncpy-power8 objects.
25999         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26000         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
26001         implementations.
26002         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
26003         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
26004         __stpncpy_power8 implementation.
26005         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
26006         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
26007         __strncpy_power8 implementation.
26008         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
26009         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
26010         * NEWS: Update.
26012         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
26013         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
26014         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
26016         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26017         strncat-power8 object.
26018         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
26019         __strcat_power8 implementation.
26020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26021         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
26022         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
26023         optimized strcat for power8.
26025         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
26026         strcpy-power8 and stpcpy-power8 objects.
26027         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26028         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
26029         implementations.
26030         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
26031         multiarch stpcpy implementation for POWER8.
26032         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
26033         multiarch strcpy implementation for POWER8.
26034         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
26035         __strcpy_power8 function.
26036         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
26037         stpcpy for POWER8.
26038         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
26039         strcpy for POWER8.
26040         * NEWS: Update.
26042 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
26044         [BZ #16009]
26045         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
26046         weights and rules. Use do_xfrm_cached if data fits in cache,
26047         do_xfrm otherwise.  Moved former main loop to...
26048         * (do_xfrm_cached): New function.
26049         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
26050         find_idx, find_position and stack_push.
26051         * (find_idx): New function.
26052         * (find_position): Likewise.
26053         * localedata/sort-test.sh: Added test run for do_xfrm.
26054         * localedata/xfrm-test.c (main): Added command line option
26055         -nocache to run the test with strings that are too large for
26056         the STRXFRM cache.
26058 2015-01-13  Torvald Riegel  <triegel@redhat.com>
26060         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
26061         variable to lll_futex_wake call, not the value itself.
26063 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
26065         [BZ #17803]
26066         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
26067         twom64.  Adjust value to 0x1p-64L.
26068         (__scalblnl): Only return standard underflowing result for K <=
26069         -64 not K <= -63; adjust exponent for underflowing result by 64
26070         not 63.
26071         * math/libm-test.inc (scalbn_test_data): Add more tests.
26072         (scalbln_test_data): Likewise.
26074         [BZ #17834]
26075         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
26076         0x1p63L.
26077         (__scalblnl): Get new exponent of adjusted subnormal value from ES
26078         not HX.
26079         * math/libm-test.inc (scalbn_test_data): Add more tests.
26080         (scalbln_test_data): Likewise.
26082 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26083             Stefani Seibold  <stefani@seibold.net>
26085         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
26086         (sysdep_routines): Add dl-vdso here, ...
26087         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
26088         (sysdep_routines): ... not here.
26089         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
26090         fallback when vDSO is not presented.
26091         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26092         Define with libc_hidden_proto/libc_hidden_data_def definitions.
26093         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
26094         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
26095         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
26096         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
26097         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
26098         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
26099         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
26100         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
26101         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
26102         fallback configurable symbol when vDSO is not available.
26103         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
26104         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
26105         be able to redefine fallback symbol when vDSO is not available.
26106         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
26107         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
26109 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26111         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
26112         (TLS_INIT_TP): Add tm_capable initialization.
26113         (TLS_DEFINE_INIT_TP): Likewise.
26114         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
26115         TCB.
26116         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
26117         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
26118         calculation.
26119         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
26120         transactoion is lock elision is built and TCB tm_capable is set.
26121         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
26122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26123         (INTERNAL_SYSCALL_NCS): Likewise.
26124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26125         (INTERNAL_SYSCALL_NCS): Likewise.
26126         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
26128         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
26129         for powerpc.
26130         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26131         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
26132         and remove it for 32 bits case.
26133         [pthread_rwlock_t] (__rwelision): New field for lock elision.
26134         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
26135         initialization.
26136         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
26137         Disable lock elision with rdlocks if elision is not available.
26139         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
26140         (sysdep_routines): Add lock elision objects.
26141         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
26142         [pthread_mutex_t] (__spins): Rework to add lock elision field.
26143         [pthread_mutex_t] (__elision): Add field.
26144         [__PTHREAD_SPINS]: Adjust to init lock elision field.
26145         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
26146         elision definitions for powerpc.
26147         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
26148         implementation of lock elision for powerpc.
26149         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
26150         implementation of timed lock elision for powerpc.
26151         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
26152         implementation of trylock with lock elision for powerpc.
26153         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
26154         implementaion of unlock for lock elision for powerpc.
26155         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
26156         automatic enable lock elision for mutexes.
26157         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
26158         transaction execution definitions for powerpc.
26159         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
26160         definitions.
26161         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
26162         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
26163         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
26164         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
26165         * NEWS: Update.
26167 2015-01-09  Roland McGrath  <roland@hack.frob.com>
26169         * sysdeps/posix/shm-directory.c: Use <> rather than ""
26170         for #include of <shm-directory.h>.
26172 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
26174         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
26175         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
26177 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
26179         [BZ #17791]
26180         * NEWS: Mention bug fix.
26181         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
26182         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
26183         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
26185 2015-01-09  Torvald Riegel <triegel@redhat.com>
26187         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
26189 2015-01-09  Torvald Riegel <triegel@redhat.com>
26191         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
26193 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26195         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
26196         pointer and cast to uintptr_t.
26198 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26200         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
26201         removed.
26202         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
26204 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
26206         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
26207         of 0.
26209 2015-01-08  Roland McGrath  <roland@hack.frob.com>
26211         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
26212         <nptl/pthreadP.h> instead.
26213         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
26215         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
26216         already defined.
26217         [__SIGRTMIN] (init): Function removed.
26218         [__SIGRTMIN] (initialized): Variable removed.
26219         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
26220         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
26221         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
26222         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
26223         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
26224         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
26225         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
26226         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
26227         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
26228         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
26229         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
26230         * sysdeps/nptl/allocrtsig.c: New file.
26231         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
26232         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
26233         * sysdeps/generic/testrtsig.h: File removed.
26235         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
26236         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
26238         * nptl/nptl-init.c (pthread_functions): Conditionalize
26239         .ptr__nptl_setxid initialization on [SIGSETXID].
26241         * sysdeps/nptl/sys/procfs.h: New file.
26242         * nptl_db/Makefile (headers): Add it.
26243         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
26245         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
26246         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
26247         * nptl/pthread_attr_setaffinity.c: Include it.
26248         * nptl/pthread_setattr_default_np.c: Likewise.
26249         * nptl/check-cpuset.h: New file.
26251 2015-01-08  Richard Henderson  <rth@redhat.com>
26253         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
26254         (CFLAGS-tst-execstack-prog.c): Likewise.
26255         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
26257 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
26258             Sandra Loosemore  <sandra@codesourcery.com>
26259             Andrew Jenner  <andrew@codesourcery.com>
26260             Joseph Myers  <joseph@codesourcery.com>
26261             Nathan Sidwell  <nathan@codesourcery.com>
26263         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
26264         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
26265         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
26266         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
26267         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
26268         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
26269         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
26270         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
26271         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
26272         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
26273         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
26274         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
26275         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
26276         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
26277         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
26278         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
26279         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
26281 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26283         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
26284         timespec struct member in syscall macro.
26285         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26286         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
26287         first timeval struct member in syscall macro.
26288         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
26290 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
26292         [BZ #17748]
26293         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
26294         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
26295         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
26296         __feupdateenv and define as weak alias of __feupdateenv.  Use
26297         libm_hidden_weak.
26298         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
26299         libm_hidden_def.
26300         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
26301         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
26302         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26303         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
26304         libm_hidden_def.
26305         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
26306         __feupdateenv and define as weak alias of __feupdateenv.  Use
26307         libm_hidden_weak.
26308         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
26309         libm_hidden_def.
26310         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
26311         __feupdateenv and define as weak alias of __feupdateenv.  Use
26312         libm_hidden_weak.
26313         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
26314         libm_hidden_def.
26315         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26316         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26317         (__feupdateenv): Likewise.
26318         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
26319         __feupdateenv and define as weak alias of __feupdateenv.  Use
26320         libm_hidden_weak.
26321         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26322         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
26323         libm_hidden_def.
26324         * sysdeps/tile/math_private.h (__feupdateenv): New inline
26325         function.
26326         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
26327         libm_hidden_def.
26328         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
26329         __feupdateenv instead of feupdateenv.
26330         (default_libc_feupdateenv_test): Likewise.
26331         (libc_feresetround_ctx): Likewise.
26333 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26335         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
26336         prototype.
26338 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
26340         * posix/regcomp.c (parse_bracket_exp): Initialize type to
26341         COLL_SYM in a couple of places to avoid uninitialized variable
26342         wanings on tilegx gcc 4.8.2.
26344 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26346         * sysdeps/aarch64/strcpy.S: New file.
26347         * sysdeps/aarch64/stpcpy.S: New file.
26348         * NEWS: Updated.
26350 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
26352         * sysdeps/aarch64/strrchr.S: New file.
26353         * NEWS: Updated.
26355 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
26357         [BZ #17658]
26358         * stdlib/setenv.c: Fix memory leak when setting large,
26359         duplicate string.
26361 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
26363         [BZ #17273]
26364         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
26365         and tabs from buffer before parsing fstab entry.
26366         * misc/tst-mntent.c (main): Add test for mount entry with
26367         trailing spaces and tabs.
26369 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
26371         [BZ #17748]
26372         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
26373         * math/fesetround.c (fesetround): Rename to __fesetround and
26374         define as weak alias of __fesetround.  Use libm_hidden_weak.
26375         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
26376         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
26377         * sysdeps/arm/fesetround.c (fesetround): Likewise.
26378         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
26379         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
26380         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
26381         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
26382         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
26383         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
26384         __fesetround_inline.
26385         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
26386         __fesetround_inline instead of __fesetround.
26387         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
26388         __fesetround and define as weak alias of __fesetround.  Use
26389         libm_hidden_weak.  Call __fesetround_inline instead of
26390         __fesetround.
26391         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
26392         __fesetround and define as weak alias of __fesetround.  Use
26393         libm_hidden_weak.
26394         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
26395         Likewise.
26396         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
26397         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
26398         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
26399         * sysdeps/tile/math_private.h (__fesetround): New inline function.
26400         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
26401         __fesetround and define as weak alias of __fesetround.  Use
26402         libm_hidden_weak.
26403         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
26404         __fesetround instead of fesetround.
26405         (default_libc_feholdexcept_setround): Likewise.
26406         (libc_feholdsetround_ctx): Likewise.
26407         (libc_feholdsetround_noex_ctx): Likewise.
26409         [BZ #17748]
26410         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
26411         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
26412         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26413         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26414         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26415         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
26416         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26417         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
26418         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26419         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26420         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26421         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26422         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26423         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26424         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
26425         libm_hidden_def.
26426         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
26427         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
26428         Likewise.
26429         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
26430         define as weak alias of __fesetenv.  Use libm_hidden_weak.
26431         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
26432         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
26433         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
26434         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
26435         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
26436         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
26437         __fesetenv instead of fesetenv.
26438         (libc_feresetround_noex_ctx): Likewise.
26439         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26440         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
26441         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
26442         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26443         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26444         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26445         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
26446         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
26447         (__feupdateenv): Likewise.
26448         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26449         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26450         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26451         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
26453 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26455         [BZ #17806]
26456         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
26457         addresses have been freed.
26459 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
26461         * resolv/res_init.c (__res_vinit): Improve comments about nserv
26462         and nservall.
26464 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
26466         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
26467         Clean up check_pf allocation pattern. addresses
26469 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26471         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
26472         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
26473         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
26474         * nptl/pthread_exit.c (__pthread_exit): Likewise.
26475         * nptl/pthread_join.c (pthread_join): Likewise.
26476         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
26477         * sysdeps/posix/waitid.c (__waitid): Likewise.
26478         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26479         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26480         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26481         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26482         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26483         Likewise.
26484         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26485         (__libc_pread64): Likewise.
26486         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26487         (__libc_pwrite): Likewise.
26488         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26489         (__libc_pwrite64): Likewsie.
26490         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26491         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26492         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26493         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26494         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26495         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26496         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
26497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26498         Likewise.
26499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26500         (__libc_pread64): Likewise.
26501         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
26502         Likewise.
26503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
26504         (__libc_pwrite64): Likewise.
26505         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26506         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26507         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
26508         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
26509         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26510         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26511         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
26512         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26513         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26514         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26515         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
26516         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26517         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26518         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
26519         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26520         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26521         Likewise.
26523 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
26525         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
26526         (CFLAGS-test-double.c): Likewise.
26527         (CFLAGS-test-ldouble.c): Likewise.
26528         (CPPFLAGS-test-ifloat.c): Likewise.
26529         (CPPFLAGS-test-idouble.c): Likewise.
26530         (CPPFLAGS-test-ildoubl.c): Likewise.
26531         (CFLAGS-test-test-fenv.c): Remove variable.
26532         (CFLAGS-test-misc.c): Likewise.
26534 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
26536         [BZ #17797]
26537         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
26538         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
26539         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
26540         CLOCKS_PER_SEC == 1000000.
26541         * time/clocktest.c (main): Replace %ld with %jd and cast to
26542         intmax_t.
26544 2015-01-05  Roland McGrath  <roland@hack.frob.com>
26546         * sysdeps/generic/unwind-resume.h: New file.
26547         * sysdeps/gnu/unwind-resume.c: Include it.
26548         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
26549         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
26550         argument list.
26551         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
26552         global rather than static.
26553         (_Unwind_Resume): Update user.
26554         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
26555         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
26556         rather than static.  Add __attribute__ ((cold)).
26557         (_Unwind_Resume, __gcc_personality_v0): Update callers.
26558         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
26559         * sysdeps/arm/arm-unwind-resume.S: New file.
26560         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
26561         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
26562         * sysdeps/arm/Makefile [$(subdir) = csu]
26563         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
26564         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
26565         Add rt-arm-unwind-resume.
26566         [$(subdir) = nptl]
26567         (libpthread-sysdep_routines, libpthread-shared-only-routines):
26568         Add pt-arm-unwind-resume.
26569         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
26570         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
26572 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26574         [BZ #17748]
26575         * include/fenv.h (__feholdexcept): Declare.  Use
26576         libm_hidden_proto.
26577         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
26578         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
26579         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26580         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
26581         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
26582         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
26583         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
26584         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26585         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
26586         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
26587         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26588         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
26589         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
26590         (feholdexcept): Likewise.
26591         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
26592         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
26593         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
26594         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26595         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
26596         __feholdexcept instead of feholdexcept.
26597         (default_libc_feholdexcept_setround): Likewise.
26599 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26601         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
26602         to avoid using stl/str to align destination.
26604 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26606         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
26608 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26610         [BZ #17796]
26611         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
26612         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
26613         Define as weak alias not strong alias.
26615 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
26617         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
26618         bltzal with addiupc.
26619         (RTLD_START): Ditto.
26621 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
26623         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
26624         for __vdso_* functions in declarations.
26625         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
26626         definitions.
26627         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
26628         INTERNAL_VSYSCALL): Use struct return types to check for error.
26630         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
26631         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
26632         function with cast from llround().
26633         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
26634         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
26635         Define.
26637 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
26639         [BZ #17793]
26640         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
26641         Define as weak alias not strong alias.
26643         [BZ #17635]
26644         * ctype/ctype-c99.c: New file.  isblank implementation moved from
26645         ...
26646         * ctype/ctype-extn.c: ... here.
26647         (__isblank_l): Move to ...
26648         * ctype/ctype-c99_l.c: ... here.  New file.
26649         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
26650         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
26651         Remove variable.
26652         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
26653         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
26654         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
26655         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
26656         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
26658         [BZ #17777]
26659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
26660         (posix_fadvise64): Define as weak alias not strong alias.
26661         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
26662         (posix_fallocate64): Likewise.
26663         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
26664         Remove variable.
26665         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
26666         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
26667         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
26668         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
26669         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
26671 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
26673         [BZ #16191]
26674         * NEWS: Mention bug fix.
26675         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
26676         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
26677         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
26678         (HOST_STACK_END_ADDR): Likewise.
26680 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26682         [BZ #17748]
26683         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
26684         * math/fegetround.c (fegetround): Rename to __fegetround and
26685         define as weak alias of __fegetround.  Use libm_hidden_weak.
26686         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
26687         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
26688         * sysdeps/arm/fegetround.c (fegetround): Likewise.
26689         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
26690         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
26691         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
26692         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
26693         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
26694         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
26695         Undefine after rather than before function definition; use
26696         parentheses around function name in definition.
26697         (__fegetround): Also undefine macro after function definition.
26698         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
26699         __fegetround and define as weak alias of __fegetround.  Use
26700         libm_hidden_weak.  Do not undefine as macro.
26701         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
26702         Likewise.
26703         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
26704         __fegetround and define as weak alias of __fegetround.  Use
26705         libm_hidden_weak.
26706         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
26707         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
26708         * sysdeps/tile/math_private.h (__fegetround): New inline function.
26709         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
26710         __fegetround and define as weak alias of __fegetround.  Use
26711         libm_hidden_weak.
26712         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
26713         __fegetround instead of fegetround.
26715         [BZ #17782]
26716         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
26717         Condition macro definition on [__USE_MISC].
26719         [BZ #17781]
26720         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
26721         (struct sigaction): Change type of sa_flags field to int.
26723         [BZ #17780]
26724         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
26725         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
26726         __glibc_reserved0.
26728         * nptl/version.c (banner): Use single year in copyright notice.
26730         * NEWS: Update copyright dates.
26731         * catgets/gencat.c (print_version): Likewise.
26732         * csu/version.c (banner): Likewise.
26733         * debug/catchsegv.sh: Likewise.
26734         * debug/pcprofiledump.c (print_version): Likewise.
26735         * debug/xtrace.sh (do_version): Likewise.
26736         * elf/ldconfig.c (print_version): Likewise.
26737         * elf/ldd.bash.in: Likewise.
26738         * elf/pldd.c (print_version): Likewise.
26739         * elf/sotruss.sh: Likewise.
26740         * elf/sprof.c (print_version): Likewise.
26741         * iconv/iconv_prog.c (print_version): Likewise.
26742         * iconv/iconvconfig.c (print_version): Likewise.
26743         * locale/programs/locale.c (print_version): Likewise.
26744         * locale/programs/localedef.c (print_version): Likewise.
26745         * login/programs/pt_chown.c (print_version): Likewise.
26746         * malloc/memusage.sh (do_version): Likewise.
26747         * malloc/memusagestat.c (print_version): Likewise.
26748         * malloc/mtrace.pl: Likewise.
26749         * manual/libc.texinfo: Likewise.
26750         * nptl/version.c (banner): Likewise.
26751         * nscd/nscd.c (print_version): Likewise.
26752         * nss/getent.c (print_version): Likewise.
26753         * nss/makedb.c (print_version): Likewise.
26754         * posix/getconf.c (main): Likewise.
26755         * scripts/test-installation.pl: Likewise.
26756         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
26758 2015-01-02  Will Newton  <will.newton@linaro.org>
26760         * sysdeps/arm/armv7/configure: Removed.
26761         * sysdeps/arm/armv7/configure.ac: Likewise.
26763 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
26765         * All files with FSF copyright notices: Update copyright dates
26766         using scripts/update-copyrights.
26767         * intl/plural.c: Regenerated.
26768         * locale/programs/charmap-kw.h: Likewise.
26769         * locale/programs/locfile-kw.h: Likewise.
26771 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
26773         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
26775 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26777         [BZ #17748]
26778         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
26779         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
26780         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26781         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26782         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26783         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
26784         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26785         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
26786         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26787         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26788         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26789         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26790         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26791         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26792         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
26793         libm_hidden_def.
26794         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
26795         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
26796         Likewise.
26797         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
26798         define as weak alias of __fegetenv.  Use libm_hidden_weak.
26799         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
26800         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
26801         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
26802         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
26803         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
26804         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
26805         __fegetenv instead of fegetenv.
26806         (libc_feholdsetround_noex_ctx): Likewise.
26808 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
26810         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
26811         (Elf_MIPS_ABIFlags_v0): New structure.
26812         (EF_MIPS_FP64): Define.
26813         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
26814         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
26815         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
26816         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
26817         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
26818         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
26819         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
26820         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
26821         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
26822         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
26823         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
26824         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
26825         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
26826         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
26827         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
26828         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
26829         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
26830         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
26831         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
26832         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
26833         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
26834         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
26835         field.
26836         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
26837         EF_MIPS_FP64.
26838         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
26839         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
26840         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
26841         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
26842         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
26843         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
26844         * sysdeps/mips/tst-abi-interlink.c: Likewise.
26845         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
26846         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
26847         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
26848         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
26849         record the current FP ABI extension.
26850         (mips-mode-switch): Define to show if kernel headers support mode
26851         switching.
26852         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
26853         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
26854         supported SYSV ABI version to 3.
26855         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
26856         feature.
26858 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
26859             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26861         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
26862         path.
26863         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
26865 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
26867         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
26868         __fegetround and redefine to call __fegetround.  Remove condition
26869         on [!__NO_MATH_INLINES].
26870         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
26871         function.
26872         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
26873         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
26874         Remove macro.
26875         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
26876         instead of <fenv_libc.h>.
26877         (__llrintl): Call fegetround instead of __fegetround.
26878         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
26879         instead of <fenv_libc.h>.
26880         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
26881         (__lrintl): Call fegetround instead of __fegetround.
26882         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
26883         instead of <fenv_libc.h>.
26884         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
26885         (__rintl): Call fegetround instead of __fegetround.
26887 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
26889         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
26890         arrays.
26892 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26894         [BZ #17775]
26895         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
26896         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
26897         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
26899 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
26901         * sysdeps/i386/tls-macros.h: Include <features.h>.
26902         (TLS_LE): Use non-PIC version for GCC >= 5.0.
26903         (TLS_IE): Likewise.
26904         (TLS_LD): Likewise.
26905         (TLS_GD): Likewise.
26906         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
26907         define for GCC >= 5.0.
26909 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
26911         * math/test-fenv.c (test_single_exception, set_single_exc,
26912         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
26913         feexcp_mask_test, feenable_test, fe_single_test): Add
26914         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
26915         case where they are not used.
26916         * math/libm-test.inc: Likewise.
26917         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
26918         unused in the absence of FP rounding/exception support.
26919         * stdio-common/tst-printf-round.c: Likewise.
26920         * stdlib/tst-strtod-round.c: Likewise.
26921         * stdlib/tst-strtod-underflow.c: Likewise.
26923 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
26925         [BZ #17723]
26926         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
26927         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
26928         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26929         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26930         libm_hidden_weak.
26931         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
26932         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26933         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
26934         libm_hidden_def.
26935         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26936         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26937         libm_hidden_weak.
26938         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
26939         Likewise.
26940         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
26941         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26942         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26943         libm_hidden_weak.
26944         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26945         libm_hidden_def.
26946         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
26947         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26948         (__feraiseexcept): Likewise.
26949         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
26950         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
26951         libm_hidden_weak.
26952         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
26953         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
26954         libm_hidden_def.
26955         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
26956         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
26957         Use libm_hidden_def.
26958         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
26959         libm_hidden_def.
26960         (feraiseexcept): Define as weak not strong alias.  Use
26961         libm_hidden_weak.
26962         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
26963         New inline function.  Factored out of ...
26964         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
26965         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
26966         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
26967         feraiseexcept.
26968         * math/w_acos.c (__acos): Likewise.
26969         * math/w_asin.c (__asin): Likewise.
26970         * math/w_ilogb.c (__ilogb): Likewise.
26971         * math/w_j0.c (y0): Likewise.
26972         * math/w_j1.c (y1): Likewise.
26973         * math/w_jn.c (yn): Likewise.
26974         * math/w_log.c (__log): Likewise.
26975         * math/w_log10.c (__log10): Likewise.
26976         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
26977         * sysdeps/aarch64/fpu/math_private.h
26978         (libc_feupdateenv_test_aarch64): Likewise.
26979         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
26980         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
26981         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
26982         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
26983         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
26984         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
26985         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
26986         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
26987         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
26988         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
26990 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
26992         [BZ #17732]
26993         * io/test-utime.c (main): Replace %ld with %jd and cast to
26994         intmax_t.
26995         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
26996         * nptl/tst-mutex5.c: Include <stdint.h>.
26997         (do_test): Replace %ld with %jd and cast to intmax_t.
26998         * posix/tst-regex.c (run_test): Likewise.
26999         (run_test_backwards): Likewise.
27000         * rt/tst-clock.c: Include <stdint.h>.
27001         (clock_test): Replace %ld with %jd and cast to intmax_t.
27002         * rt/tst-cpuclock1.c: Include <stdint.h>.
27003         (do_test): Replace %lu with %ju and cast to uintmax_t.
27004         * rt/tst-cpuclock2.c: Include <stdint.h>.
27005         (do_test): Replace %lu with %ju and cast to uintmax_t.
27006         * rt/tst-mqueue1.c: Include <stdint.h>.
27007         (check_attrs): Replace %ld with %jd and cast to intmax_t.
27008         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
27009         intmax_t.
27010         * rt/tst-mqueue4.c (do_test): Likewise.
27011         * rt/tst-timer4.c: Include <stdint.h>.
27012         (check_ts): Replace %ld with %jd and cast to intmax_t.
27013         (do_test): Likewise.
27014         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
27015         and cast to intmax_t.
27016         * sysdeps/pthread/tst-timer.c (main): Likewise.
27017         * time/clocktest.c (main): Likewise.
27018         * time/tst-posixtz.c (do_test): Likewise.
27019         * timezone/tst-timezone.c (main): Likewise.
27021 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
27022             H.J. Lu  <hongjiu.lu@intel.com>
27024         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
27025         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
27026         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
27027         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
27028         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
27029         version if bit_Fast_Unaligned_Load is set.
27030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
27031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
27032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
27033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
27034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
27035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
27036         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27037         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
27038         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
27039         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
27040         to 4.
27041         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
27042         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
27043         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
27044         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
27046 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
27048         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
27049         instead of #if to avoid a Wundef warning.
27050         * stdlib/tst-limits.c (do_test): Likewise.
27052         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
27053         parallel other exception macros.
27054         (fegetenv): Convert from macro to extern inline so that it applies
27055         retroactively to inline functions already seen by the compiler.
27056         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
27058         * posix/Makefile (before-compile): Use $(objpfx) for
27059         posix-conf-vars-def.h.
27061 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27063         * posix/getconf.c (main): Use size_t for type of I.
27064         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
27065         NSPEC.
27067         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
27068         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
27069         * posix/posix-envs.def: Likewise.
27070         * sysdeps/posix/sysconf.c: Likewise.
27071         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
27072         (specs): Remove array.
27073         * scripts/gen-posix-conf-vars.awk: Support generation of specs
27074         array.
27076         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
27077         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
27078         (__sysconf): Use CONF_IS_* macros.
27080         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
27081         ($(objpfx)posix-conf-vars-def.h): New target.
27082         * posix/posix-conf-vars.list: New file.
27083         * posix/posix-conf-vars.h: New file.
27084         * posix/confstr.c: Include posix-conf-vars.h.
27085         (confstr): Use CONF_IS_* macros.
27086         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
27087         CONF_IS_* macros.
27088         * scripts/gen-posix-conf-vars.awk: New file.
27090 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
27092         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
27093         fegetround): Add no-op macros to avoid linknamespace issues.
27095         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
27096         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
27098         * sysdeps/unix/sysv/linux/tile/sysdep.h
27099         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
27100         assembly-specific section to avoid a redefinition warning.
27102         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
27103         long before casting to pointer to avoid a cast warning.
27105 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
27107         * sysdeps/tile/tilegx/Implies: New file.
27109 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
27111         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
27113 2014-12-23  Florian Weimer  <fweimer@redhat.com>
27115         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
27117 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27119         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
27120         not define.
27121         * sysdeps/unix/sysv/linux/utimes.c: Do not include
27122         <kernel-features.h>.
27123         (__utimes) [__NR_utimes]: Make code unconditional.
27124         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
27125         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
27126         (__ASSUME_UTIMES): Do not undefine.
27127         * sysdeps/unix/sysv/linux/tile/kernel-features.h
27128         (__ASSUME_UTIMES): Likewise.
27129         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
27130         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
27131         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
27132         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
27134 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27136         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
27138 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
27140         [BZ #17747]
27141         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
27142         alias to weak alias for j0l, y0l.
27143         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
27144         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
27146         [BZ #17746]
27147         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
27148         conversion.
27150 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
27152         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
27153         to zero if not already defined.
27155 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27157         [BZ #17724]
27158         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
27159         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
27160         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
27161         (char *) casts added.
27162         * sysdeps/ieee754/k_standardf.c: New file.
27163         * sysdeps/ieee754/k_standardl.c: Likewise.
27164         * math/Makefile (libm-support): Remove k_standard.
27165         (libm-calls): Add k_standard.
27167 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27169         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
27170         Optimize to avoid an unnecessary FPCR read.
27172 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27174         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
27175         Optimize to reduce FPCR/FPSR accesses.
27177 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27179         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
27180         Call libc_fetestexcept_aarch64.
27182 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
27184         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
27185         Call libc_fesetround_aarch64.
27187 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
27189         [BZ #17733]
27190         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
27191         (__bind): Do not define as weak alias.
27192         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
27193         define.
27194         (__getsockname): Do not define as weak alias.
27196 2014-12-22  Will Newton  <will.newton@linaro.org>
27198         * manual/install.texi: Document that we require bison 2.7
27199         or above.
27200         * INSTALL: Regenerate.
27201         * configure.ac: Use AC_CHECK_PROG_VER instead of
27202         AC_PATH_PROG when checking for bison and check for
27203         version 2.7 or above.
27204         * configure: Regenerate.
27206 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
27208         [BZ #17745]
27209         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
27210         * sysdeps/tile/ffsll.c (ffsll): To here.
27212         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
27214 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27216         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
27217         if not defined.
27218         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
27219         definition.
27220         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27221         hidden ___tls_get_addr.
27222         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
27223         hidden __tls_get_addr.
27224         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
27225         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
27226         Likewise.
27228 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
27230         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
27231         _dl_init call.
27233 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
27235         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
27236         from "call _dl_init@PLT".
27237         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
27239 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
27241         * manual/search.texi: (Array Sort Function): Clarify stable sorting
27242         guarantees.
27244 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
27246         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
27248 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27250         [BZ #17744]
27251         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
27252         strnlen.
27254 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27256         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
27257         of multu on MIPSr6.
27258         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
27259         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
27260         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
27261         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
27262         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
27264 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
27266         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
27267         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
27268         (PTR_SUBU): Use subu for mips32r6/mips64r6.
27269         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
27270         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
27271         mips32r6/mips64r6.
27272         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
27274 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
27276         * string/strncat.c (STRNCAT): Simplify implementation.
27278 2014-12-19  David S. Miller  <davem@davemloft.net>
27280         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
27281         access the quad as both a long double and as a series of 4 words.
27283         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
27284         link_map->l_info array access.
27286 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
27288         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
27290         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
27291         * math/atest-exp2.c (TIMEOUT): Likewise.
27292         * math/atest-sincos.c (TIMEOUT): Likewise.
27294 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27296         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
27297         -Wno-error with -fno-builtin-lround.
27299 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27301         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
27302         Contains futex constants and functions moved over from ...
27303         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
27304         <lowlevellock-futex.h>.
27305         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27306         (lll_timedwait_tid): Add comments and parentheses around macro
27307         arguments.
27309 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27311         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
27312         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
27313         (__lll_private_flag): Remove.
27314         (lll_futex_wait): Likewise.
27315         (lll_futex_timed_wait): Likewise.
27316         (lll_futex_wake): Likewise.
27317         (lll_futex_requeue): Likewise.
27318         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
27319         (__lll_timedwait_tid): Spell out argument names.
27320         (lll_timedwait_tid): Add comments and parentheses around macro
27321         arguments.
27322         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
27323         LLL_SHARED and LLL_PRIVATE usable from assembly code.
27325 2014-12-19  Torvald Riegel  <triegel@redhat.com>
27327         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
27328         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
27329         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
27330         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
27331         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
27332         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
27333         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
27334         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
27335         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
27336         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
27337         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
27338         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
27339         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
27340         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
27341         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
27342         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
27343         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
27344         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
27345         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
27347 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27349         * sysdeps/x86_64/x32/Makefile: New file.
27351 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
27353         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
27354         1L with (mp_limb_t) 1.
27356 2014-12-17  Roland McGrath  <roland@hack.frob.com>
27358         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
27359         * nptl/libc_pthread_init.c: ... here.
27360         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
27361         * nptl/register-atfork.c: ... here.
27363         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
27364         Use pthread_sigmask rather than INTERNAL_SYSCALL.
27365         Use assert_perror to check its return value.
27366         (__gai_create_helper_thread): Likewise.
27368         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
27370         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
27372 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
27374         [BZ #17725]
27375         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
27376         __profil_counter.
27377         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
27378         Likewise.
27379         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
27380         Likewise.
27381         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
27382         Likewise.
27383         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
27384         (profil_counter): Likewise.
27385         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
27386         (profil_counter): Likewise.
27387         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
27388         Likewise.
27389         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
27390         Likewise.
27391         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
27392         (profil_counter): Likewise.
27393         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
27394         Likewise.
27395         [!__profil_counter] (profil_counter): Define as weak alias of
27396         __profil_counter.
27397         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
27398         (profil_counter): Rename to __profil_counter.
27399         [!__profil_counter] (profil_counter): Define as weak alias of
27400         __profil_counter.
27401         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
27402         (profil_counter): Rename to __profil_counter.
27403         [!__profil_counter] (profil_counter): Define as weak alias of
27404         __profil_counter.
27405         * sysdeps/posix/profil.c: Update comment referring to
27406         profil_counter.
27407         (__profil): Use __profil_counter instead of profil_counter.
27408         * sysdeps/posix/sprofil.c (profil_counter): Rename to
27409         __profil_counter.  Use __profil_counter_ushort and
27410         __profil_counter_uint in definitions.
27411         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
27412         instead of profil_counter_uint and profil_counter_ushort.
27414         [BZ #17722]
27415         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
27416         define as weak alias of __inet_makeaddr.
27417         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
27418         as weak alias of __inet_addr.
27419         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
27420         as weak alias of __inet_pton.  Use libc_hidden_weak.
27421         * include/arpa/inet.h (__inet_pton): Declare.  Use
27422         libc_hidden_proto.
27423         (inet_makeaddr): Don't use libc_hidden_proto.
27424         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
27425         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
27426         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
27427         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
27428         Remove variable.
27429         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27430         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27432 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
27434         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
27436 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27438         * stdio-common/bug-vfprintf-nargs.c (do_test):
27439         Cast value to intptr_t to avoid format warning
27440         for usage with PRIdPTR printing macro.
27442 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
27444         * libio/tst-widetext.c (do_test):
27445         Use format type %td instead of %Zd for ptrdiff_t
27446         in order to avoid format warning.
27448 2014-12-17  Andreas Schwab  <schwab@suse.de>
27450         * nscd/mem.c (gc): Add size_t cast to match printf format.
27452 2014-12-16  Roland McGrath  <roland@hack.frob.com>
27454         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
27455         (init): Apply PTR_MANGLE to pointers before storing them.
27456         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
27457         before using them.
27459 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
27461         [BZ #17719]
27462         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
27463         define as weak alias of __memrchr.
27464         (__memrchr): Do not define as strong alias of memrchr.
27465         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
27466         Remove variable.
27467         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27468         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27469         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27471         [BZ #17717]
27472         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
27473         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
27474         (if_indextoname): Rename to __if_indextoname and define as weak
27475         alias of __if_indextoname.  Use libc_hidden_weak.
27476         (if_freenameindex): Rename to __if_freenameindex and define as
27477         weak alias of __if_freenameindex.
27478         (if_nameindex): Rename to __if_nameindex and define as weak alias
27479         of __if_nameindex.
27480         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
27481         __if_nametoindex and define as weak alias of __if_nametoindex.
27482         Use libc_hidden_weak.
27483         (if_freenameindex): Rename to __if_freenameindex and define as
27484         weak alias of __if_freenameindex.
27485         (if_nameindex): Rename to __if_nameindex and define as weak alias
27486         of __if_nameindex.
27487         (if_indextoname): Rename to __if_indextoname and define as weak
27488         alias of __if_indextoname.  Use libc_hidden_weak.
27489         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
27490         __if_nametoindex and define as weak alias of __if_nametoindex.
27491         Use libc_hidden_weak.
27492         (if_freenameindex): Rename to __if_freenameindex and define as
27493         weak alias of __if_freenameindex.  Use libc_hidden_weak.
27494         (if_nameindex_netlink): Use __if_freenameindex instead of
27495         if_freenameindex.
27496         (if_nameindex): Rename to __if_nameindex and define as weak alias
27497         of __if_nameindex.  Use libc_hidden_weak.
27498         (if_indextoname): Rename to __if_indextoname and define as weak
27499         alias of __if_indextoname.  Use libc_hidden_weak.
27500         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
27501         libc_hidden_proto.
27502         [!_ISOMAC] (__if_freenameindex): Likewise.
27503         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
27504         if_nametoindex.
27505         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
27506         variable.
27507         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27508         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27509         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27510         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27511         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27512         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27513         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27515         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
27516         Remove variable.
27517         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27518         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27520 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
27522         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
27523         subscript above bounds'
27525         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
27526         bounds.
27528 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
27530         * libio/tst-fopenloc.c: Use test-skeleton.c.
27532         * stdlib/tst-bsearch.c: Use test-skeleton.c.
27533         (entry): Rename to ITEM.
27534         (do_test, comp): Adjust.
27536         * stdio-common/tst-fseek.c: Use test-skeleton.c.
27538 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27540         * string/tester.c: Include <libc-internal.h>.
27541         (test_memset): Ignore -Wmemset-transposed-args.
27543 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27545         * misc/tst-mntent2.c (do_test): Fix warning.
27547 2014-12-16  Torvald Riegel  <triegel@redhat.com>
27549         * elf/tst-unique4lib.cc(a): Mark as used.
27551 2014-12-16  Florian Weimer  <fweimer@redhat.com>
27553         [BZ #17630]
27554         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
27555         names.
27557 2014-12-16  Allan McRae  <allan@archlinux.org>
27559         * stdio-common/Makefile (tests): Re-add bug26.
27561 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
27563         [BZ #17657]
27564         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
27565         static array.
27567 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
27569         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
27570         (__lll_lock_wait): Likewise.
27571         (__lll_timedlock_wait): Likewise.
27572         (__lll_timedwait_tid): Likewise.
27573         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
27574         (__lll_robust_timedlock_wait): Likewise.
27575         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
27576         (lll_cond_trylock): Likewise.
27577         (__lll_lock): Likewise.
27578         (__lll_robust_lock): Likewise.
27579         (__lll_cond_lock): Likewise.
27580         (lll_robust_cond_lock): Likewise.
27581         (__lll_timedlock): Likewise.
27582         (__lll_robust_timedlock): Likewise.
27583         (__lll_unlock): Likewise.
27584         (__lll_robust_unlock): Likewise.
27585         (lll_wait_tid): Likewise.
27586         (lll_timedwait_tid): Likewise.
27588 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27590         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
27592 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27594         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
27596 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27598         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
27599         * stdio-common/tst-sprintf.c: Likewise.
27601 2014-12-15  Torvald Riegel  <triegel@redhat.com>
27603         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
27605 2014-12-15  Jeff Law  <law@redhat.com>
27607         [BZ #16617]
27608         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
27609         on the heap.  (CVE-2012-3406)
27610         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
27611         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
27612         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
27614 2014-12-15  Will Newton  <will.newton@linaro.org>
27616         * manual/install.texi: Bump required version of texinfo
27617         to 4.7 from 4.5.
27618         * INSTALL: Regenerated.
27619         * configure.ac: Check for makeinfo version 4.7 and above.
27620         * configure: Regenerated.
27622 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27624         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
27625         PREFIX, string constant to insert between directory and name.
27626         * sysdeps/posix/shm_open.c: Update caller.
27627         * sysdeps/posix/shm_unlink.c: Likewise.
27628         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
27629         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
27630         (SEM_SHM_PREFIX): New macro.
27631         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
27632         [$(have-thread-library) = no].
27633         * nptl/Makefile (libpthread-routines): Add shm-directory.
27634         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
27635         * sysdeps/nptl/shm-directory.h: New file.
27636         * sysdeps/posix/shm-directory.c
27637         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
27638         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
27639         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
27640         INTERNAL_SYSCALL.
27641         (__where_is_shmfs): Function removed.
27642         (mountpoint, defaultmount, defaultdir, __namedsem_once):
27643         Variables removed.
27644         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
27645         Use SHM_GET_NAME.
27646         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
27648         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
27649         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
27650         unconditional for use inside libpthread.
27651         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
27653 2014-12-12  Roland McGrath  <roland@hack.frob.com>
27655         * nptl/pthread_getaffinity.c: New file.
27656         * nptl/pthread_setaffinity.c: New file.
27657         * nptl/pthread_getname.c: New file.
27658         * nptl/pthread_setname.c: New file.
27660         * nptl/pthread_create.c (START_THREAD_DEFN)
27661         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
27663 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27664             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27666         * resolv/res_send.c (send_vc): Disable warning resplen may
27667         be used uninitialized.
27669 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
27671         * nptl/tst-mutex6.c
27672         (ATTR_NULL): New define checks ATTR against NULL.
27673         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
27674         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
27676 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
27678         [BZ #17581]
27679         * malloc/hooks.c
27680         (mem2mem_check): Revert my previous change.
27681         (malloc_check_get_size): Revert my previous change.
27682         (mem2chunk_check): Revert my previous change.
27684 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27686         * sysdeps/posix/shm-directory.c: New file.
27687         * sysdeps/posix/shm-directory.h: New file.
27688         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
27689         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
27690         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
27691         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
27692         Transmute EPERM to EACCES.
27693         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
27694         from ...
27695         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
27696         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
27698 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
27700         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
27701         pointer and cast to uintptr_t.
27702         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
27703         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
27704         Add cast to avoid warning.
27705         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
27707 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27709         * nptl/semaphore.h: Move to ...
27710         * sysdeps/pthread/semaphore.h: ... here.
27711         * Makefile (installed-headers): Change nptl/semaphore.h to
27712         sysdeps/pthread/semaphore.h.
27714 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27716         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
27717         generated error format strings.
27719         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
27720         -Wformat-extra-args warnings for scanf formats.
27721         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
27722         test of zero-length format (duh).
27723         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
27724         corner-case scanf format test.
27725         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
27726         generated fprintf format string.
27727         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
27728         corner-case sprintf format tests.
27729         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
27730         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
27731         -Wformat-extra-args warnings throughout.
27732         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
27733         (CFLAGS-scanf4.c): Likewise.
27734         (CFLAGS-scanf7.c): Likewise.
27735         (CFLAGS-tst-sprintf.c): Likewise.
27736         (CFLAGS-tst-printf.c): Likewise.
27737         (CFLAGS-tst-printfsz.c): Likewise.
27739 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
27741         * include/cpio.h: New file.
27742         * include/fmtmsg.h: Likewise.
27744         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
27745         corresponding format argument to size_t.
27746         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
27747         arguments.
27748         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
27749         corresponding format argument to size_t.
27750         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
27751         arguments.
27752         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
27753         corresponding format argument to size_t.
27754         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
27755         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
27756         (CFLAGS-tst-mbswcs2.c): Likewise.
27757         (CFLAGS-tst-mbswcs3.c): Likewise.
27758         (CFLAGS-tst-mbswcs4.c): Likewise.
27759         (CFLAGS-tst-mbswcs5.c): Likewise.
27760         (CFLAGS-tst-trans.c): Likewise.
27762 2014-12-11  Roland McGrath  <roland@hack.frob.com>
27764         * posix/regexbug1.c (main): Use "%s" format with regerror results,
27765         rather than assuming they won't contain any '%'s.
27767 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
27769         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
27770         inhibit_loop_to_libcall to avoid recursive calls.
27771         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
27772         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
27774 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
27776         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
27777         prototype.
27779 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27781         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
27782         integer value instead of boolean.
27784 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
27786         * malloc/malloc.c: Fix powerof2 check.
27788 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27790         * locale/programs/locfile.h (maybe_swap_uint32):
27791         Remove inline and add unused attribute.
27793 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
27795         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27796         Truncating assembler expression to a .long expression.
27798 2014-12-11  Andreas Schwab  <schwab@suse.de>
27800         * elf/rtld.c (struct map_args): Constify str member.
27801         (do_preload): Constify fname argument.
27803 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27805         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
27806         constants definition.
27808 2014-12-11  Andreas Schwab  <schwab@suse.de>
27810         [BZ #16657]
27811         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
27812         FORCE_ELISION instead of DO_ELISION.
27813         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
27814         Remove.
27815         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
27816         Likewise.
27818         * iconvdata/gconv-modules: Remove duplicate entry.
27820 2014-12-11  Will Newton  <will.newton@linaro.org>
27822         Merge gettext 0.19.3 into intl/.
27824         This involves a number of cosmetic changes to comments
27825         and ANSI function definitions and prototypes throughout
27826         all the files. The gettext copyright header is used but
27827         with the date ranges taken from the glibc copy.
27829         * NEWS: Add gettext merge to 2.21.
27830         * intl/bindtextdom.c: Switch to gettext copyright.
27831         Use ANSI definitions and prototypes.
27832         Use gl_* locking primitives rather than __libc_* ones.
27833         Use __builtin_expect rather than __glibc_likely/unlikely.
27834         * intl/dcgettext.c: Switch to gettext copyright.
27835         Use ANSI definitions and prototypes.
27836         * intl/dcigettext.c: Switch to gettext copyright.
27837         Use ANSI definitions and prototypes.
27838         (INTDIV0_RAISES_SIGFPE): New define.
27839         Use gl_* locking primitives rather than __libc_* ones.
27840         Include eval-plural.h instead of plural-eval.c.
27841         Use __builtin_expect rather than __glibc_likely/unlikely.
27842         * intl/dcngettext.c: Switch to gettext copyright.
27843         Use ANSI definitions and prototypes.
27844         * intl/dgettext.c: Likewise.
27845         * intl/dngettext.c: Likewise.
27846         * intl/plural-eval.c: Renamed to...
27847         * intl/eval-plural.h: ...this.
27848         * intl/explodename.c: Switch to gettext copyright.
27849         Use ANSI definitions and prototypes.
27850         (_nl_explode_name): Use strchr instead of __rawmemchr.
27851         * intl/finddomain.c: Switch to gettext copyright.
27852         Use ANSI definitions and prototypes.
27853         Use gl_* locking primitives rather than __libc_* ones.
27854         (_nl_find_domain): Use malloc rather than alloca for
27855         allocation of temporary locale name.
27856         * intl/gettext.c: Switch to gettext copyright.
27857         Use ANSI definitions and prototypes.
27858         * intl/gettextP.h: Switch to gettext copyright.
27859         Use ANSI definitions and prototypes.
27860         Use gl_* locking primitives rather than __libc_* ones.
27861         * intl/gmo.h: Switch to gettext copyright.
27862         (struct sysdep_string): Move struct segment_pair outside of
27863         struct definition.
27864         * intl/hash-string.c: Use ANSI definitions and prototypes.
27865         * intl/hash-string.h: Switch to gettext copyright.
27866         Use ANSI definitions and prototypes.
27867         * intl/l10nflist.c: Switch to gettext copyright.
27868         Use ANSI definitions and prototypes.
27869         (_nl_normalize_codeset): Avoid integer overflow.
27870         * intl/loadinfo.h: Switch to gettext copyright.
27871         Use ANSI definitions and prototypes.
27872         (LIBINTL_DLL_EXPORTED): New define.
27873         (PATH_SEPARATOR): New define.
27874         * intl/loadmsgcat.c: Switch to gettext copyright.
27875         * intl/localealias.c: Switch to gettext copyright.
27876         Use ANSI definitions and prototypes.
27877         (_nl_expand_alias): Use PATH_SEPARATOR.
27878         * intl/ngettext.c: Switch to gettext copyright.
27879         Use ANSI definitions and prototypes.
27880         * intl/plural-exp.c: Likewise.
27881         * intl/plural-exp.h: Switch to gettext copyright.
27882         Use ANSI definitions and prototypes.
27883         (struct expression): Move definition of enum operator outside
27884         of struct definition.
27885         * intl/plural.c: Regenerate.
27886         * intl/plural.y: Switch to gettext copyright.
27887         Use ANSI definitions and prototypes.
27888         Port to bison 3.0.
27889         * intl/textdomain.c: Switch to gettext copyright.
27890         Use ANSI definitions and prototypes.
27891         Use gl_* locking primitives rather than __libc_* ones.
27893 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
27895         * debug/warning-nop.c: Add used atrribute.
27897 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27899         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
27901         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
27902         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
27903         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
27905 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27908         [BZ #17634]
27909         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
27910         Undefine after defining function.  Define as weak alias of
27911         __wcschr.  Use libc_hidden_weak.
27912         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
27913         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
27914         (libc_hidden_def): Also define __GI___wcschr alias.
27915         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
27916         __wcschr and define as weak alias of __wcschr.
27917         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
27918         __wcschr.
27919         [!WCSCHR] (DEFAULT_WCSCHR): Define.
27920         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
27921         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
27922         libc_hidden_weak.  Do not use libc_hidden_def.
27923         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
27924         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
27925         __GI___wcschr alias.
27926         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
27927         [IS_IN (libc)] (wcschr): Define as macro expanding to
27928         __redirect_wcschr.
27929         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
27930         [IS_IN (libc)] (__wcschr_power6): Likewise.
27931         [IS_IN (libc)] (__wcschr_power7): Likewise.
27932         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
27933         instead of wcschr.
27934         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
27935         __libc_wcschr.
27936         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
27937         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
27938         __wcschr and define as weak alias of __wcschr.  Use
27939         libc_hidden_builtin_def.
27940         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
27941         as weak alias of __wcschr.  Use libc_hidden_weak.
27942         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
27943         wcschr.
27944         * time/era.c (_nl_init_era_entries): Likewise.
27945         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
27946         variable.
27947         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27948         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27950 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27952         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
27953         format for long int variable.
27955 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
27957         [BZ #10672]
27958         * manual/search.texi: (Array Sort Function): Remove claim how to make
27959         qsort stable.
27961 2014-12-10  Andreas Schwab  <schwab@suse.de>
27963         [BZ #12847]
27964         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
27965         user-controlled locks.
27967 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
27969         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
27970         register.
27972 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
27974         * configure.ac (--disable-werror): New configure option.
27975         (enable_werror): New AC_SUBST.
27976         * configure: Regenerated.
27977         * config.make.in (enable-werror): New variable.
27978         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
27979         -Wno-error=undef.
27980         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
27981         * manual/install.texi (Configuring and compiling): Document
27982         --disable-werror.
27983         * INSTALL: Regenerated.
27984         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
27985         (CFLAGS-tst-chk2.c): Likewise.
27986         (CFLAGS-tst-chk3.c): Likewise.
27987         (CFLAGS-tst-chk4.cc): Likewise.
27988         (CFLAGS-tst-chk5.cc): Likewise.
27989         (CFLAGS-tst-chk6.cc): Likewise.
27990         (CFLAGS-tst-lfschk1.c): Likewise.
27991         (CFLAGS-tst-lfschk2.c): Likewise.
27992         (CFLAGS-tst-lfschk3.c): Likewise.
27993         (CFLAGS-tst-lfschk4.cc): Likewise.
27994         (CFLAGS-tst-lfschk5.cc): Likewise.
27995         (CFLAGS-tst-lfschk6.cc): Likewise.
27997         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
27998         (main): Disable -Wdeprecated-declarations around calls to
27999         register_printf_function.
28001         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
28002         (do_test): Disable -Wdiv-by-zero around some calls to
28003         fwrite_unlocked and fread_unlocked.
28005         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
28006         (DIAG_POP_NEEDS_COMMENT): Likewise.
28007         (_DIAG_STR1): Likewise.
28008         (_DIAG_STR): Likewise.
28009         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
28010         * stdio-common/bug21.c: Include <libc-internal.h>.
28011         (do_test): Disable -Wformat around call to sscanf.
28012         * stdio-common/scanf14.c: Include <libc-internal.h>.
28013         (main): Disable -Wformat around some calls to scanf functions.
28015 2014-12-09  Torvald Riegel  <triegel@redhat.com>
28017         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
28019 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28021         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
28022         stack variable alignment.
28024 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
28026         [BZ #17682]
28027         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
28028         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
28029         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
28030         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
28031         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
28032         __getrlimit instead of getrlimit.
28033         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
28034         __gettimeofday instead of gettimeofday.
28035         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
28036         Likewise.
28037         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
28038         Likewise.
28039         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
28040         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
28041         Remove variable.
28042         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
28043         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
28045 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28047         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
28048         for wide-character tests.
28050 2014-12-04  Roland McGrath  <roland@hack.frob.com>
28052         * io/openat64.c: #include <libc-internal.h>
28053         (__openat64): Prototypify.  Use ignore_value on MODE.
28054         * io/openat.c: Likewise.
28055         * misc/reboot.c: #include <libc-internal.h>
28056         (reboot): Prototypify.  Use ignore_value on HOWTO.
28057         * misc/ptrace.c: #include <libc-internal.h>
28058         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
28060 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
28062         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
28063         XPG4, UNIX98 and XOPEN2K.
28064         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
28065         Remove variable.
28066         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
28068 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28070         * libio/fileops.c: Use ISO C style for function definitions.
28071         * libio/iofopen.c: Likewise.
28072         * libio/wfileops.c: Likewise.
28074         [BZ #17653]
28075         * libio/fileops.c (_IO_new_file_underflow): Unset cached
28076         offset on EOF.
28077         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
28078         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
28079         (fgets_func): Function pointer to fgets and fgetws.
28080         (do_ftell_test): Add test to verify ftell value after read
28081         EOF.
28082         (do_test): Set fgets_func.
28084         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
28085         O_TRUNC flag for w and w+ modes.
28086         (do_rewind_test): Likewise.
28087         (do_ftell_test): Likewise.
28088         (do_write_test): Likewise.
28090         [BZ #17647]
28091         * libio/fileops.c (do_ftell): Seek only when there are
28092         unflushed writes.
28093         * libio/wfileops.c (do_ftell_wide): Likewise.
28094         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
28095         test case.
28096         (do_one_test): Call it.
28098 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
28100         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
28101         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
28102         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
28103         Remove variable.
28104         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
28105         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
28106         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
28108 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28110         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
28111         Remove variable.
28112         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
28114         [BZ #17668]
28115         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
28116         as weak alias of __getifaddrs.  Use libc_hidden_weak.
28117         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28118         __freeifaddrs.  Use libc_hidden_weak.
28119         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
28120         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
28121         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28122         __freeifaddrs.  Use libc_hidden_weak.
28123         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
28124         __getifaddrs and define as weak alias of __getifaddrs.  Use
28125         libc_hidden_weak.
28126         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
28127         __freeifaddrs.  Use libc_hidden_weak.
28128         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
28129         Remove variable.
28130         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
28131         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
28133 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
28135         [BZ #17601]
28136         * sysdeps/mips/start.S (__start): Use indirect jump to call
28137         __libc_start_main.
28139 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
28141         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
28143         * nptl/tst-mutex1.c: Include <stdbool.h>.
28144         [!ATTR] (ATTR_NULL): New macro.
28145         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
28146         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
28147         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
28149         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
28150         to char *.
28152         [BZ #17665]
28153         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
28154         Change conditional to [__USE_MISC].
28156         [BZ #17664]
28157         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
28158         fgets_unlocked.
28159         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
28160         __fgets_unlocked.
28161         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
28162         fgets_unlocked.
28163         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
28164         Remove variable.
28165         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
28166         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
28167         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
28168         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
28169         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
28170         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
28171         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
28172         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
28173         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
28175         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
28177 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28179         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28180         Remove strpbrk objects.
28181         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28182         (__libc_ifunc_impl_list): Remove strpbrk implementation.
28183         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
28184         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
28185         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
28186         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
28188         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28189         Remove strcspn objects.
28190         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28191         (__libc_ifunc_impl_list): Remove strcspn implementation.
28192         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
28193         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
28194         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
28195         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
28197         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
28198         Remove strspn objetcs.
28199         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
28200         (__libc_ifunc_impl_list): Remove strspn implementation.
28201         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
28202         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28203         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
28204         * sysdeps/powerpc/powerpc64/strspn.S: New file.
28206 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
28208         [BZ #17581]
28209         * malloc/hooks.c
28210         (mem2mem_check): Add a terminator to the chain of checking blocks.
28211         (malloc_check_get_size): Use it here.
28212         (mem2chunk_check): Ditto.
28214 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28216         * sysdeps/powerpc/powerpc64/strtok.S: New file.
28217         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
28219 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
28221         * bits/ioctl-types.h: Indent preprocessor directives correctly.
28223         * nptl/nptl-init.c: Include libc-internal.h.
28224         (__pthread_initialize_minimal_internal): Use ROUND_UP.
28226         * elf/ldconfig.c (search_dir): Expand comment.
28228 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
28230         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
28231         variable.
28232         (linknamespace-symlist-stdlibs-tests): Likewise.
28233         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
28234         instead of $(objpfx)symlist-stdlibs.
28235         (linknamespace-libs-isoc): New variable.
28236         (linknamespace-libs): Use $(linknamespace-libs-isoc).
28237         (linknamespace-libs-ISO): New variable.
28238         (linknamespace-libs-ISO99): Likewise.
28239         (linknamespace-libs-ISO11): Likewise.
28240         (linknamespace-libs-XPG3): Likewise.
28241         (linknamespace-libs-XPG4): Likewise.
28242         (linknamespace-libs-POSIX): Likewise.
28243         (linknamespace-libs-UNIX98): Likewise.
28244         (linknamespace-libs-XOPEN2K): Likewise.
28245         (linknamespace-libs-POSIX2008): Likewise.
28246         (linknamespace-libs-XOPEN2K8): Likewise.
28247         ($(objpfx)symlist-stdlibs): Replace by
28248         $(linknamespace-symlist-stdlibs-tests).  Use
28249         $(linknamespace-libs-$*) as set of libraries.
28250         ($(linknamespace-header-tests)): Update dependencies.  Use
28251         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
28252         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
28253         * conform/linknamespace.pl: Remove comment about considering
28254         definitions of symbols from irrelevant libraries.
28256 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
28258         [BZ #13862]
28259         * elf/dl-tls.c: Include <atomic.h>.
28260         (oom): Remove #ifdef SHARED/#endif.
28261         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
28262         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
28263         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
28264         big enough.
28265         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
28266         * nptl/Makefile (tests): Add tst-stack4.
28267         (modules-names): Add tst-stack4mod.
28268         ($(objpfx)tst-stack4): New.
28269         (tst-stack4mod.sos): Likewise.
28270         ($(objpfx)tst-stack4.out): Likewise.
28271         ($(tst-stack4mod.sos)): Likewise.
28272         (clean): Likewise.
28273         * nptl/tst-stack4.c: New file.
28274         * nptl/tst-stack4mod.c: Likewise.
28276 2014-11-27  J. Brown  <jb999@gmx.de>
28278         * sysdeps/x86/bits/string.h: Add recent CPUs.
28280 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28282         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
28283         sigblock.
28285         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
28286         feof.
28288         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
28289         variable.
28291 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
28293         * nscd/connections.c: Include libc-internal.h because of macro
28294         usage ignore_value.
28296 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28298         * string/bits/string3.h (__warn_memset_zero_len): Don't
28299         declare for gcc newer than 5.0.
28300         (memset): Don't test for zero-length __LEN for gcc newer than
28301         5.0.
28303 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
28305         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
28306         size_t for %zu format.
28308         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
28309         difference, not %ju.
28311 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28313         * include/libc-internal.h (ignore_value): New macro.
28314         * nscd/connections.c (restart): Wrap calls to setuid and setgid
28315         with ignore_value.
28317         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
28318         definition.
28320         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
28321         pthread_cleanup_push to void *.
28323         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
28324         Undefine.
28326         [BZ #16619]
28327         [BZ #16740]
28328         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
28329         instead of 1L << 52.
28331         * libio/bug-rewind.c (do_test): Check fwscanf return values.
28332         * libio/bug-rewind2.c (do_test): Likewise.
28334         * debug/test-stpcpy_chk-ifunc.c: Remove file.
28335         * debug/test-strcpy_chk-ifunc.c: Likewise.
28336         * wcsmbs/test-wcschr-ifunc.c: Likewise.
28337         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
28338         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
28339         * wcsmbs/test-wcslen-ifunc.c: Likewise.
28340         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
28341         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
28342         * Rules [$(multi-arch) = no] (tests): Do not filter out
28343         $(tests-ifunc).
28344         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
28345         * debug/Makefile (tests-ifunc): Remove variable.
28346         (tests): Do not add $(tests-ifunc).
28347         * wcsmbs/Makefile (tests-ifunc): Remove variable.
28348         (tests): Do not add $(tests-ifunc).
28349         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
28350         [TEST_IFUNC]: Remove conditionals.
28351         * string/test-string.h (TEST_IFUNC): Remove macro.
28352         [TEST_IFUNC]: Remove conditionals.
28354         * string/test-strchr.c [!WIDE] (L): New macro.
28355         [WIDE] (L): Likewise.
28356         (check1): Use CHAR instead of char.  Use L on string and character
28357         constants.
28359 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
28361         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
28362         tests.
28363         * sysdeps/powerpc/bits/atomic.h
28364         (__arch_atomic_exchange_and_add_32_acq): Add definition.
28365         (__arch_atomic_exchange_and_add_32_rel): Likewise.
28366         (atomic_exchange_and_add_acq): Likewise.
28367         (atomic_exchange_and_add_rel): Likewise.
28368         * sysdeps/powerpc/powerpc32/bits/atomic.h
28369         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28370         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28371         * sysdeps/powerpc/powerpc64/bits/atomic.h
28372         (__arch_atomic_exchange_and_add_64_acq): Add definition.
28373         (__arch_atomic_exchange_and_add_64_rel): Likewise.
28375 2014-11-26  Torvald Riegel  <triegel@redhat.com>
28377         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
28378         Change synchronization of __sched_fifo_min_prio and
28379         __sched_fifo_max_prio.
28380         * nptl/pthread_mutexattr_getprioceiling.c
28381         (pthread_mutexattr_getprioceiling): Likewise.
28382         * nptl/pthread_mutexattr_setprioceiling.c
28383         (pthread_mutexattr_setprioceiling): Likewise.
28384         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
28385         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
28386         Likewise.
28388 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
28390         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
28391         void.
28393 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28395         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
28396         third argument const.
28398 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
28400         fnmatch: work around GCC compiler warning bug with uninit var
28401         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
28402         This works around a bug with x86-64 GCC 4.9.2 and earlier
28403         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
28404         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
28405         used uninitialized in this function [-Wmaybe-uninitialized]".
28407 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
28409         * posix/bug-regex31.c (main): Return RES not 0.
28411 2014-11-25  Anton Blanchard <anton@samba.org>
28413         * sysdeps/powerpc/bits/atomic.h
28414         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
28416 2014-11-24  Sterling Augustine  <saugustine@google.com>
28418         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
28420 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
28422         [BZ #17608]
28423         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
28425 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
28427         [BZ #17633]
28428         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
28429         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
28430         variable.
28431         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
28432         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
28434 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28436         * string/strncpy.c (strncpy): Improve performance by using memset.
28438 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
28440         * string/strcpy.c (strcpy):
28441         Improve performance by using strlen and memcpy.
28443 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
28445         * string/strcoll_l.c (get_next_seq): __always_inline.
28446         * string/strcoll_l.c (do_compare): __always_inline.
28448 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28450         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
28451         defined.
28452         * include/mqueue.h: Likewise.
28453         * include/stdlib.h: Likewise.
28455         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
28456         (get_null_defines): Adjust.
28457         * sunrpc/Makefile: Adjust comment.
28458         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
28459         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
28460         (CFLAGS-interp.c): Likewise.
28461         (CFLAGS-ldconfig.c): Likewise.
28462         (CPPFLAGS-.os): Likewise.
28463         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
28464         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
28465         * extra-modules.mk (extra-modules.mk): Likewise.
28466         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
28467         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
28468         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
28469         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
28470         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
28471         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
28472         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
28473         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
28474         * iconvdata/Makefile (CPPFLAGS): Likewise.
28475         (cpp-srcs-left): Add libof for all iconvdata routines.
28476         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
28477         * include/assert.h: Likewise.
28478         * include/ctype.h: Likewise.
28479         * include/errno.h: Likewise.
28480         * include/libc-symbols.h: Likewise.
28481         * include/math.h: Likewise.
28482         * include/netdb.h: Likewise.
28483         * include/resolv.h: Likewise.
28484         * include/stdio.h: Likewise.
28485         * include/stdlib.h: Likewise.
28486         * include/string.h: Likewise.
28487         * include/sys/stat.h: Likewise.
28488         * include/wctype.h: Likewise.
28489         * intl/l10nflist.c: Likewise.
28490         * libidn/idn-stub.c: Likewise.
28491         * libio/libioP.h: Likewise.
28492         * nptl/libc_multiple_threads.c: Likewise.
28493         * nptl/pthreadP.h: Likewise.
28494         * posix/regex_internal.h: Likewise.
28495         * resolv/res_hconf.c: Likewise.
28496         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
28497         * sysdeps/arm/memmove.S: Likewise.
28498         * sysdeps/arm/sysdep.h: Likewise.
28499         * sysdeps/generic/_itoa.h: Likewise.
28500         * sysdeps/generic/symbol-hacks.h: Likewise.
28501         * sysdeps/gnu/errlist.awk: Likewise.
28502         * sysdeps/gnu/errlist.c: Likewise.
28503         * sysdeps/i386/i586/memcpy.S: Likewise.
28504         * sysdeps/i386/i586/memset.S: Likewise.
28505         * sysdeps/i386/i686/memcpy.S: Likewise.
28506         * sysdeps/i386/i686/memmove.S: Likewise.
28507         * sysdeps/i386/i686/mempcpy.S: Likewise.
28508         * sysdeps/i386/i686/memset.S: Likewise.
28509         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
28510         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
28511         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
28512         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
28513         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
28514         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
28515         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
28516         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
28517         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
28518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
28519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
28520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
28521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
28522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
28523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
28524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
28525         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
28526         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
28527         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
28528         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
28529         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
28530         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
28531         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
28532         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
28533         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
28534         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
28535         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
28536         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
28537         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
28538         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28539         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
28540         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
28541         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
28542         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
28543         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
28544         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28545         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
28546         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
28547         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28548         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28549         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
28550         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
28551         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28552         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28553         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
28554         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
28555         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
28556         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
28557         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
28558         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
28559         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
28560         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
28561         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
28562         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
28563         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
28564         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
28565         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
28566         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
28567         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
28568         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
28569         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
28570         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
28571         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
28572         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28573         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28574         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
28575         * sysdeps/posix/closedir.c: Likewise.
28576         * sysdeps/posix/opendir.c: Likewise.
28577         * sysdeps/posix/readdir.c: Likewise.
28578         * sysdeps/posix/rewinddir.c: Likewise.
28579         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
28580         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
28581         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
28582         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
28583         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
28584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
28585         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
28586         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
28587         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
28588         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
28589         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
28590         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
28591         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
28592         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
28593         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
28594         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
28595         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
28596         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
28597         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
28598         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
28599         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
28600         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
28601         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
28602         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
28603         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
28604         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
28605         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
28606         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
28607         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
28608         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
28609         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
28610         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
28611         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
28612         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
28613         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
28614         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
28615         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
28616         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
28617         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
28618         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
28619         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
28620         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
28621         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
28622         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
28623         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
28624         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
28625         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
28626         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
28627         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
28628         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
28629         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
28630         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
28631         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
28632         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
28633         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
28634         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
28635         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
28636         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
28637         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
28638         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
28639         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
28640         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
28641         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
28642         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
28643         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
28644         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
28645         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
28646         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
28647         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
28648         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
28649         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
28650         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
28651         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
28652         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
28653         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
28654         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
28655         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
28656         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
28657         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
28658         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
28659         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
28660         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
28661         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
28662         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
28663         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
28664         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
28665         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
28666         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
28667         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
28668         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28669         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
28670         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
28671         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
28672         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
28673         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28674         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
28675         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
28676         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28677         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
28678         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
28679         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28680         * sysdeps/unix/alpha/sysdep.S: Likewise.
28681         * sysdeps/unix/alpha/sysdep.h: Likewise.
28682         * sysdeps/unix/make-syscalls.sh: Likewise.
28683         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28684         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28685         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28686         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
28687         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28688         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
28689         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
28690         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28691         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28692         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
28693         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28694         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28695         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28696         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28697         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28698         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
28699         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28700         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28701         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28702         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28703         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
28704         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28705         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28706         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28707         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28708         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28709         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28712         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
28713         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28714         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28715         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
28716         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28717         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
28718         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28719         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
28720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28721         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
28722         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
28723         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28724         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28725         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28726         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
28727         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28728         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28729         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28730         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28731         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28732         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28733         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28734         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28735         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28736         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28737         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
28738         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28739         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28740         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28741         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
28742         * sysdeps/x86_64/memcpy.S: Likewise.
28743         * sysdeps/x86_64/memmove.c: Likewise.
28744         * sysdeps/x86_64/memset.S: Likewise.
28745         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
28746         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
28747         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
28748         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
28749         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
28750         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
28751         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
28752         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
28753         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
28754         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
28755         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
28756         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
28757         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
28758         * sysdeps/x86_64/multiarch/memset.S: Likewise.
28759         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
28760         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
28761         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
28762         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
28763         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28764         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
28765         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
28766         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
28767         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28768         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28769         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
28770         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
28771         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
28772         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
28773         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
28774         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
28775         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
28776         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
28777         * sysdeps/x86_64/strcmp.S: Likewise.
28779         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
28781         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
28782         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
28783         * elf/rtld-Rules: Likewise.
28784         * elf/setup-vdso.h: Likewise.
28785         * include/assert.h: Likewise.
28786         * include/bits/stdlib-float.h: Likewise.
28787         * include/errno.h: Likewise.
28788         * include/sys/stat.h: Likewise.
28789         * include/unistd.h: Likewise.
28790         * sysdeps/aarch64/setjmp.S: Likewise.
28791         * sysdeps/alpha/setjmp.S: Likewise.
28792         * sysdeps/arm/__longjmp.S: Likewise.
28793         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
28794         * sysdeps/arm/setjmp.S: Likewise.
28795         * sysdeps/arm/sysdep.h: Likewise.
28796         * sysdeps/generic/_itoa.h: Likewise.
28797         * sysdeps/generic/dl-sysdep.h: Likewise.
28798         * sysdeps/generic/ldsodefs.h: Likewise.
28799         * sysdeps/i386/dl-tls.h: Likewise.
28800         * sysdeps/i386/setjmp.S: Likewise.
28801         * sysdeps/m68k/setjmp.c: Likewise.
28802         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
28803         * sysdeps/mach/hurd/opendir.c: Likewise.
28804         * sysdeps/posix/getcwd.c: Likewise.
28805         * sysdeps/posix/opendir.c: Likewise.
28806         * sysdeps/posix/profil.c: Likewise.
28807         * sysdeps/powerpc/dl-procinfo.h: Likewise.
28808         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
28809         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
28810         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
28811         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
28812         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
28813         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
28814         * sysdeps/s390/dl-tls.h: Likewise.
28815         * sysdeps/s390/s390-32/setjmp.S: Likewise.
28816         * sysdeps/s390/s390-64/setjmp.S: Likewise.
28817         * sysdeps/sh/sh3/setjmp.S: Likewise.
28818         * sysdeps/sh/sh4/setjmp.S: Likewise.
28819         * sysdeps/unix/alpha/sysdep.h: Likewise.
28820         * sysdeps/unix/arm/sysdep.S: Likewise.
28821         * sysdeps/unix/i386/sysdep.S: Likewise.
28822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28823         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
28824         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
28825         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
28826         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
28828         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
28829         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28830         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
28831         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
28832         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28833         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
28834         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
28835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
28836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
28837         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
28838         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
28839         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
28840         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
28841         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
28842         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
28843         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28844         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28845         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
28846         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28847         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
28848         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
28849         * sysdeps/unix/x86_64/sysdep.S: Likewise.
28850         * sysdeps/x86_64/setjmp.S: Likewise.
28852         * include/math.h: Use IS_IN instead of IS_IN_libm.
28853         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
28854         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
28855         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
28856         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
28857         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
28858         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
28859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
28860         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
28861         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
28862         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
28863         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
28864         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
28865         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
28866         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
28867         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
28868         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
28869         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
28870         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
28871         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
28872         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
28873         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
28874         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
28875         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
28876         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
28877         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
28878         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
28879         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
28880         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
28881         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
28882         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
28883         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
28884         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
28885         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
28886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
28887         Likewise.
28888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
28889         Likewise.
28890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
28891         Likewise.
28892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
28893         Likewise.
28894         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
28895         Likewise.
28896         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
28897         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
28898         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
28899         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
28900         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
28901         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
28902         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
28903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
28904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
28905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
28906         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
28907         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
28908         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
28909         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
28910         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
28911         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
28912         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
28913         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
28914         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
28915         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
28916         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
28917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
28918         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
28919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
28920         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
28921         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
28922         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
28924         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
28925         * nptl/pthreadP.h: Likewise.
28926         * nptl_db/structs.def: Likewise.
28927         * sysdeps/arm/sysdep.h: Likewise.
28928         * sysdeps/nptl/bits/libc-lock.h: Likewise.
28929         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
28930         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
28931         * sysdeps/unix/alpha/sysdep.h: Likewise.
28932         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28933         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
28934         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28935         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28936         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28937         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28938         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
28939         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28940         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28941         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28942         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28943         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28944         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28945         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
28947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
28948         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28949         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28950         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28951         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28952         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28953         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28954         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
28955         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28956         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
28957         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28959         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
28960         * nptl/pthreadP.h: Likewise.
28961         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
28962         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
28963         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
28964         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
28965         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
28966         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
28967         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
28968         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
28969         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
28970         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
28971         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
28972         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
28973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
28974         Likewise.
28975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
28976         Likewise.
28977         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
28978         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
28979         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
28980         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
28981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
28982         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
28983         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
28984         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
28986         * dlfcn/dladdr.c: Use IS_IN.
28987         * dlfcn/dladdr1.c: Likewise.
28988         * dlfcn/dlclose.c: Likewise.
28989         * dlfcn/dlerror.c: Likewise.
28990         * dlfcn/dlinfo.c: Likewise.
28991         * dlfcn/dlmopen.c: Likewise.
28992         * dlfcn/dlopen.c: Likewise.
28993         * dlfcn/dlsym.c: Likewise.
28994         * dlfcn/dlvsym.c: Likewise.
28996         * include/ifaddrs.h: Use IS_IN.
28997         * inet/check_pf.c: Likewise.
28998         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28999         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
29001         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
29002         IS_IN_ldconfig.
29003         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
29004         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
29006         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
29007         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
29008         IS_IN (libc).
29010         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
29012         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
29013         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29014         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
29015         * include/libc-symbols.h (IS_IN_LIB): New macro.
29016         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
29017         * include/netdb.h: Likewise.
29018         * include/stap-probe.h: Remove all uses of IN_LIB.
29020         * Makeconfig (module-cppflags-real): Define MODULE_NAME
29021         instead of IN_MODULE.
29022         * include/libc-symbols.h (IN_MODULE): Define using
29023         MODULE_NAME.
29024         (PASTE_NAME, PASTE_NAME1): New macros.
29025         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
29026         of IN_LIB.
29027         (STAP_PROBE_ASM): Likewise.
29029 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29031         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
29032         __mach_init in dlopened libc.
29034 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
29036         * sysdeps/arm/preconfigure.ac: Delete EABI check.
29037         * sysdeps/arm/preconfigure: Regenerate.
29039 2014-11-21  Roland McGrath  <roland@hack.frob.com>
29041         * nptl/pthread_create.c (__pthread_create_2_1): Set
29042         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
29043         when copying values from IATTR into PD.
29045 2014-11-21  Will Newton  <will.newton@linaro.org>
29046             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
29048         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
29049         Refactor inline-asm.  Also add comment.
29051         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
29052         ElfW macro instead of hardcoded Elf64 types.
29053         (la_aarch64_gnu_pltenter): Likewise.
29054         * sysdeps/aarch64/dl-machine.h
29055         (elf_machine_runtime_setup): Use ElfW(Addr).
29057         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
29058         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
29059         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
29060         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
29061         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
29062         (R_AARCH64_TLS_DTPMOD64): Rename to ..
29063         (R_AARCH64_TLS_DTPMOD): This.
29064         (R_AARCH64_TLS_DTPREL64): Rename to ...
29065         (R_AARCH64_TLS_DTPREL): This.
29066         (R_AARCH64_TLS_TPREL64): Rename to ...
29067         (R_AARCH64_TLS_TPREL): This.
29068         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
29069         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
29070         R_AARCH64_TLS_TPREL64.
29071         (elf_machine_rela): Likewise.
29073 2014-11-21  Torvald Riegel  <triegel@redhat.com>
29075         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
29076         by setting it to 0.  64b atomics are not supported currently.
29078 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29080         [BZ #16469]
29081         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
29082         search domain names.
29084 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29086         [BZ #16469]
29087         * NEWS: Update.
29088         * resolv/res_query.c (__libc_res_nquerydomain): Retain
29089         trailing dot.
29090         * posix/tst-getaddrinfo5.c: New.
29091         * posix/Makefile (tests): Add it.
29093 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29095         [BZ #14498]
29096         * NEWS: Fixed.
29097         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
29098         after parsing line but before break_if_match.
29099         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
29100         if there is a protocol mismatch.
29102 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
29104         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
29105         because the potential race is on the user-supplied stream.
29107 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29109         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
29110         string literal if not passed a buffer.
29111         * manual/job.texi (ctermid): Update reasoning, note deviation
29112         from posix, suggest mtasurace when not passed a buffer, for
29113         future non-preliminary safety notes.
29115 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29117         * manual/users.texi (cuserid): Fix MT-Safety note for the case
29118         of not passing it a buffer.
29119         Reported by Peng Haitao.
29121 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
29123         * manual/Makefile ($(objpfx)stamp-summary): Require
29124         check-safety.sh to pass.
29125         * manual/check-safety.sh: Wish for verification that every
29126         @deftypefn and @deftypefun is followed by a @safety remark.
29128 2014-11-20  Roland McGrath  <roland@hack.frob.com>
29130         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
29132         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
29133         PTHREAD_CANCEL_ASYNCHRONOUS.
29134         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
29135         send SIGCANCEL.
29137         * nptl/default-sched.h: New file.
29138         * sysdeps/unix/sysv/linux/default-sched.h: New file.
29139         * nptl/pthread_create.c: Include it.
29140         (__pthread_create_2_1): Use collect_default_sched instead of making
29141         Linux syscalls here directly.
29143 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29145         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
29146         __pthread_once): Use C11 atomics.
29148 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29150         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
29152 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29154         * include/atomic.h (__atomic_link_error, __atomic_check_size,
29155         atomic_thread_fence_acquire, atomic_thread_fence_release,
29156         atomic_thread_fence_seq_cst, atomic_load_relaxed,
29157         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
29158         atomic_compare_exchange_weak_relaxed,
29159         atomic_compare_exchange_weak_acquire,
29160         atomic_compare_exchange_weak_release,
29161         atomic_exchange_acquire, atomic_exchange_release,
29162         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
29163         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
29164         atomic_fetch_and_acquire,
29165         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
29167 2014-11-20  Torvald Riegel  <triegel@redhat.com>
29169         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
29170         USE_ATOMIC_COMPILER_BUILTINS): Define.
29171         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
29172         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29173         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
29174         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29175         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
29176         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29177         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
29178         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29179         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
29180         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29181         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
29182         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29183         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
29184         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29185         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
29186         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29187         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29188         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29189         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29190         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29191         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
29192         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29193         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
29194         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29195         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
29196         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29197         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
29198         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29199         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
29200         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29201         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
29202         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29203         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
29204         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29205         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
29206         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29207         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
29208         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29209         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
29210         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
29212 2014-11-19  Roland McGrath  <roland@hack.frob.com>
29214         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
29215         the sched_priority value here.  It was already checked when the user
29216         called pthread_attr_setschedparam.
29218         * nptl/tst-bad-schedattr.c: New file.
29219         * nptl/Makefile (tests): Add it.
29221 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
29222             Florian Weimer  <fweimer@redhat.com>
29223             Joseph Myers  <joseph@codesourcery.com>
29224             Adam Conrad  <adconrad@0c3.net>
29225             Andreas Schwab  <schwab@suse.de>
29226             Brooks  <bmoses@google.com>
29228         [BZ #17625]
29229         * wordexp-test.c (__dso_handle): Add prototype.
29230         (__register_atfork): Likewise.
29231         (__app_register_atfork): New function.
29232         (registered_forks): New global.
29233         (register_fork): New function.
29234         (test_case): Add 3 new tests for WRDE_CMDSUB.
29235         (main): Call __app_register_atfork.
29236         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
29237         fork count is non-zero fail the test.
29238         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
29239         is set.
29240         (parse_dollars): Remove check for WRDE_NOCMD.
29241         (parse_dquote): Likewise.
29243 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29245         * Makeconfig (built-modules): List non-library modules to be
29246         built.
29247         (module-cppflags): Include libc-modules.h for
29248         everything except shlib-versions.v.i.
29249         (CPPFLAGS): Use it.
29250         (before-compile): Add libc-modules.h.
29251         ($(common-objpfx)libc-modules.h,
29252         $(common-objpfx)libc-modules.stmp): New targets.
29253         (common-generated): Add libc-modules.h and libc-modules.stmp.
29254         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
29255         * include/libc-symbols.h: Don't include libc-modules.h.
29256         * include/libc-modules.h: Remove file.
29257         * scripts/gen-libc-modules.awk: New script to generate
29258         libc-modules.h.
29259         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
29260         Depend on libc-modules.stmp.
29262         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
29264         * Makeconfig (in-module): Get value of libof set for the
29265         translation unit.
29266         (CPPFLAGS): Use $(in-module).
29267         * Makerules: Don't suffix routine names for nonlib.
29268         * include/libc-modules.h: New file.
29269         * include/libc-symbols.h: Include libc-modules.h
29270         (IS_IN): New macro to replace IS_IN_* macros.
29271         * elf/Makefile: Set libof-* for each routine.
29272         * elf/rtld-Rules: Likewise.
29273         * extra-modules.mk: Likewise.
29274         * iconv/Makefile: Likewise.
29275         * iconvdata/Makefile: Likewise.
29276         * locale/Makefile: Likewise.
29277         * malloc/Makefile: Likewise.
29278         * nss/Makefile: Likewise.
29279         * sysdeps/gnu/Makefile: Likewise.
29280         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
29281         * sysdeps/unix/sysv/linux/Makefile: Likewise.
29282         * sysdeps/s390/s390-64/Makefile: Likewise.
29283         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
29284         CPPFLAGS for nscd instead of nonlib.
29286 2014-11-18  Roland McGrath  <roland@hack.frob.com>
29288         * nptl/createthread.c: New file.
29290         * nptl/createthread.c: Moved ...
29291         * sysdeps/unix/sysv/linux/createthread.c: ... here.
29293         * nptl/createthread.c: Add proper top-line comment.
29294         (do_clone): Folded into ...
29295         (create_thread): ... here.  Take new arguments STOPPED_START and
29296         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
29297         increment __nptl_threads, do event-reporting logic, do
29298         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
29299         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
29300         resource cleanup if sched_setaffinity or sched_setscheduler fails,
29301         just send SIGCANCEL.
29302         * nptl/pthread_create.c: Forward-declare create_thread before
29303         including createthread.c.
29304         (start_thread): Use new macro START_THREAD_DEFN to replace defining
29305         declaration, and new macro START_THREAD_SELF to replace argument.
29306         Remove return statement.
29307         (report_thread_creation): New function.
29308         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
29309         synchronization logic, and __nptl_nthreads increment here, around
29310         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
29311         PD->parent_cancelhandling here, before create_thread.  When
29312         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
29313         __deallocate_stack, and ENOMEM translation here.
29315 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
29317         [BZ #17616]
29318         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
29319         (mptwo): Rename to __mptwo.
29320         (__inv): Use __mptwo instead of mptwo.
29321         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
29322         (mptwo): Rename to __mptwo.
29323         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
29324         of mpone and __mptwo instead of mptwo.
29325         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
29326         instead of mpone.
29327         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29328         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
29329         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
29330         of mpone and __mptwo instead of mptwo.
29331         (__mpranred): Use __mpone instead of mpone.
29332         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
29333         variable.
29334         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29335         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29336         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29337         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29338         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29339         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29340         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29341         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29342         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29343         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29344         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29345         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29346         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29347         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29348         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29349         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29350         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29351         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29352         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29354 2014-11-18  Tom de Vries  <tom@codesoucery.com>
29356         * manual/signal.texi (Primitives Interrupted by Signals): In section,
29357         replace BSD Handler xref with BSD Signal Handling.
29359 2014-11-17  Richard Henderson  <rth@redhat.com>
29361         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
29362         (_FP_PACK_RAW_2): Remove.
29363         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
29364         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
29365         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
29366         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
29367         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
29368         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
29369         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
29370         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
29371         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
29372         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
29373         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
29374         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
29375         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
29376         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
29377         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
29378         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
29380 2014-11-14  Roland McGrath  <roland@hack.frob.com>
29382         * signal/signal.h [__USE_MISC]
29383         (struct sigvec): Remove type.
29384         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
29385         (sigvec): Remove declaration.
29386         * sysdeps/posix/sigvec.c: Moved ...
29387         * signal/sigvec.c: ... here, replacing old file.
29388         (struct sigvec): New type, copied from old signal.h definition.
29389         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
29390         (__sigvec): Convert definition to prototype.
29391         (sigvec): Replace weak_alias with compat_symbol.
29392         * signal/Versions (libc: GLIBC_2.21): New version set.
29393         * include/signal.h: Remove __sigvec declaration.
29394         * sysdeps/unix/bsd/sigvec.c: Remove file.
29395         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
29396         * manual/signal.texi (BSD Handler): Remove subsection.
29397         Move siginterrupt up to ...
29398         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
29399         (Blocking in BSD): Fold subsection into its parent.
29400         * NEWS: Mention sigvec removal.
29402 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29404         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
29405         (DLA_FMS): Make definition conditional only on [__FMA4__].
29406         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
29407         definition.
29409         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
29410         Make definition conditional only on [PROF].
29411         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
29412         definition.
29413         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
29414         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
29416         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
29417         !__GNUC__].
29418         * include/signal.h (__sigpause): Move declaration above call to
29419         libc_hidden_proto.
29420         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
29421         variable.
29422         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29423         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29425 2014-11-14  David S. Miller  <davem@davemloft.net>
29427         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
29428         Define before including <string/memcpy.c> and <string/mempcpy.c>.
29430 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
29432         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
29433         * configure: Regenerated.
29434         * manual/install.texi (Tools for Compilation): Document a
29435         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
29436         compiler verified to work.
29437         * INSTALL: Regenerated.
29439         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
29440         redeclare with asm name.
29441         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
29442         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
29443         including <string.h>.
29444         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29445         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
29446         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29447         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
29448         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29449         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
29450         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
29452 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
29454         * stdlib/strtol.c (__strtol): Use prototype definition.
29456         [BZ #17594]
29457         * stdlib/strtol.c (SYM__): New macro.
29458         (SYM__1): Likewise.
29459         (__strtol): Likewise.
29460         (strtol): Rename to __strtol and define as weak alias of
29461         __strtol.  Use libc_hidden_weak.
29463 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29465         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
29466         Use numbered labels in inline assembly.
29468 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29470         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
29471         Add setjmp LIBC_PROBE.
29472         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
29473         Likewise.
29474         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
29475         Add longjmp, longjmp_target LIBC_PROBE.
29476         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
29477         Likewise.
29479 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29481         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
29482         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
29483         to get rid of unused variable warning.
29485 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
29487         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
29488         Check for unwind_backtrace ==  NULL only in SHARED case.
29489         (__backchain_backtrace): Compile only in SHARED case.
29490         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
29491         Likewise.
29492         (__backchain_backtrace): Declare as static.
29494 2014-11-12  Roland McGrath  <roland@hack.frob.com>
29496         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
29497         (__libc_multiple_threads_ptr): Variable moved ...
29498         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
29500 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
29502         * conform/GlibcConform.pm: New file.
29503         * conform/conformtest.pl: Use GlibcConform module.
29504         * conform/linknamespace.pl: New file.
29505         * conform/list-header-symbols.pl: Likewise.
29506         * conform/Makefile (linknamespace-symlists-base): New variable.
29507         (linknamespace-symlists-tests): Likewise.
29508         (linknamespace-header-base): Likewise.
29509         (linknamespace-header-tests): Likewise.
29510         (tests-special): Add new tests.
29511         ($(linknamespace-symlists-tests)): New rule.
29512         (linknamespace-libs): New variable.
29513         ($(objpfx)symlist-stdlibs): New rule.
29514         ($(linknamespace-header-tests)): Likewise.
29515         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
29516         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
29517         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
29518         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
29519         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
29520         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
29521         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
29522         (test-xfail-ISO/math.h/linknamespace): Likewise.
29523         (test-xfail-ISO/signal.h/linknamespace): Likewise.
29524         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
29525         (test-xfail-ISO/time.h/linknamespace): Likewise.
29526         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
29527         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
29528         (test-xfail-ISO99/math.h/linknamespace): Likewise.
29529         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
29530         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
29531         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
29532         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
29533         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
29534         (test-xfail-ISO11/math.h/linknamespace): Likewise.
29535         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
29536         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
29537         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
29538         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
29539         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
29540         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
29541         (test-xfail-XPG3/math.h/linknamespace): Likewise.
29542         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
29543         (test-xfail-XPG3/search.h/linknamespace): Likewise.
29544         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
29545         (test-xfail-XPG3/time.h/linknamespace): Likewise.
29546         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
29547         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
29548         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
29549         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
29550         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
29551         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
29552         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
29553         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
29554         (test-xfail-XPG4/math.h/linknamespace): Likewise.
29555         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
29556         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
29557         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
29558         (test-xfail-XPG4/search.h/linknamespace): Likewise.
29559         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
29560         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
29561         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
29562         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
29563         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
29564         (test-xfail-XPG4/time.h/linknamespace): Likewise.
29565         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
29566         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
29567         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
29568         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
29569         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
29570         (test-xfail-POSIX/math.h/linknamespace): Likewise.
29571         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
29572         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
29573         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
29574         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
29575         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
29576         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
29577         (test-xfail-POSIX/time.h/linknamespace): Likewise.
29578         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
29579         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
29580         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
29581         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
29582         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
29583         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
29584         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
29585         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
29586         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
29587         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
29588         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
29589         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
29590         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
29591         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
29592         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
29593         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
29594         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29595         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
29596         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
29597         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
29598         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
29599         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
29600         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
29601         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
29602         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
29603         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
29604         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
29605         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
29606         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
29607         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
29608         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
29609         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
29610         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
29611         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
29612         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
29613         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
29614         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
29615         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
29616         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
29617         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
29618         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
29619         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
29620         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29621         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
29622         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
29623         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
29624         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
29625         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
29626         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
29627         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
29628         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
29629         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
29630         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
29631         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
29632         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
29633         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
29634         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
29635         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
29636         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
29637         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
29638         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
29639         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
29640         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
29641         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
29642         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
29643         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
29644         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
29645         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
29646         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
29647         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29648         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
29649         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
29650         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
29651         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
29652         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
29653         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
29654         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
29655         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29656         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
29657         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
29658         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
29659         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
29660         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
29661         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
29662         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
29663         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
29664         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
29665         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
29666         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
29667         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29668         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
29669         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29670         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
29671         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
29672         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
29673         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
29674         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
29675         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
29677         [BZ #17589]
29678         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
29679         of fgets_unlocked.
29681         [BZ #17585]
29682         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
29683         (memmem): Rename to __memmem and define as weak alias of
29684         __memmem.  Use libc_hidden_weak.
29685         (__memmem): Use libc_hidden_def.
29686         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
29687         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
29688         memmem.
29690         [BZ #17582]
29691         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
29692         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
29693         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
29694         and define as weak alias of __fgets_unlocked.  Use
29695         libc_hidden_weak.
29696         (__fgets_unlocked): Use libc_hidden_def.
29697         * include/stdio.h (__fgets_unlocked): Declare.  Use
29698         libc_hidden_proto.
29699         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
29700         __fgets_unlocked instead of fgets_unlocked.
29701         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
29702         (GET_NPROCS_CONF_PARSER): Likewise.
29703         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
29704         (GET_NPROCS_CONF_PARSER): Likewise.
29706         [BZ #17574]
29707         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
29708         weak alias of __wmemset.  Use libc_hidden_weak.
29709         (__wmemset): Use libc_hidden_def.
29710         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
29711         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
29712         of wmemset.
29714         [BZ #17573]
29715         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
29716         with asm name __mempcpy.
29717         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
29719         [BZ #17572]
29720         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
29721         and define as weak alias of __rawmemchr.
29722         (__rawmemchr): Do not define as strong alias of rawmemchr.
29724         [BZ #17571]
29725         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
29726         alias of __qsort_r.
29727         (qsort): Call __qsort_r instead of qsort_r.
29728         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
29729         (__qsort_r): Declare.  Call libc_hidden_proto.
29730         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
29731         instead of qsort_r.
29732         * nscd/gai.c (__qsort_r): Define to qsort_r.
29733         * posix/tst-rfc3484.c (__qsort_r): Likewise.
29734         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
29735         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
29737         [BZ #17570]
29738         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
29739         define as weak alias of __malloc_info.
29741         [BZ #17584]
29742         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
29743         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29744         (__rewinddir): Use libc_hidden_def.
29745         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
29746         as weak alias of __rewinddir.  Don't use libc_hidden_def.
29747         (__rewinddir): Use libc_hidden_def.
29748         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
29749         weak alias of __rewinddir.  Don't use libc_hidden_def.
29750         (__rewinddir): Use libc_hidden_def.
29751         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
29752         (__rewinddir): Use libc_hidden_proto.
29753         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
29754         rewinddir.
29755         (__getcwd): Use __rewinddir instead of rewinddir.
29757         [BZ #17583]
29758         * libio/fileno.c (fileno): Rename to __fileno and define as weak
29759         alias of __fileno.  Use libc_hidden_weak.
29760         (__fileno): Use libc_hidden_def.
29761         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
29762         * libio/ftello.c (ftello): Rename to __ftello and define as weak
29763         alias of __ftello.
29764         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
29765         __ftello.
29766         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
29767         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
29768         libc_hidden_def.
29769         (fread_unlocked): Don't use libc_hidden_ver.
29770         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
29771         and define as weak alias of __fread_unlocked.  Don't use
29772         libc_hidden_def.
29773         (__fread_unlocked): Use libc_hidden_def.
29774         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
29775         (ftello): Don't use libc_hidden_proto.
29776         (__ftello): Declare.  Use libc_hidden_proto.
29777         (fread_unlocked): Don't use libc_hidden_proto.
29778         (__fread_unlocked): Declare.  Use libc_hidden_proto.
29779         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
29780         and __ftello instead of fileno, fread_unlocked and ftello.
29782 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29784         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
29785         GOT12.
29786         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
29787         Likewise.
29788         (_dl_start_user): Likewise.
29789         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
29791 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
29792             Siddhesh Poyarekar  <siddhesh@redhat.com>
29794         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
29795         Move argv and envp down instead of moving argc up.
29796         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
29798 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
29800         [BZ #17506]
29801         * test-skeleton.c (main): Return successful if one of
29802         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
29803         * string/tst-strcoll-overflow.c: Define expected status.
29805 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
29807         [BZ #17475]
29808         * locale/iso-639.def: Define Bhili and Tulu language codes.
29810 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
29812         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
29814 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
29816         [BZ #17555]
29817         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
29819 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
29821         * configure.ac: Updated check of minimal required version to
29822         2.22.
29823         * manual/install.texi (Tools for Compilation): Updated version
29824         number.
29825         * configure: Regenerated.
29826         * INSTALL: Likewise.
29828 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
29830         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
29831         __tls_get_addr.
29833 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
29835         * include/sys/wait.h (__libc_waitpid): Remove declaration.
29836         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
29837         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29838         libc_hidden_weak.
29839         (waitpid): Define as alias of __waitpid.
29840         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
29841         __waitpid.
29842         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29843         libc_hidden_weak.
29844         (waitpid): Define as alias of __waitpid.
29845         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
29846         __libc_waitpid alias.
29847         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
29848         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
29849         Likewise.
29850         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
29851         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
29852         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
29853         alias.
29854         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
29855         __waitpid.
29856         (__waitpid): Don't define as alias.  Use libc_hidden_def not
29857         libc_hidden_weak.
29858         (waitpid): Define as alias of __waitpid.
29860 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
29862         * manual/llio.texi: Add comment that write safety has been
29863         fixed in Linux.
29865         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
29866         (localplt-build-dso): Add elf/ld.so.
29867         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
29868         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
29869         and free for ld.so.
29870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
29871         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
29872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
29873         Likewise.
29874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
29875         Likewise.
29876         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
29877         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
29878         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
29879         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
29880         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
29881         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
29882         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
29883         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
29884         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
29885         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
29886         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
29888 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
29890         [BZ #14132]
29891         * include/libc-symbols.h (INTUSE): Remove macro.
29892         (INTDEF): Likewise.
29893         (INTVARDEF): Likewise.
29894         (_INTVARDEF): Likewise.
29895         (INTDEF2): Likewise.
29896         (INTVARDEF2): Likewise.
29897         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
29898         rtld_hidden_def instead of INTVARDEF.
29899         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
29900         (_dl_starting_up_internal): Remove declaration.
29901         (_dl_starting_up): Use rtld_hidden_proto.
29902         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
29903         declaration.
29904         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
29905         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
29906         _dl_starting_up.
29907         * elf/dl-writev.h (_dl_writev): Likewise.
29908         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
29909         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
29910         _dl_starting_up_internal.
29912 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29914         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
29915         test-skeleton.c.
29917 2014-11-05  Will Newton  <will.newton@linaro.org>
29919         * benchtests/Makefile: (bench-malloc): Add malloc thread
29920         scalability benchmark.
29921         * benchtests/bench-malloc-threads.c: New file.
29923 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
29925         * sysdeps/aarch64/strchrnul.S: New file.
29927 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29929         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
29930         definition.
29931         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
29932         Likwise.
29933         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
29934         Likewise.
29935         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
29936         Likewise.
29937         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
29938         Likewise.
29939         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
29940         Likewise.
29942 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
29944         * catgets/test-gencat.c: Use test-skeleton.c.
29945         * catgets/tst-catgets.c: Likewise.
29946         * csu/tst-empty.c: Likewise.
29947         * elf/tst-audit2.c: Likewise.
29948         * elf/tst-global1.c: Likewise.
29949         * elf/tst-pathopt.c: Likewise.
29950         * elf/tst-piemod1.c: Likewise.
29951         * elf/tst-tls10.c: Likewise.
29952         * elf/tst-tls11.c: Likewise.
29953         * elf/tst-tls12.c: Likewise.
29954         * gnulib/tst-gcc.c: Likewise.
29955         * iconvdata/tst-e2big.c: Likewise.
29956         * iconvdata/tst-loading.c: Likewise.
29957         * iconv/tst-iconv1.c: Likewise.
29958         * iconv/tst-iconv2.c: Likewise.
29959         * inet/test-inet6_opt.c: Likewise.
29960         * inet/tst-gethnm.c: Likewise.
29961         * inet/tst-network.c: Likewise.
29962         * inet/tst-ntoa.c: Likewise.
29963         * intl/tst-codeset.c: Likewise.
29964         * intl/tst-gettext2.c: Likewise.
29965         * intl/tst-gettext3.c: Likewise.
29966         * intl/tst-ngettext.c: Likewise.
29967         * intl/tst-translit.c: Likewise.
29968         * io/test-stat.c: Likewise.
29969         * libio/test-fmemopen.c: Likewise.
29970         * libio/tst-freopen.c: Likewise.
29971         * libio/tst-sscanf.c: Likewise.
29972         * libio/tst-ungetwc1.c: Likewise.
29973         * libio/tst-ungetwc2.c: Likewise.
29974         * libio/tst-widetext.c: Likewise.
29975         * localedata/tst-ctype.c: Likewise.
29976         * localedata/tst-digits.c: Likewise.
29977         * localedata/tst-leaks.c: Likewise.
29978         * localedata/tst-mbswcs1.c: Likewise.
29979         * localedata/tst-mbswcs2.c: Likewise.
29980         * localedata/tst-mbswcs3.c: Likewise.
29981         * localedata/tst-mbswcs4.c: Likewise.
29982         * localedata/tst-mbswcs5.c: Likewise.
29983         * localedata/tst-setlocale.c: Likewise.
29984         * localedata/tst-trans.c: Likewise.
29985         * localedata/tst-wctype.c: Likewise.
29986         * localedata/tst-xlocale1.c: Likewise.
29987         * login/tst-grantpt.c: Likewise.
29988         * malloc/tst-calloc.c: Likewise.
29989         * malloc/tst-malloc.c: Likewise.
29990         * malloc/tst-mallocstate.c: Likewise.
29991         * malloc/tst-mcheck.c: Likewise.
29992         * malloc/tst-mtrace.c: Likewise.
29993         * malloc/tst-obstack.c: Likewise.
29994         * math/atest-exp2.c: Likewise.
29995         * math/atest-exp.c: Likewise.
29996         * math/atest-sincos.c: Likewise.
29997         * math/test-matherr.c: Likewise.
29998         * math/test-misc.c: Likewise.
29999         * math/test-powl.c: Likewise.
30000         * math/tst-definitions.c: Likewise.
30001         * misc/tst-dirname.c: Likewise.
30002         * misc/tst-efgcvt.c: Likewise.
30003         * misc/tst-fdset.c: Likewise.
30004         * misc/tst-hsearch.c: Likewise.
30005         * misc/tst-mntent2.c: Likewise.
30006         * nptl/tst-sem7.c: Likewise.
30007         * nptl/tst-sem8.c: Likewise.
30008         * nptl/tst-sem9.c: Likewise.
30009         * nss/test-netdb.c: Likewise.
30010         * posix/tst-fnmatch.c: Likewise.
30011         * posix/tst-getlogin.c: Likewise.
30012         * posix/tst-gnuglob.c: Likewise.
30013         * posix/tst-mmap.c: Likewise.
30014         * pwd/tst-getpw.c: Likewise.
30015         * resolv/tst-inet_ntop.c: Likewise.
30016         * rt/tst-timer.c: Likewise.
30017         * stdio-common/test-fseek.c: Likewise.
30018         * stdio-common/test-popen.c: Likewise.
30019         * stdio-common/test-vfprintf.c: Likewise.
30020         * stdio-common/tst-cookie.c: Likewise.
30021         * stdio-common/tst-fileno.c: Likewise.
30022         * stdio-common/tst-gets.c: Likewise.
30023         * stdio-common/tst-obprintf.c: Likewise.
30024         * stdio-common/tst-perror.c: Likewise.
30025         * stdio-common/tst-sprintf2.c: Likewise.
30026         * stdio-common/tst-sprintf3.c: Likewise.
30027         * stdio-common/tst-sprintf.c: Likewise.
30028         * stdio-common/tst-swprintf.c: Likewise.
30029         * stdio-common/tst-tmpnam.c: Likewise.
30030         * stdio-common/tst-unbputc.c: Likewise.
30031         * stdio-common/tst-wc-printf.c: Likewise.
30032         * stdlib/tst-environ.c: Likewise.
30033         * stdlib/tst-fmtmsg.c: Likewise.
30034         * stdlib/tst-limits.c: Likewise.
30035         * stdlib/tst-rand48-2.c: Likewise.
30036         * stdlib/tst-rand48.c: Likewise.
30037         * stdlib/tst-random2.c: Likewise.
30038         * stdlib/tst-random.c: Likewise.
30039         * stdlib/tst-strtol.c: Likewise.
30040         * stdlib/tst-strtoll.c: Likewise.
30041         * stdlib/tst-tls-atexit.c: Likewise.
30042         * stdlib/tst-xpg-basename.c: Likewise.
30043         * string/test-ffs.c: Likewise.
30044         * string/tst-bswap.c: Likewise.
30045         * string/tst-inlcall.c: Likewise.
30046         * string/tst-strtok.c: Likewise.
30047         * string/tst-strxfrm.c: Likewise.
30048         * sysdeps/x86_64/tst-audit10.c: Likewise.
30049         * sysdeps/x86_64/tst-audit3.c: Likewise.
30050         * sysdeps/x86_64/tst-audit4.c: Likewise.
30051         * sysdeps/x86_64/tst-audit5.c: Likewise.
30052         * time/tst-ftime_l.c: Likewise.
30053         * time/tst-getdate.c: Likewise.
30054         * time/tst-mktime3.c: Likewise.
30055         * time/tst-mktime.c: Likewise.
30056         * time/tst-posixtz.c: Likewise.
30057         * time/tst-strptime2.c: Likewise.
30058         * time/tst-strptime3.c: Likewise.
30059         * wcsmbs/tst-btowc.c: Likewise.
30060         * wcsmbs/tst-mbrtowc.c: Likewise.
30061         * wcsmbs/tst-mbsrtowcs.c: Likewise.
30062         * wcsmbs/tst-wchar-h.c: Likewise.
30063         * wcsmbs/tst-wcpncpy.c: Likewise.
30064         * wcsmbs/tst-wcrtomb.c: Likewise.
30065         * wcsmbs/tst-wcsnlen.c: Likewise.
30066         * wcsmbs/tst-wcstof.c: Likewise.
30068 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
30070         [BZ #14132]
30071         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
30072         INTDEF.
30073         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
30074         declaration.
30075         (_dl_mcount): Use rtld_hidden_proto.
30076         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
30077         _dl_mcount.
30078         * elf/rtld.c (_rtld_global_ro): Likewise.
30080         [BZ #14132]
30081         * elf/dl-init.c (_dl_init): Don't use INTDEF.
30082         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
30083         of _dl_init_internal.
30084         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
30085         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
30086         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
30087         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
30088         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
30089         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
30090         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
30091         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
30092         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
30093         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
30094         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
30095         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
30096         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
30097         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
30098         * sysdeps/tile/dl-start.S (_start): Likewise.
30099         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
30100         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
30102         [BZ #14132]
30103         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
30104         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
30105         (rtld_progname): Make macro definition unconditional.
30106         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
30107         INTDEF.
30108         (dlmopen_doit): Do not use INTUSE with _dl_argv.
30109         (dl_main): Likewise.
30110         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30111         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
30112         instead of _dl_argv_internal.
30113         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30114         __GI__dl_argv instead of INTUSE(_dl_argv).
30115         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
30116         __GI__dl_argv instead of _dl_argv_internal.
30118         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
30119         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
30120         macro.
30121         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
30122         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
30123         New macro.
30124         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
30125         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
30126         macro.
30127         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
30128         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
30130 2014-11-04  Andreas Schwab  <schwab@suse.de>
30132         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
30134 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30136         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
30137         mtvsrd instruction in binary form.
30139 2014-11-03  Andreas Schwab  <schwab@suse.de>
30141         [BZ #17522]
30142         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
30143         for less than MB_LEN_MAX use a local buffer of that size.
30144         * libio/tst-fputws.c: New file.
30145         * libio/Makefile (tests): Add tst-fputws.
30147 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
30149         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
30150         the size of the fpu_fr.fpu_dregs[] array.
30152 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
30154         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
30155         (__nanosleep): Do not define as alias.
30156         (nanosleep): Define as alias of __nanosleep.
30157         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
30158         __libc_nanosleep name.
30160 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30162         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
30163         install.texi in comment.
30165 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30167         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
30168         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
30169         ... add here and use lwsync or sync ...
30170         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
30171         ... and add here using lwsync.
30173 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
30175         * elf/dl-machine-reject-phdr.h: New file.
30176         * elf/dl-load.c: #include that.
30177         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
30178         if that returned true.
30180 2014-10-31  Roland McGrath  <roland@hack.frob.com>
30182         [BZ #17496]
30183         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
30184         gen-as-const-headers chunk.  Add a big scare comment after the last
30185         safe place to touch before-compile.
30187 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
30189         * manual/install.texi (Tools for Compilation): Update autoconf
30190         version requirements.
30191         * INSTALL: Regenerated.
30193         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
30194         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
30195         (__libc_pselect): Likewise.
30197         [BZ #14138]
30198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
30199         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
30200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
30201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
30203 2014-10-31  Torvald Riegel  <triegel@redhat.com>
30205         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
30206         correct barrier instruction.
30207         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
30208         Likewise.
30209         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
30210         Likewise.
30212 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30214         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
30215         after defining inlines.  Instead, just use parens to defeat macro
30216         expansion of __isctype in its declaration.
30218 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30220         * include/sys/uio.h (__libc_readv): Remove declaration.
30221         (__libc_writev): Likewise.
30222         * misc/readv.c (__libc_readv): Rename to __readv.
30223         (__readv): Do not define as alias.
30224         (readv): Define as alias of __readv.
30225         * misc/writev.c (__libc_writev): Rename to __writev.
30226         (__writev): Do not define as alias.
30227         (writev): Define as alias of __writev.
30228         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
30229         (__readv): Do not define as alias.
30230         (readv): Define unconditionally as alias of __readv.
30231         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
30232         (__writev): Do not define as alias.
30233         (writev): Define unconditionally as alias of __writev.
30234         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
30235         name.
30236         (writev): Do not define __libc_writev name.
30238 2014-10-30  Roland McGrath  <roland@hack.frob.com>
30240         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
30241         (convert_charseq): New function, broken out of ...
30242         (use_from_charmap): ... here.  Call it.
30243         (use_to_charmap): Use convert_charseq and free instead of duplicating
30244         its code with a variable-length stack struct.
30246 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
30248         * include/fcntl.h (__libc_creat): Remove declaration.
30249         * io/creat.c (__libc_creat): Rename to creat.
30250         (creat): Do not define as alias.
30251         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
30252         of creat instead of __libc_creat.
30253         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
30254         to creat.
30255         (creat): Do not define as alias.
30256         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
30257         __libc_creat.
30258         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
30259         __libc_creat name.
30260         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
30261         Likewise.
30263 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
30265         * manual/llio.texi: Add comments discussing why write() may be
30266         considered MT-unsafe on Linux.
30268 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
30270         * dl-load.c (local_strdup): Remove.
30271         (expand_dynamic_string_token): Use __strdup.
30272         (decompose_rpath): Likewise.
30273         (_dl_map_object): Likewise.
30275 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
30277         [BZ #14132]
30278         * sysdeps/generic/unwind-dw2-fde.c
30279         (__register_frame_info_bases_internal): Do not declare.
30280         (__register_frame_info_table_bases_internal): Likewise.
30281         (__deregister_frame_info_bases_internal): Likewise.
30282         (__register_frame_info_bases): Declare and use hidden_proto before
30283         definition.  Use hidden_def instead of INTDEF.
30284         (__register_frame_info_table_bases): Likewise.
30285         (__deregister_frame_info_bases): Likewise.
30286         (__register_frame_info): Do not use INTUSE.
30287         (__register_frame): Likewise.
30288         (__register_frame_info_table): Likewise.
30289         (__register_frame_table): Likewise.
30290         (__deregister_frame_info): Likewise.
30291         (__deregister_frame): Likewise.
30293 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
30295         * sysdeps/unix/sysv/linux/arm/kernel-features.h
30296         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
30297         not undefine.
30298         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
30299         Likewise.
30300         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
30301         Likewise.
30303 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
30305         [BZ #14138]
30306         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
30307         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
30308         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
30309         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
30310         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
30311         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
30312         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
30313         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
30314         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
30315         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
30316         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
30317         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
30318         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
30319         syscall.
30320         (setfsuid): Likewise.
30321         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
30322         (setfsuid): Likewise.
30323         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
30324         (setfsuid): Likewise.
30325         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
30326         Likewise.
30327         (setfsuid): Likewise.
30328         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
30329         (setfsuid): Likewise.
30330         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
30331         Likewise.
30332         (setfsuid): Likewise.
30334 2014-10-27  Andreas Schwab  <schwab@suse.de>
30336         [BZ #17501]
30337         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
30338         check for Slow_SSE4_2 feature bit.
30339         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
30340         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
30341         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
30342         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
30344 2014-10-24  Roland McGrath  <roland@hack.frob.com>
30346         * configure.ac: Validate compiler version with a empirical test of
30347         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
30348         $CC -v output.
30349         * configure: Regenerated.
30351         * inet/htons.c (htons): Prototypify.
30352         * inet/htonl.c (htonl): Likewise.
30354 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30356         * string/strncat.c (strncat): Improve performance by using strlen.
30358 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30360         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
30362 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30364         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
30365         Call libc_fetestexcept_aarch64.
30367 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30369         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
30370         Call libc_feholdexcept_aarch64.
30372 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30374         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
30375         Call get_rounding_mode.
30377 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30379         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30380         Simplify logic.
30382 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
30384         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
30385         Simplify logic.
30387 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
30389         [BZ #14138]
30390         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
30391         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
30392         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
30393         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
30394         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
30395         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
30396         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
30397         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
30398         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
30399         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
30400         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
30401         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
30402         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
30403         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
30404         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
30405         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
30406         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
30407         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
30408         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
30409         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
30410         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
30411         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
30412         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
30413         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
30414         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
30415         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
30416         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
30417         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
30418         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
30419         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
30420         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
30421         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
30422         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
30423         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
30424         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
30425         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
30426         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
30427         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
30428         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
30429         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
30430         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
30431         syscall.
30432         (geteuid): Likewise.
30433         (getgid): Likewise.
30434         (getuid): Likewise.
30435         (getresgid): Likewise.
30436         (getresuid): Likewise.
30437         (getgroups): Likewise.
30438         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
30439         (geteuid): Likewise.
30440         (getgid): Likewise.
30441         (getuid): Likewise.
30442         (getresgid): Likewise.
30443         (getresuid): Likewise.
30444         (getgroups): Likewise.
30445         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
30446         (geteuid): Likewise.
30447         (getgid): Likewise.
30448         (getuid): Likewise.
30449         (getresgid): Likewise.
30450         (getresuid): Likewise.
30451         (getgroups): Likewise.
30452         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
30453         Likewise.
30454         (geteuid): Likewise.
30455         (getgid): Likewise.
30456         (getuid): Likewise.
30457         (getresgid): Likewise.
30458         (getresuid): Likewise.
30459         (getgroups): Likewise.
30460         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
30461         (geteuid): Likewise.
30462         (getgid): Likewise.
30463         (getuid): Likewise.
30464         (getresgid): Likewise.
30465         (getresuid): Likewise.
30466         (getgroups): Likewise.
30467         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
30468         Likewise.
30469         (geteuid): Likewise.
30470         (getgid): Likewise.
30471         (getuid): Likewise.
30472         (getgroups): Likewise.
30474         [BZ #14138]
30475         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
30476         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
30477         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
30478         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
30479         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
30480         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
30481         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
30482         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
30483         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
30484         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
30485         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
30486         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
30487         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
30488         __chown.
30489         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
30490         (lchown): Likewise.
30491         (fchown): Likewise.
30492         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
30493         Likewise.
30494         (lchown): Likewise.
30495         (fchown): Likewise.
30496         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
30497         (lchown): Likewise.
30498         (fchown): Likewise.
30499         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
30500         Likewise.
30501         (lchown): Likewise.
30502         (fchown): Likewise.
30504 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30506         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
30507         Simplify logic.
30509 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30511         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30512         Cleanup logic.
30514 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30516         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
30517         Remove unused include.
30519 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
30521         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
30522         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
30523         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
30524         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
30526 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
30527             Helge Deller <deller@gmx.de>
30529         [BZ #17508]
30530         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
30531         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
30532         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
30534 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
30536         [BZ #14132]
30537         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
30538         Remove macro definition.
30539         (__ashrdi3_v_glibc20): Likewise.
30540         (__lshrdi3_v_glibc20): Likewise.
30541         (__cmpdi2_v_glibc20): Likewise.
30542         (__ucmpdi2_v_glibc20): Likewise.
30543         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
30544         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
30545         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
30546         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
30547         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
30548         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
30550 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30552         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
30553         old GNU extension [0] syntax.
30554         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
30555         alloca rather than an array member with variable length.
30556         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
30557         * nscd/nscd.c (invalidate_db): New function, broken out of ...
30558         (parse_opt): ... here.  Likewise use alloca there.
30559         Validate the -i argument before checking for rootness.
30560         (send_shutdown): New function, broken out of ...
30561         (parse_opt): ... here.
30563 2014-10-22  Roland McGrath  <roland@hack.frob.com>
30565         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
30566         macro to get at the _rt_local_ro field.
30567         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
30568         ([PIC] case) or _dl_hwcap ([!PIC] case).
30569         * sysdeps/arm/setjmp.S: Likewise.
30571         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
30572         * sysdeps/arm/configure.ac: New check to define it.
30573         * sysdeps/arm/configure: Regenerated.
30574         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
30575         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
30576         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
30577         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
30578         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
30579         Use move/movt pair instead of a load.
30580         (LDST_GLOBAL): Macro removed.
30581         (LDR_GLOBAL): New macro replaces it.
30582         (LDR_HIDDEN): New macro.
30583         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
30584         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
30586         * setjmp/tst-setjmp-static.c: New file.
30587         * setjmp/Makefile (tests): Add it.
30588         (tests-static): New variable.
30590 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
30592         [BZ #17485]
30593         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
30595 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
30597         [BZ #14132]
30598         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
30600 2014-10-21  Roland McGrath  <roland@hack.frob.com>
30602         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
30604 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30606         * io/fts.c (dirent_not_directory): New function.
30607         (fts_build): Call it.
30609 2014-10-20  Roland McGrath  <roland@hack.frob.com>
30611         * nptl/version.c (__nptl_main): Use normal __write rather than
30612         INTERNAL_SYSCALL.
30613         (banner): Update copyright years.
30615         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
30616         gettimeofday.
30617         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
30618         * nptl/pthread_cond_timedwait.c: Likewise.
30619         * nptl/pthread_mutex_timedlock.c: Likewise.
30620         * nptl/sem_timedwait.c: Likewise.
30622         * sysdeps/nptl/bits/libc-lock.h
30623         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
30624         (__libc_lock_init_recursive): Return void, not 0.
30625         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
30626         (__libc_rwlock_init): Likewise.
30627         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
30629 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30631         [BZ #15215]
30632         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
30633         (__pthread_once_slow): ... here.
30634         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
30635         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
30637 2014-10-20  Torvald Riegel  <triegel@redhat.com>
30639         [BZ #15215]
30640         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
30641         __PTHREAD_ONCE_FORK_GEN_INCR): New.
30642         * sysdeps/nptl/fork.c (__libc_fork): Use them.
30643         * nptl/pthread_once.c (__pthread_once): Likewise.
30644         Update comments.
30646 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
30648         [BZ #14138]
30649         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
30650         name.
30651         (writev): Use __libc_writev as strong name.
30652         * sysdeps/unix/sysv/linux/readv.c: Remove file.
30653         * sysdeps/unix/sysv/linux/writev.c: Likewise.
30655 2014-10-17  Roland McGrath  <roland@hack.frob.com>
30657         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
30659         * sysdeps/i386/nptl/tls.h
30660         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
30661         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
30662         New macros.
30663         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
30664         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
30665         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
30666         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
30667         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
30668         Call CHECK_THREAD_SYSINFO instead of doing an assert.
30670         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
30671         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
30672         on [__NR_futex].
30673         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
30674         broken out of ...
30675         (__pthread_mutex_init): ... here.  Call it.
30676         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
30677         Conditionalize PI cases on [__NR_futex].
30678         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
30679         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
30680         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
30682         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
30683         conditional on [SIGSETXID].
30684         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
30685         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
30686         is defined.  Likewise for SIGSETXID.
30687         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
30688         Conditionalize definitions on [SIGSETXID].
30689         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
30690         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
30691         unblocking on [SIGCANCEL].
30693         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
30694         [__NR_set_robust_list].
30696 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30698         * string/strcoll_l.c (get_next_seq): Fix up formatting.
30699         (do_compare): Likewise.
30701 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
30703         [BZ #15884]
30704         * string/strcoll_l.c: Don't include stdio.h.
30705         (coll_seq): Remove members idxarr and rulearr.
30706         (get_next_seq_cached): Remove function.
30707         (get_next_seq): Likewise.
30708         (get_next_seq_nocache): Rename to get_next_seq.
30709         (do_compare): Remove function.
30710         (do_compare_nocache): Rename to do_compare.
30711         (STRCOLL): Remove weight and rules cache.
30713 2014-10-16  Roland McGrath  <roland@hack.frob.com>
30715         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
30716         * sysdeps/arm/sfp-machine.h: ... to here.
30717         * sysdeps/arm/Implies: Remove arm/soft-fp.
30719 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
30721         * conform/data/sys/utsname.h-data (*_t): Allow.
30722         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
30723         [POSIX] (WEXITED): Do not expect constant.
30724         [POSIX] (WSTOPPED): Likewise.
30725         [POSIX] (WNOHANG): Likewise.
30726         [POSIX] (WNOWAIT): Likewise.
30727         [POSIX] (siginfo_t): Do not expect type or elements.
30728         [POSIX] (pid_t): Do not expect type.
30729         [POSIX] (signal.h): Do not allow header.
30730         [POSIX] (sys/resource.h): Likewise.
30731         [POSIX] (si_*): Do not allow pattern.
30732         [POSIX] (W*): Likewise.
30733         [POSIX] (P_*): Likewise.
30734         [POSIX] (BUS_*): Likewise.
30735         [POSIX] (CLD_*): Likewise.
30736         [POSIX] (FPE_*): Likewise.
30737         [POSIX] (ILL_*): Likewise.
30738         [POSIX] (POLL_*): Likewise.
30739         [POSIX] (SEGV_*): Likewise.
30740         [POSIX] (SI_*): Likewise.
30741         [POSIX] (TRAP_*): Likewise.
30742         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
30743         variable.
30745 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
30747         [BZ #12926]
30748         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
30749         infinite loop when __recvmsg returns 0.
30751 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
30753         * CANCEL-FCT-WAIVE: Remove file.
30754         * CANCEL-FILE-WAIVE: Likewise.
30756         [BZ #14132]
30757         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
30758         instead of INTVARDEF.
30759         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30760         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
30761         rtld_hidden_data_def instead of INTVARDEF.
30762         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
30763         * elf/dl-deps.c (expand_dst): Likewise.
30764         * elf/dl-load.c (_dl_dst_count): Likewise.
30765         (_dl_dst_substitute): Likewise.
30766         (decompose_rpath): Likewise.
30767         (_dl_init_paths): Likewise.
30768         (open_path): Likewise.
30769         (_dl_map_object): Likewise.
30770         * elf/rtld.c (dl_main): Likewise.
30771         (process_dl_audit): Likewise.
30772         (process_envvars): Likewise.
30773         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
30774         Remove declaration.
30775         (__libc_enable_secure): Use rtld_hidden_proto.
30777 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
30779         * elf/dl-load.c
30780         (add_path): New function broken out of _dl_rtld_di_serinfo.
30781         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
30783 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30785         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
30786         parentheses around macro arguments.
30787         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
30788         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
30789         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
30790         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
30791         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
30792         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30793         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30794         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
30795         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
30796         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
30797         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
30798         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
30799         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
30800         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
30801         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
30802         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
30803         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
30804         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
30805         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
30806         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
30807         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
30808         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
30809         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
30810         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
30811         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
30812         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
30813         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
30814         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
30815         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
30816         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
30817         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
30818         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
30819         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
30820         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
30821         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
30822         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
30823         Likewise.
30824         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
30825         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30826         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30827         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
30828         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
30829         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
30830         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
30831         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
30832         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
30833         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
30834         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
30835         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
30836         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
30837         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
30838         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
30839         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
30840         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
30841         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
30842         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
30843         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
30844         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
30845         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
30846         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
30847         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
30848         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
30849         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
30850         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
30851         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
30852         (_FP_FRAC_SRS_1): Likewise.
30853         (_FP_FRAC_CLZ_1): Likewise.
30854         (_FP_MUL_MEAT_1_imm): Likewise.
30855         (_FP_MUL_MEAT_1_wide): Likewise.
30856         (_FP_MUL_MEAT_1_hard): Likewise.
30857         (_FP_SQRT_MEAT_1): Likewise.
30858         (_FP_FRAC_ASSEMBLE_1): Likewise.
30859         (_FP_FRAC_DISASSEMBLE_1): Likewise.
30860         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
30861         (__FP_CLZ_2): Likewise.
30862         (_FP_MUL_MEAT_2_wide): Likewise.
30863         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
30864         (_FP_MUL_MEAT_2_gmp): Likewise.
30865         (_FP_MUL_MEAT_2_120_240_double): Likewise.
30866         (_FP_SQRT_MEAT_2): Likewise.
30867         (_FP_FRAC_ASSEMBLE_2): Likewise.
30868         (_FP_FRAC_DISASSEMBLE_2): Likewise.
30869         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
30870         (_FP_FRAC_CLZ_4): Likewise.
30871         (_FP_MUL_MEAT_4_wide): Likewise.
30872         (_FP_MUL_MEAT_4_gmp): Likewise.
30873         (_FP_SQRT_MEAT_4): Likewise.
30874         (_FP_FRAC_ASSEMBLE_4): Likewise.
30875         (_FP_FRAC_DISASSEMBLE_4): Likewise.
30876         * soft-fp/op-common.h (_FP_CMP): Likewise.
30877         (_FP_CMP_EQ): Likewise.
30878         (_FP_CMP_UNORD): Likewise.
30879         (_FP_TO_INT): Likewise.
30880         (_FP_FROM_INT): Likewise.
30881         [!__FP_CLZ] (__FP_CLZ): Likewise.
30882         (_FP_DIV_HELP_imm): Likewise.
30883         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
30884         Likewise.
30885         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
30886         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
30887         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
30888         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
30889         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
30890         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30891         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30892         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
30893         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
30894         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
30895         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
30896         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
30897         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
30898         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
30899         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
30900         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
30901         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
30902         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
30903         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
30904         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
30905         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
30906         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
30907         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
30908         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
30909         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
30910         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
30911         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
30912         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
30913         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
30914         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
30915         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
30916         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
30917         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
30918         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
30919         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
30920         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
30921         (FP_UNPACK_RAW_SP): Likewise.
30922         (FP_PACK_RAW_S): Likewise.
30923         (FP_PACK_RAW_SP): Likewise.
30924         (FP_UNPACK_S): Likewise.
30925         (FP_UNPACK_SP): Likewise.
30926         (FP_UNPACK_SEMIRAW_S): Likewise.
30927         (FP_UNPACK_SEMIRAW_SP): Likewise.
30928         (FP_PACK_S): Likewise.
30929         (FP_PACK_SP): Likewise.
30930         (FP_PACK_SEMIRAW_S): Likewise.
30931         (FP_PACK_SEMIRAW_SP): Likewise.
30932         (_FP_SQRT_MEAT_S): Likewise.
30933         (FP_CMP_S): Likewise.
30934         (FP_CMP_EQ_S): Likewise.
30935         (FP_CMP_UNORD_S): Likewise.
30936         (FP_TO_INT_S): Likewise.
30937         (FP_FROM_INT_S): Likewise.
30939         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
30941         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
30942         (FP_EX_INVALID_IMZ): Likewise.
30943         (FP_EX_INVALID_IMZ_FMA): Likewise.
30944         (FP_EX_INVALID_ISI): Likewise.
30945         (FP_EX_INVALID_ZDZ): Likewise.
30946         (FP_EX_INVALID_IDI): Likewise.
30947         (FP_EX_INVALID_SQRT): Likewise.
30948         (FP_EX_INVALID_CVI): Likewise.
30949         (FP_EX_INVALID_VC): Likewise.
30950         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
30951         "invalid" exceptions.
30952         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
30953         (_FP_ADD_INTERNAL): Likewise.
30954         (_FP_MUL): Likewise.
30955         (_FP_FMA): Likewise.
30956         (_FP_DIV): Likewise.
30957         (_FP_CMP_CHECK_NAN): Likewise.
30958         (_FP_SQRT): Likewise.
30959         (_FP_TO_INT): Likewise.
30960         (FP_EXTEND): Likewise.
30962 2014-10-09  Allan McRae  <allan@archlinux.org>
30964         * po/fr.po: Update French translation from translation project.
30966 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
30968         [BZ #14132]
30969         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
30970         of INTDEF.
30971         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
30972         (__cxa_atexit): Use libc_hidden_proto.
30973         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
30975         [BZ #14132]
30976         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
30977         declaration.
30978         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
30979         [!_ISOMAC] (__iswspace_l_internal): Likewise.
30980         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
30981         [!_ISOMAC] (__iswctype_internal): Likewise.
30982         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
30983         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
30984         alias.
30985         (fcntl): Remove __fcntl_internal alias.
30986         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
30987         __connect_internal alias.
30988         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
30989         Likewise.
30991         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
30992         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
30993         FP_DENORM_ZERO.
30994         (_FP_CHECK_FLUSH_ZERO): New macro.
30995         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
30996         (_FP_CMP): Likewise.
30997         (_FP_CMP_EQ): Likewise.
30998         (_FP_TO_INT): Do not set inexact for subnormal arguments if
30999         FP_DENORM_ZERO.
31000         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
31001         (FP_TRUNC): Likewise.
31003         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
31004         treated as invalid conversion, not as normal exponent.
31006         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
31007         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
31008         (_FP_CMP_EQ): Likewise.
31009         (_FP_CMP_UNORD): Likewise.
31010         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
31011         (FP_CMP_EQ_D): Likewise.
31012         (FP_CMP_UNORD_D): Likewise.
31013         * soft-fp/extended.h (FP_CMP_E): Likewise.
31014         (FP_CMP_EQ_E): Likewise.
31015         (FP_CMP_UNORD_E): Likewise.
31016         * soft-fp/quad.h (FP_CMP_Q): Likewise.
31017         (FP_CMP_EQ_Q): Likewise.
31018         (FP_CMP_UNORD_Q): Likewise.
31019         * soft-fp/single.h (FP_CMP_S): Likewise.
31020         (FP_CMP_EQ_S): Likewise.
31021         (FP_CMP_UNORD_S): Likewise.
31022         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
31023         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
31024         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
31025         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
31026         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
31027         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
31028         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
31029         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
31030         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
31031         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
31032         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
31033         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
31034         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
31035         to FP_CMP_Q.
31036         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
31037         FP_CMP_Q.
31038         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
31039         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
31040         FP_CMP_EQ_Q.
31041         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
31042         FP_CMP_Q.
31043         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
31044         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
31045         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
31046         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
31047         FP_CMP_EQ_Q.
31048         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
31049         FP_CMP_Q.
31050         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
31051         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
31052         FP_CMP_EQ_Q.
31053         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
31054         FP_CMP_Q.
31055         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
31056         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
31057         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
31058         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
31059         FP_CMP_EQ_Q.
31061         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
31062         a subnormal result, set the underflow exception if trapping on
31063         underflow is enabled.
31064         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
31065         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
31066         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
31067         redefine to 0.
31068         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
31069         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31070         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
31071         * soft-fp/extendxftf2.c (__extendxftf2): Use
31072         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
31074         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
31075         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
31076         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31077         FP_HANDLE_EXCEPTIONS.
31078         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
31079         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31080         FP_HANDLE_EXCEPTIONS.
31081         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
31082         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31083         FP_HANDLE_EXCEPTIONS.
31084         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
31085         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
31086         FP_HANDLE_EXCEPTIONS.
31088 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
31090         [BZ #14132]
31091         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
31092         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
31093         use INTUSE.
31094         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
31095         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
31096         Remove alias.
31097         (__adjtimex): Define using libc_hidden_ver.
31098         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
31099         Remove declaration.
31100         (ntp_gettime): Call __adjtimex directly.
31101         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
31102         Remove declaration.
31103         (ntp_gettimex): Call __adjtimex directly.
31104         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
31105         __adjtimex_internal alias.
31107 2014-10-08  Roland McGrath  <roland@hack.frob.com>
31109         [BZ #17460]
31110         * nscd/nscd.c (more_help): Rewrite list of tables collection
31111         using xstrdup and asprintf.
31113         * nscd/nscd_conf.c: Remove local xstrdup declaration.
31115 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31116             Roland McGrath  <roland@hack.frob.com>
31118         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
31119         (do_lookup_unique): ... local function 'enter' here; update callers.
31121 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
31123         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
31124         compat_symbol calls on [SHARED].
31125         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
31126         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
31127         Remove.
31128         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31129         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
31130         (oldsetrlimit): Remove.
31131         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31133         (lchown): New syscall entry.
31134         (oldsetrlimit): Remove.
31135         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31136         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
31137         (oldsetrlimit): Remove.
31138         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
31140         [BZ #14138]
31141         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
31142         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
31143         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
31144         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
31145         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31146         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
31147         (fchown): Likewise.
31148         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
31149         (fchown): Likewise.
31150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
31151         Likewise.
31153 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31155         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
31156         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
31157         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
31158         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
31159         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
31160         Likewise.
31161         (__old_sem_post): Likewise.
31163 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
31165         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
31166         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
31167         HAVE_CLOCK_GETTIME_VSYSCALL macros.
31168         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
31169         Use INLINE_VSYSCALL macro.
31170         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
31171         __vdso_clock_gettime.
31172         * sysdeps/unix/sysv/linux/tile/init-first.c
31173         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
31174         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
31175         __vdso_clock_gettime.
31177         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
31178         to set up frame more cleanly.
31180         * sysdeps/tile/memcmp.c: New file.
31182         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
31184         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
31185         * sysdeps/tile/tilegx/strcasestr.c: New file.
31186         * sysdeps/tile/tilegx/strnlen.c: New file.
31187         * sysdeps/tile/tilegx/strstr.c: New file.
31189         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
31191 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
31193         * nptl/tst-setuid3.c: Write errors to stdout.
31195 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31197         * elf/dl-deps.c
31198         (preload): New functions broken out of _dl_map_object_deps.
31199         (_dl_map_object_deps):  Remove a nested function. Update call sites.
31201 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
31203         [BZ #14138]
31204         * sysdeps/unix/sysv/linux/execve.c: Remove file.
31205         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
31207 2014-10-01  Steve Ellcey  <sellcey@mips.com>
31209         * sysdeps/mips/strcmp.S: New.
31211 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
31213         [BZ #14138]
31214         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
31215         (linkat): Likewise.
31216         (mkdirat): Likewise.
31217         (readlinkat): Likewise.
31218         (renameat): Likewise.
31219         (symlinkat): Likewise.
31220         (unlinkat): Likewise.
31221         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
31222         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
31223         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
31224         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
31225         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
31226         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
31227         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
31229 2014-09-30  Will Newton  <will.newton@linaro.org>
31231         * math/math.h: Define long double math functions if
31232         _LIBC_TEST is defined.
31233         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
31235         * localedata/Makefile: Move assignment to tests-special
31236         into an ifdef testing run-built-tests.
31237         * timezone/Makefile: Likewise.
31239 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
31241         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
31242         with $(BASH) not $(SHELL).
31244 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
31245             Matthew LeGendre  <legendre1@llnl.gov>
31247         [BZ #17411]
31248         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
31249         l_reloc_result.
31251 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31253         * stdio-common/printf_fp.c
31254         (hack_digit): New function, broken out of ...
31255         (__printf_fp): ... local function here.  Update call sites.
31256         hack_digit now takes an additional parameter that is a pointer
31257         to a struct of the referenced locals.  Those locals moved inside
31258         the struct and references updated.
31260 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
31262         * aclocal.m4: Require autoconf 2.69.
31263         * configure: Regenerated.
31264         * sysdeps/aarch64/configure: Likewise.
31265         * sysdeps/alpha/configure: Likewise.
31266         * sysdeps/arm/armv7/configure: Likewise.
31267         * sysdeps/arm/configure: Likewise.
31268         * sysdeps/ia64/configure: Likewise.
31269         * sysdeps/mach/configure: Likewise.
31270         * sysdeps/mips/configure: Likewise.
31271         * sysdeps/s390/configure: Likewise.
31272         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
31273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
31275         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
31276         file.
31277         * sysdeps/ia64/configure.ac: Likewise.
31279 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
31281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
31282         specify symbol version for ld.so.  Do not include entry for
31283         libpthread.
31284         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31285         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31286         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31288         [BZ #14171]
31289         * Makeconfig [$(build-shared) = yes]
31290         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
31291         makefiles.
31292         [$(build-shared) = yes && $(soversions.mk-done) = t]
31293         ($(common-objpfx)gnu/lib-names.h): Remove rule.
31294         [$(build-shared) = yes && $(soversions.mk-done) = t]
31295         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
31296         to Makerules.
31297         [$(build-shared) = yes && $(soversions.mk-done) = t]
31298         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
31299         here.
31300         [$(build-shared) = yes && $(soversions.mk-done) = t]
31301         (common-generated): Don't append gnu/lib-names.h and
31302         gnu/lib-names.stmp here.
31303         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
31304         (lib-names-h-abi): New variable.
31305         [$(build-shared) = yes && $(soversions.mk-done) = t]
31306         (lib-names-stmp-abi): Likewise.
31307         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31308         abi-variants] (before-compile): Append
31309         $(common-objpfx)$(lib-names-h-abi).
31310         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31311         abi-variants] (common-generated): Append gnu/lib-names.h.
31312         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31313         abi-variants] (install-others-nosubdir): Depend on
31314         $(inst_includedir)/$(lib-names-h-abi).
31315         [$(build-shared) = yes && $(soversions.mk-done) = t &&
31316         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
31317         [$(build-shared) = yes && $(soversions.mk-done) = t]
31318         ($(common-objpfx)$(lib-names-h-abi)): New rule.
31319         [$(build-shared) = yes && $(soversions.mk-done) = t]
31320         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
31321         [$(build-shared) = yes && $(soversions.mk-done) = t]
31322         (common-generated): Append $(lib-names-h-abi) and
31323         $(lib-names-stmp-abi).
31324         * scripts/lib-names.awk: Do not handle multi being set.
31325         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
31326         Remove variable.
31327         (abi-lp64_be-ld-soname): Likewise.
31328         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
31329         Likewise.
31330         (abi-hard-ld-soname): Likewise.
31331         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
31332         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
31333         Remove variable.
31334         (abi-o32_hard-ld-soname): Likewise.
31335         (abi-o32_soft_2008-ld-soname): Likewise.
31336         (abi-o32_hard_2008-ld-soname): Likewise.
31337         (abi-n32_soft-ld-soname): Likewise.
31338         (abi-n32_hard-ld-soname): Likewise.
31339         (abi-n32_soft_2008-ld-soname): Likewise.
31340         (abi-n32_hard_2008-ld-soname): Likewise.
31341         (abi-n64_soft-ld-soname): Likewise.
31342         (abi-n64_hard-ld-soname): Likewise.
31343         (abi-n64_soft_2008-ld-soname): Likewise.
31344         (abi-n64_hard_2008-ld-soname): Likewise.
31345         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
31346         Likewise.
31347         (abi-64-v2-ld-soname): Likewise.
31348         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
31349         ld.so entries.
31350         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
31351         variable.
31352         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
31353         entry.
31354         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
31355         variable.
31356         (abi-64-ld-soname): Likewise.
31357         (abi-x32-ld-soname): Likewise.
31358         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
31359         entry.
31360         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31362 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
31364         [BZ #14138]
31365         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
31366         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
31367         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
31368         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
31369         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
31370         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
31371         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
31372         syscall entry for GLIBC_2.2 symbol version.
31373         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
31374         Likewise.
31375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
31376         (setrlimit): Likewise.
31377         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
31378         Likewise.
31380 2014-09-23  Will Newton  <will.newton@linaro.org>
31382         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
31383         _LINUX_ARM_SYSDEP_H include guard too.
31384         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
31385         define.
31387 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
31389         * sysdeps/unix/sysv/linux/eventfd.c:
31390         Make first argument unsigned.
31391         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
31392         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
31394 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
31396         [BZ #16852]
31397         * socket/recvmmsg.c (recvmmsg): Drop const argument.
31398         * socket/sys/socket.h: Likewise.
31399         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
31401 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31403         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
31405 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
31407         * time/tst-ftime.c: New test.
31408         * time/Makefile (tests): Add tst-ftime.
31410 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
31412         * soft-fp/extended.h: Fix comment formatting.
31413         * soft-fp/op-1.h: Likewise.
31414         * soft-fp/op-2.h: Likewise.
31415         * soft-fp/op-4.h: Likewise.
31416         * soft-fp/op-8.h: Likewise.
31417         * soft-fp/op-common.h: Likewise.
31418         * soft-fp/soft-fp.h: Likewise.
31420         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
31422 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
31424         [BZ #6652]
31425         * Makeconfig (soversions-default-setname): Remove variable.
31426         ($(common-objpfx)soversions.i): Don't pass default_setname to
31427         soversions.awk.
31428         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
31429         oldest_abi to abi-versions.awk.
31430         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
31431         * config.make.in (oldest-abi): Remove variable.
31432         * configure.ac (--enable-oldest-abi): Remove configure option.
31433         * configure: Regenerated.
31434         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
31435         text.
31436         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
31437         * scripts/soversions.awk: Do not handle default_setname variable.
31438         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
31439         variable.
31440         * sysdeps/mach/hurd/configure: Regenerated.
31441         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
31442         variable.
31443         * sysdeps/unix/sysv/linux/configure: Regenerated.
31445 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31447         * elf/Makefile (CFLAGS-interp.c): Remove.
31448         ($(elf-objpfx)runtime-linker.h): Generate header with linker
31449         path string.
31450         * elf/interp.c: Include generated runtime-linker.h
31452         * Makerules (lib%.so): Don't include $(+interp) in
31453         prerequisites.
31454         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
31455         * dlfcn/eval.c: Remove file.
31457         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
31458         macros.
31460         [BZ #17266]
31461         * misc/sys/cdefs.h: Define __extern_always_inline for clang
31462         4.2 and newer.
31464         [BZ #17370]
31465         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
31467 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31468             Jakub Jelinek  <jakub@redhat.com>
31470         [BZ #17266]
31471         * libio/stdio.h: Check definition of __fortify_function
31472         instead of __extern_always_inline to include bits/stdio2.h.
31473         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
31474         check if __extern_always_inline is defined.
31475         [__USE_MISC || __USE_XOPEN]: Likewise.
31476         [__USE_ISOC99] Likewise.
31477         * misc/sys/cdefs.h (__fortify_function): Define only if
31478         __extern_always_inline is defined.
31479         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
31480         __extern_always_inline and __extern_inline only for g++-4.3
31481         and newer or a compatible gcc.
31483 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
31485         [BZ #17371]
31486         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
31487         last change to handle zero prefix length.
31489 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31491         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
31492         _SC_REGEX_VERSION.
31494         * posix/getconf.c (vars): Add _POSIX_IPV6 and
31495         _POSIX_RAW_SOCKETS.
31497 2014-09-13  Allan McRae  <allan@archlinux.org>
31499         * po/ru.po: Update Russian translation from translation project.
31501 2014-09-12  Roland McGrath  <roland@hack.frob.com>
31503         * locale/programs/locale.c (show_locale_vars): Inline local function
31504         into its sole call site.  Clean up some style nits.
31505         (print_item): New function, broken out of ...
31506         (show_info): ... local function here.  Clean up style nits.
31508         * locale/programs/ld-ctype.c (set_one_default): New function, broken
31509         out of ...
31510         (set_class_defaults): ... local function set_default here.
31511         Define set_default as a macro locally to pass constant parameters.
31512         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
31513         rather than a shared local.
31515         * stdlib/rpmatch.c (try): New function, broken out of ...
31516         (rpmatch): ... local function here.  Also, prototypify definition.
31518 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
31520         * scripts/soversions.awk: Do not handle configuration names.
31521         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
31522         vendor and os variables to soversions.awk.
31523         * configure.ac: Do not modify gnu-* host_os.
31524         * configure: Regenerated
31525         * shlib-versions: Remove first column with configuration names.
31526         * nptl/shlib-versions: Likewise.
31527         * nptl_db/shlib-versions: Likewise.
31528         * sysdeps/hppa/shlib-versions: Likewise.
31529         * sysdeps/m68k/shlib-versions: Likewise.
31530         * sysdeps/mach/hurd/shlib-versions: Likewise.
31531         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
31532         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
31533         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
31534         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
31535         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
31536         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
31537         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
31538         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
31539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31540         Likewise.
31541         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31542         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31543         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31544         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31545         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31546         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
31547         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
31548         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
31550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
31551         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
31552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
31553         Regenerated.
31554         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
31555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
31556         Condition symbol version definitions on [HAVE_ELFV2_ABI].
31558         * shlib-versions: Remove OS-specific entries.  Moved to files in
31559         sysdeps.
31560         * sysdeps/mach/hurd/shlib-versions: New file.
31561         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
31563         * nptl/shlib-versions: Remove architecture-specific entries.
31564         Moved to files in sysdeps.
31565         * shlib-versions: Likewise.
31566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
31567         file.
31568         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
31569         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
31570         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
31571         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
31573         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
31574         (UDP_NO_CHECK6_RX): Likewise.
31576 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31578         * sysdeps/posix/sysconf.c (__sysconf): Spell
31579         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
31581 2014-08-12  Florian Weimer  <fweimer@redhat.com>
31583         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
31584         loading.
31585         * iconv/Versions (__gconv_transliterate): Export for use from
31586         gconv modules.
31587         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
31588         (struct __gconv_trans_data, __gconv_trans_fct,
31589         __gconv_trans_context_fct, __gconv_trans_query_fct,
31590         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
31591         definitions.
31592         (struct __gconv_step_data): Remove __trans member.
31593         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
31594         longer hidden.  Remove unused trans_data argument.
31595         * iconv/gconv_int.h (struct trans_struct): Remove definition.
31596         (__gconv_translit_find): Remove declaration.
31597         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
31598         prototype.
31599         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
31600         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
31601         trans_data argument.  Add hidden definition.
31602         (__gconv_translit_find): Remove.
31603         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
31604         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
31605         * iconv/skeleton.c: Remove transliteration initialization.
31606         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
31607         __gconv_step_data initialization.
31608         * libio/iofwide.c (__libio_translit_): Remove.
31609         (_IO_fwide): Adjust struct __gconv_step_data initialization.
31610         * wcsmbs/btowc.c (__btowc): Likewise.
31611         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
31612         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
31613         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
31614         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
31615         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
31616         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
31617         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
31618         * wcsmbs/wctob.c (wctob): Likewise.
31620 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
31622         [BZ #16194]
31623         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
31624         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
31625         register usage.
31626         * sysdeps/x86/Makefile: Adjust.
31628 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
31629             Roland McGrath  <roland@hack.frob.com>
31631         * locale/weight.h: Add include guard.
31632         (findidx): Make static rather than auto; take new parameters
31633         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
31634         * locale/weightwc.h: Likewise.
31635         * posix/fnmatch_loop.c
31636         (FCT): Change type of EXTRA from int32_t to wint_t.
31637         Don't include either header inside the function.
31638         Call FINDIDX rather than findidx, and pass new arguments.
31639         #undef FINDIDX at the end of the file.
31640         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
31641         FINDIDX before including fnmatch_loop.c for the non-wide version.
31642         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
31643         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
31644         for the wide version.
31645         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
31646         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
31647         Pass new arguments to findidx.
31648         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
31649         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
31650         Don't #include it inside the function.  Pass new arguments to findidx.
31651         * posix/regex_internal.h
31652         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
31653         (re_string_elem_size_at): Don't #include it inside the function.
31654         Pass new arguments to findidx.
31655         * string/strcoll_l.c: #include WEIGHT_H at top level.
31656         (get_next_seq): Don't #include it inside the function.
31657         Pass new arguments to findidx.
31658         (get_next_seq_nocache): Likewise.
31659         * string/strxfrm_l.c: #include WEIGHT_H at top level.
31660         (STRXFRM): Don't #include it inside the function.
31661         Pass new arguments to findidx.
31663 2014-09-11  Florian Weimer  <fweimer@redhat.com>
31665         [BZ #17344]
31666         * malloc/malloc.c (unlink): Turn asserts into a call to
31667         malloc_printerr.
31669 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
31671         [BZ #17370]
31672         * libio/wfileops (do_ftell_wide): Free OUT.
31674 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
31676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
31678 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31680         [BZ #17363]
31681         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
31682         group if the current group is empty.
31684 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31686         * benchtests/bench-memset.c (test_main): Add more test from size
31687         from 32 to 512 bytes.
31688         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31689         Add POWER8 memset object.
31690         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
31691         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
31692         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
31693         implementation.
31694         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
31695         Likewise.
31696         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
31697         multiarch POWER8 memset optimization.
31698         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
31699         POWER8 memset optimization.
31701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
31702         Remove bzero multiarch objects.
31703         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
31704         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
31705         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
31706         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
31707         Remove define.
31708         [__bzero]: Redefine to specific name.
31709         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
31710         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
31711         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
31712         define.
31713         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
31714         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
31716 2014-09-10  Florian Weimer  <fweimer@redhat.com>
31718         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
31719         warnings into errors.
31721         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
31722         __cxa_thread_atexit_impl prototype.
31724 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31726         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
31727         Fix capitalization of error message.
31729 2014-09-09  Steve Ellcey  <sellcey@mips.com>
31731         * sysdeps/mips/preconfigure: Modify ABI tests.
31733 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
31735         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
31737 2014-09-07  Roland McGrath  <roland@hack.frob.com>
31738             Carlos O'Donell  <carlos@systemhalted.org>
31740         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
31741         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
31742         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
31743         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
31744         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
31745         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
31746         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
31747         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
31748         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
31749         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
31750         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
31751         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
31752         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
31753         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
31754         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
31755         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
31756         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
31757         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
31758         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
31759         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
31760         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
31761         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
31762         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
31763         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
31764         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
31765         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
31766         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
31767         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
31768         Deconditionalize the code that was previously under [RESET_PID].
31769         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
31770         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
31771         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
31772         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
31773         include sysdep.h.
31775 2014-09-08  Allan McRae  <allan@archlinux.org>
31777         * version.h (RELEASE): Set to "development".
31778         (VERSION): Set to "2.20.90"
31780 2014-09-07  Allan McRae  <allan@archlinux.org
31782         * version.h (RELEASE): Set to "stable".
31783         (VERSION): Set to "2.20"
31784         * include/features.h (__GLIBC_MINOR__): Set to 20.
31786         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
31787         Liebler.
31789         * po/ko.po: Update Korean translation from translation project.
31791 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
31793         [BZ #17354]
31794         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
31795         macro for handling signed relocations.
31797 2014-09-03  Florian Weimer  <fweimer@redhat.com>
31799         [BZ #17325]
31800         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
31801         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
31802         assert.
31803         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
31804         * iconvdata/ibm935.c (BODY): Likewise.
31805         * iconvdata/ibm937.c (BODY): Likewise.
31806         * iconvdata/ibm939.c (BODY): Likewise.
31807         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
31808         assert.
31809         * iconvdata/Makefile (iconv-test.out): Pass module list to test
31810         script.
31811         * iconvdata/run-iconv-test.sh: New test loop for checking for
31812         decoder crashers.
31814 2014-09-02  Khem Raj  <raj.khem@gmail.com>
31816         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
31817         libm_hidden_ver.
31819 2014-09-01  Allan McRae  <allan@archlinux.org>
31821         * po/eo.po: Update Esperanto translation from translation project.
31823         * po/ca.po: Update Catalan translation from translation project.
31825 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31827         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
31828         __proc_dostop call.
31830 2014-08-27  Mark Wielaard  <mjw@redhat.com>
31832         [BZ #17319]
31833         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
31834         to call set_thread_area instead of hand written asm.
31835         (__NR_set_thread_area): Removed define.
31836         (TLS_FLAG_WRITABLE): Likewise.
31837         (__ASSUME_SET_THREAD_AREA): Remove check.
31838         (TLS_EBX_ARG): Remove define.
31839         (TLS_LOAD_EBX): Likewise.
31841 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31843         Simplify atomicity of socket creation in bind.
31845         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
31846         looking up the name after linking the file.
31848 2014-08-27  Allan McRae  <allan@archlinux.org>
31850         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
31852 2014-08-26  Florian Weimer  <fweimer@redhat.com>
31854         [BZ #17187]
31855         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
31856         trans_compare, open_translit, __gconv_translit_find):
31857         Remove module loading code.
31859 2014-08-26  Allan McRae  <allan@archlinux.org>
31861         * po/vi.po: Update Vietnamese translation from translation project.
31863         * po/uk.po: Update Ukrainian translation from translation project.
31865         * po/fr.po: Update French translation from translation project.
31867         * po/ru.po: Update Russian translation from translation project.
31869         * po/pl.po: Update Polish translation from translation project.
31871         * po/cs.po: Update Czech translation from translation project.
31873         * po/de.po: Update German translation from translation project.
31875         * po/bg.po: Update Bulgarian translation from translation project.
31877         * po/sv.po: Update Sweedish translation from translation project.
31879         * po/nl.po: Update Dutch translation from translation project.
31881         * po/es.po: Update Spanish translation from translation project.
31883 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31885         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
31887         * catgets/Makefile (CPPFLAGS-gencat): Remove.
31888         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
31889         (CPPFLAGS-iconvconfig): Likewise.
31890         * timezone/Makefile (CPPFLAGS-zic): Likewise.
31892         * include/libc-symbols.h: Remove unnecessary check for
31893         NOT_IN_libc.
31894         * nptl/pthreadP.h: Likewise.
31895         * sysdeps/aarch64/setjmp.S: Likewise.
31896         * sysdeps/alpha/setjmp.S: Likewise.
31897         * sysdeps/arm/sysdep.h: Likewise.
31898         * sysdeps/i386/setjmp.S: Likewise.
31899         * sysdeps/m68k/setjmp.c: Likewise.
31900         * sysdeps/posix/getcwd.c: Likewise.
31901         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
31902         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
31903         * sysdeps/s390/s390-32/setjmp.S: Likewise.
31904         * sysdeps/s390/s390-64/setjmp.S: Likewise.
31905         * sysdeps/sh/sh3/setjmp.S: Likewise.
31906         * sysdeps/sh/sh4/setjmp.S: Likewise.
31907         * sysdeps/unix/alpha/sysdep.h: Likewise.
31908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
31909         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
31910         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
31911         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
31912         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
31913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31914         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
31915         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
31916         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
31917         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
31918         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
31919         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
31920         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
31921         * sysdeps/x86_64/setjmp.S: Likewise.
31923 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
31925         [BZ #17263]
31926         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
31927         <stdint.h>.
31928         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
31929         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
31931 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31933         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
31935         [BZ #17262]
31936         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
31937         and __x86_64__ when disabling x87 inline functions.
31939 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
31941         [BZ #17259]
31942         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
31943         asm statement with __cpuid_count.
31945 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
31947         * configure.ac: Change __ehdr_start code to dereference the struct.
31948         Run readelf on the output to look for relocations.
31949         * configure: Regenerated.
31951 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
31953         [BZ #17261]
31954         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
31955         value to 0.
31956         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
31958 2014-08-12  Roland McGrath  <roland@hack.frob.com>
31960         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
31962 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
31964         [BZ #16892]
31965         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
31966         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
31968 2014-08-12  Sean Anderson  <seanga2@gmail.com>
31970         * malloc/malloc.c: Fix typo in comment.
31972 2014-08-09  Allan McRae  <allan@archlinux.org>
31974         * Regenerate libc.po.
31976 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
31978         * intl/tst-gettext2.sh: Check every lang file for creation.
31980 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31982         * sysdeps/aarch64/fpu/math_private.h
31983         (libc_feholdsetround_noex_aarch64_ctx): New function.
31985 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
31987         * sysdeps/arm/armv6/strcpy.S (strcpy):
31988         Fix performance issue in misaligned cases.
31990 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31992         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
31993         Move definition from termios.h.
31994         (struct termio): Likewise.
31995         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
31996         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
31997         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
31998         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
31999         Likewise.
32000         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
32001         Move definition to ioctl-types.h
32002         (struct termio): Likewise.
32003         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
32004         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
32005         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
32006         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
32007         Likewise.
32009 2014-08-05  Richard Henderson  <rth@redhat.com>
32011         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
32012         exceptions.
32013         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
32014         Add fraiseexcpt.
32015         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
32016         Use __feraiseexcept.
32017         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
32018         Protect libm symbols with IS_IN_libm.
32020         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
32022 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
32024         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
32026 2014-08-04  Will Newton  <will.newton@linaro.org>
32028         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
32029         file.
32031 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
32033         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
32034         variants for each function.
32036 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32038         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
32039         appended ...
32040         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
32041         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
32042         appended ...
32043         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
32044         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
32045         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
32046         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
32047         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
32048         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
32049         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
32050         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
32051         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
32052         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
32053         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
32054         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
32055         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
32056         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
32057         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
32058         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
32059         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
32060         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
32061         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
32062         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
32063         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
32064         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
32065         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
32066         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
32067         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
32068         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
32069         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
32070         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
32071         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
32072         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
32073         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
32074         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
32075         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
32076         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
32077         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
32078         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
32079         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
32080         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
32081         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
32082         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
32083         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
32084         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
32085         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
32086         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
32087         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
32088         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
32089         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
32090         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
32091         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
32092         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
32093         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
32094         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
32095         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
32096         Update #include.
32097         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
32098         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
32100 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32102         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
32103         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
32104         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
32105         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
32106         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
32107         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
32109 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32111         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
32112         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
32113         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
32114         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
32116 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32118         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
32119         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
32120         (__libc_vfork): Define function under this name.
32121         (__vfork): Define as an alias.
32122         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
32123         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
32125 2014-08-04  Roland McGrath  <roland@hack.frob.com>
32127         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
32128         that was previously under [RESET_PID].
32129         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
32131 2014-08-04  Andreas Schwab  <schwab@suse.de>
32133         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
32135 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
32137         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
32138         (main): Likewise.
32140 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32142         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
32144 2014-08-01  Richard Henderon  <rth@redhat.com>
32146         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
32147         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
32148         typo in exact zero test.
32149         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
32150         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
32151         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
32153 2014-08-01  Roland McGrath  <roland@hack.frob.com>
32155         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
32156         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
32157         * sysdeps/arm/sysdep.h: ... here.
32158         [!__ASSEMBLER__]: Include <stdint.h>.
32160 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
32162         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
32163         (HAVE_WCTYPE_H): Likewise.
32164         (HAVE_ISWCTYPE): Likewise.
32165         (ENABLE_NLS): Likewise.
32166         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
32167         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
32169         * posix/regex_internal.c: Check if DEBUG is defined and is
32170         set.
32172         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
32173         (HAVE_MBSRTOWCS): Likewise.
32174         * posix/fnmatch.c: Include string.h unconditionally.
32176 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
32178         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
32179         reversal.
32181 2014-07-31  Roland McGrath  <roland@hack.frob.com>
32183         * sysdeps/generic/safe-fatal.h: New file.
32184         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
32185         * nptl/forward.c: Include it.
32186         (__pthread_unwind): Use __safe_fatal as default action, rather
32187         than a bogus use of INTERNAL_SYSCALL that could never work.
32189         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
32190         * configure.ac (libc_cv_builtin_trap): New test.
32191         * configure: Regenerated.
32192         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
32193         (ABORT_INSTRUCTION): Define using __builtin_trap.
32195         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
32196         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
32197         * sysdeps/nptl/nptl-signals.h: New file.
32198         * nptl/pthreadP.h: Include <nptl-signals.h>.
32200 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32202         * sysdeps/s390/s390-64/utf16-utf32-z9.c
32203         (ONE_DIRECTION): Define.
32204         * sysdeps/s390/s390-64/utf8-utf16-z9.c
32205         (ONE_DIRECTION): Define.
32206         * sysdeps/s390/s390-64/utf8-utf32-z9.c
32207         (ONE_DIRECTION): Define.
32209 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
32211         * sysdeps/s390/Makefile: Delete file.
32212         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
32213         * sysdeps/s390/__longjmp.c: Delete file.
32214         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
32215         Remove fields __flags and __reserved.
32216         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
32217         and add versioning.
32218         * sysdeps/s390/rtld-__longjmp.c: Delete file.
32219         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
32220         * sysdeps/s390/rtld-setjmp.S: Likewise.
32221         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
32222         * sysdeps/s390/s390-32/__longjmp.c: ... here.
32223         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
32224         * sysdeps/s390/s390-32/setjmp.S: ... here.
32225         Add versioning.
32226         (__sigsetjmp): Remove setting __flags field.
32227         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
32228         * sysdeps/s390/s390-64/__longjmp.c: ... here.
32229         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
32230         * sysdeps/s390/s390-64/setjmp.S: ... here.
32231         Add versioning.
32232         (__sigsetjmp): Remove setting __flags field.
32233         * sysdeps/s390/setjmp.S: Delete file.
32234         * sysdeps/s390/sigjmp.c: Likewise.
32235         * sysdeps/s390/v1-longjmp.c: Likewise.
32236         * sysdeps/s390/v1-setjmp.h: Likewise.
32237         * sysdeps/s390/v1-sigjmp.c: Likewise.
32238         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
32239         Remove v1-longjmp_chk.
32240         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
32241         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
32242         Include debug/longjmp_chk.c and add versioning.
32243         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
32244         Include nptl/pt-longjmp.c and add versioning.
32245         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
32246         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
32247         Include __longjmp.c.
32248         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
32249         Move to ...
32250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
32251         (__getcontext): Remove setting __flags field.
32252         Add versioning.
32253         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
32254         Don't restore upper high grps.
32255         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
32256         Likewise.
32257         (__swapcontext): Remove setting uc_flags field.
32258         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
32259         Delete file.
32260         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
32261         Include __longjmp.c.
32262         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
32263         Move to ...
32264         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
32265         (__getcontext): Remove setting __flags field.
32266         Add versioning.
32267         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
32268         (__swapcontext): Remove setting uc_flags field.
32269         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
32270         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
32271         Remove fields uc_high_gprs and __reserved.
32272         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
32273         New file with reverted content.
32274         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
32275         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
32276         Regenerated.
32277         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
32278         Regenerated.
32280 2014-07-31  Andreas Schwab  <schwab@suse.de>
32282         * config.h.in (HAVE_IFUNC): Define to 0.
32283         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
32284         definedness.
32286 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
32288         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32289         memmove-avx-unaligned, memcpy-avx-unaligned and
32290         mempcpy-avx-unaligned.
32291         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32292         Add tests for AVX memcpy functions.
32293         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
32294         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
32295         memcpy_chk.
32296         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
32297         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
32298         memmove_chk.
32299         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
32300         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
32301         mempcpy_chk.
32302         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
32303         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
32304         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
32306 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32308         [BZ #17213]
32309         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
32310         powerpc64le.
32312 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
32314         [BZ #16839]
32315         * manual/llio.texi: Add section about open file description locks.
32316         * manual/examples/ofdlocks.c: Example of open file description
32317         lock usage.
32318         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
32319         F_OFD_SETLK, and F_OFD_SETLKW.
32321 2014-07-23  Allan McRae  <allan@archlinux.org>
32323         * po/es.po: Update Spanish translation from translation project.
32325 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
32327         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
32329 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
32331         [BZ #17078]
32332         * sysdeps/arm/dl-machine.h (elf_machine_rela)
32333         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
32334         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
32336 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
32338         [BZ #17088]
32339         * math/fesetenv.c (__fesetenv)
32340         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
32341         * math/feupdateenv.c (__feupdateenv)
32342         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
32344         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
32345         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
32346         (__ASSUME_SOCKETCALL): Do not define.
32348         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
32349         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
32350         (__ASSUME_SOCKETCALL): Do not define.
32351         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
32352         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32353         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32354         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
32355         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32356         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
32357         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32358         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32360         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
32361         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
32362         (__ASSUME_SOCKETCALL): Do not define.
32363         (__ASSUME_IPC64): Define unconditionally.
32364         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32365         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32366         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
32367         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32368         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
32369         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32370         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
32371         Likewise.
32373         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
32374         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
32375         (__ASSUME_SOCKETCALL): Do not define.
32376         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
32377         (__ASSUME_FUTEX_LOCK_PI): Likewise.
32378         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32379         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
32380         (__ASSUME_REQUEUE_PI): Define unconditionally.
32381         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
32382         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
32383         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32384         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
32385         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32386         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32388         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
32389         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
32390         (__ASSUME_SOCKETCALL): Do not define.
32391         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
32392         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32393         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32394         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
32395         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32396         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
32398         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
32399         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
32400         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
32401         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
32402         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
32403         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
32404         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
32405         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
32406         (__ASSUME_GETCPU_SYSCALL): Likewise.
32408         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
32409         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
32410         cases for individual architectures.
32411         * sysdeps/gnu/configure: Regenerated.
32412         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
32413         LIBC_SLIBDIR_RTLDDIR.
32414         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
32415         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
32416         LIBC_SLIBDIR_RTLDDIR.
32417         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
32418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
32419         LIBC_SLIBDIR_RTLDDIR.
32420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
32421         Regenerated.
32422         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
32423         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
32424         file.
32425         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
32426         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
32427         file.
32428         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
32429         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
32430         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
32431         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
32433         * sysdeps/aarch64/shlib-versions: Move to ...
32434         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
32435         * sysdeps/alpha/shlib-versions: Move to ...
32436         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
32437         * sysdeps/arm/shlib-versions: Move to ...
32438         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
32439         * sysdeps/hppa/shlib-versions: Move all contents except for
32440         libgcc_s entry to ...
32441         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
32442         entry from ...
32443         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
32444         * sysdeps/ia64/shlib-versions: Move to ...
32445         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
32446         entry from ...
32447         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
32448         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
32449         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
32450         * sysdeps/microblaze/shlib-versions: Move to ...
32451         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
32452         * sysdeps/mips/shlib-versions: Move to ...
32453         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
32454         entry from ...
32455         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
32456         * sysdeps/tile/shlib-versions: Move to ...
32457         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
32458         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
32459         from ...
32460         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
32461         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
32462         entry from ...
32463         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
32465 2014-07-17  Will Newton  <will.newton@linaro.org>
32467         * sysdeps/arm/bits/atomic.h
32468         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
32469         (__arch_compare_and_exchange_bool_16_int): Likewise.
32470         (__arch_compare_and_exchange_bool_64_int): Likewise.
32472         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
32473         into an #else block.
32475 2014-07-16  Roland McGrath  <roland@hack.frob.com>
32477         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
32478         just Linux configurations.  Test empirically that the compiler sets
32479         __ARM_EABI__, rather than using the tuple to decide.
32480         * sysdeps/arm/preconfigure: Regenerated.
32481         * sysdeps/unix/sysv/linux/arm/configure: File removed.
32482         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
32483         contents appended ...
32484         * sysdeps/arm/configure.ac: ... here.
32485         * sysdeps/arm/configure: Regenerated.
32487 2014-07-15  Roland McGrath  <roland@hack.frob.com>
32489         * nptl/pthread_kill.c: New file.
32490         * nptl/pthread_sigmask.c: New file.
32491         * nptl/pthread_sigqueue.c: New file.
32493         * sysdeps/nptl/lowlevellock.h: New file.
32494         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
32495         * sysdeps/nptl/lowlevellock-futex.h: New file.
32497         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
32498         Remove dead declarations.
32500 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
32502         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
32503         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
32504         config-cflags-avx2.
32505         * sysdeps/x86_64/configure.ac: Likewise.
32506         * sysdeps/i386/configure: Regenerated.
32507         * sysdeps/x86_64/configure: Likewise.
32508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32509         memset-avx2 only if config-cflags-avx2 is yes.
32510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32511         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
32512         defined.
32513         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
32514         only if HAVE_AVX2_SUPPORT is defined.
32515         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
32517 2014-07-14  Alan Modra  <amodra@gmail.com>
32519         [BZ #17153]
32520         * elf/elf.h (DT_PPC64_NUM): Correct value.
32521         * NEWS: Add to fixed bug list.
32523 2014-07-13  Jim Meyering  <meyering@fb.com>
32525         [BZ 17150]
32526         regex: don't deref NULL upon heap allocation failure
32527         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
32528         failure in one more place.
32529         To trigger the segfault, configure grep -with-included-regex,
32530         build it, and run these commands:
32531         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
32533 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
32535         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
32537 2014-07-11  Richard Henderson  <rth@redhat.com>
32539         * sysdeps/aarch64/libm-test-ulps: Update.
32541 2014-07-10  Florian Weimer  <fweimer@redhat.com>
32543         [BZ #17135]
32544         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
32545         * nptl/allocatestack.c (__nptl_setxid_error): New function.
32546         (__nptl_setxid): Initialize error member.  Call
32547         __nptl_setxid_error.
32548         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
32549         * nptl/descr.h (struct xid_command): Add error member.
32550         * nptl/tst-setuid3.c: New file.
32551         * nptl/Makefile (tests): Add it.
32553 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32555         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
32556         New define.
32557         (__lll_trylock): Use __lll_base_trylock.
32558         (__lll_cond_trylock): Likewise.
32560 2014-07-10  Roland McGrath  <roland@hack.frob.com>
32562         * nptl/pthread_create.c (start_thread): Use atomic_or and
32563         lll_futex_wake directly rather than lll_robust_dead.
32564         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32565         (lll_robust_dead): Macro removed.
32566         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
32567         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32568         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32569         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32570         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32571         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32572         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32573         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32574         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32575         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32576         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32577         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32578         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32579         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32580         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32582         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
32583         Use atomic_compare_and_exchange_val_acq directly rather than
32584         lll_robust_trylock.
32585         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
32586         (__lll_robust_trylock, lll_robust_trylock): Removed.
32587         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
32588         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
32589         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
32590         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
32591         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
32592         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
32593         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
32594         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
32595         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
32596         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
32597         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
32598         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
32599         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
32600         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
32602 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32604         * manual/locale.texi (Locale Names): New section documenting
32605         locale name syntax.  Adjust menu and node chaining accordingly.
32606         (Choosing Locale): Reference Locale Names, Locale Categories.
32607         Mention setting LC_ALL=C.  Reflect that name syntax is now
32608         documented.
32609         (Locale Categories): New section title.  Reference Locale Names.
32610         LC_ALL is an environment variable, but not a category.
32611         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
32612         description, now in Locale Name.  Reference that section.  Locale
32613         name syntax is now documented.
32615 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32617         [BZ #17137]
32618         * locale/findlocale.c (name_present, valid_locale_name): New
32619         functions.
32620         (_nl_find_locale): Use the loc_name variable to store name
32621         candidates.  Call name_present and valid_locale_name to check and
32622         validate locale names.  Return an error if the locale is invalid.
32624 2014-07-02  Florian Weimer  <fweimer@redhat.com>
32626         * locale/setlocale.c (setlocale): Use strdup for allocating
32627         composite name copy.
32629 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32631         Sync up with gnulib.
32632         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
32633         [!_LIBC && ENABLE_NLS]: Include gettext.h.
32634         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
32635         and _GL_ARG_NONNULL.
32636         [USE_UNLOCKED_IO]: Include unlocked-io.h.
32637         [!_LIBC]: Include code for Windows and Cygwin.
32638         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
32639         Include prototype for int strerror_r.
32640         [!_LIBC] (is_open): New function.
32641         (flush_stdout): New function.
32642         (print_errno_message): Use it.
32643         (error): Likewise.
32644         (error_at_line): Likewise.
32645         (error_tail) Add function attribute macros.  Use
32646         __builtin_expect.
32648         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
32650         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
32652         * io/ftw.c: Include sys/param.h unconditionally.
32654         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
32656         [BZ #17125]
32657         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
32658         libc_freeres_ptr.
32659         (freecache): New function to free CACHE on exit.
32661         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
32662         initialization.
32664 2014-07-09  David S. Miller  <davem@davemloft.net>
32666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32668         * sysdeps/sparc/nptl/internaltypes.h: Delete.
32669         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
32670         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
32671         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
32672         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
32673         * sysdeps/sparc/nptl/sem_init.c: Likewise.
32674         * sysdeps/sparc/nptl/sem_post.c: Likewise.
32675         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
32676         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
32677         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
32678         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
32679         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
32680         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
32682 2014-07-09  Andreas Schwab  <schwab@suse.de>
32684         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
32685         output.
32686         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
32687         (do_test): Likewise.
32689         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
32691 2014-07-09  Will Newton  <will.newton@linaro.org>
32693         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
32694         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
32695         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
32696         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
32697         * sysdeps/hppa/start.S (_start): Likewise.
32699 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32701         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
32703         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
32704         defined.
32706 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32708         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
32709         after checking that it is non-NULL.
32711         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
32713 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32715         * sysdeps/powerpc/memmove.c: Remove file.
32716         * sysdeps/powerpc/powerpc32/power4/memcopy.h
32717         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
32718         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
32719         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
32720         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
32721         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
32722         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
32723         string memmove instead of removed powerpc one.
32725         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
32726         [weak_alias]: Fix compiler warning due trailing data.
32727         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
32728         [weak_alias]: Likewise.
32729         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
32730         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
32732         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
32733         (__libc_ifunc_impl_list): Add memmove functions.
32735 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
32737         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
32738         Remove code.
32739         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
32740         Likewise.
32741         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
32742         Likewise.
32743         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
32744         Likewise.
32745         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
32746         Likewise.
32747         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
32748         Likewise.
32749         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
32750         Likewise.
32751         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
32752         Likewise.
32753         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
32754         Likewise.
32755         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
32756         Likewise.
32757         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
32758         Likewise.
32759         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
32760         Likewise.
32761         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
32762         Likewise.
32763         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
32764         Likewise.
32765         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
32766         Likewise.
32767         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
32768         Likewise.
32769         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
32770         Likewise.
32772 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32774         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
32775         to avoid alignment traps in non-cacheable memory.
32776         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
32778         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
32779         multiarch objects.
32780         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
32781         file: multiarch power7 memmove.
32782         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
32783         multiarch default memmove.
32784         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
32785         multiarch memove for powerpc32/power4.
32787         * string/bcopy.c: Use full path to include memmove.c.
32788         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
32789         multiarch objects.
32790         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
32791         bcopy for powerpc64.
32792         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
32793         bcopy for powerpc64.
32794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
32795         and memmove implementations.
32796         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
32797         optimized multiarch memmove for POWER7/powerpc64.
32798         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
32799         default multiarch memmove for powerpc64.
32800         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
32801         multiarch for powerpc64.
32802         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
32803         for POWER7/powerpc64.
32804         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
32805         memmove for POWER7/powerpc64.
32807         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
32808         glibc default one.
32810         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
32811         __ELF_NATIVE_CLASS equal to 64.
32813 2014-07-07  Roland McGrath  <roland@hack.frob.com>
32815         * sysdeps/nptl/lowlevellock.h: File removed.
32817         * NEWS: NPTL is no longer an add-on!
32818         * nptl/internaltypes.h: Moved ...
32819         * sysdeps/nptl/internaltypes.h: ... here.
32820         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
32821         * sysdeps/nptl/fork.c: Likewise.
32822         * sysdeps/nptl/gai_misc.h: Likewise.
32823         * sysdeps/nptl/librt-cancellation.c: Likewise.
32824         * sysdeps/nptl/jmp-unwind.c: Likewise.
32825         * sysdeps/nptl/setxid.h: Likewise.
32826         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
32827         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
32828         * sysdeps/unix/sysv/linux/arm/Implies: New file.
32829         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
32830         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
32831         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
32832         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
32833         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
32834         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
32835         * sysdeps/unix/sysv/linux/mips/Implies: New file.
32836         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
32837         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
32838         * sysdeps/unix/sysv/linux/sh/Implies: New file.
32839         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
32840         * sysdeps/unix/sysv/linux/tile/Implies: New file.
32841         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
32842         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
32843         * nptl/Makeconfig: Moved ...
32844         * sysdeps/nptl/Makeconfig: ... here.
32845         * nptl/configure: File removed.
32846         * nptl/ANNOUNCE: File removed.
32847         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
32848         * sysdeps/unix/sysv/linux/configure: Regenerated.
32850         * nptl/Makefile (routines): Add libc_pthread_init,
32851         libc_multiple_threads, register-atfork and unregister-atfork.
32852         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
32853         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
32854         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
32855         pthread-pi-defines.sym, structsem.sym.
32856         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
32857         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
32858         [$(subdir) = nptl] (tests): Add tst-setgetname.
32859         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
32860         * sysdeps/unix/sysv/linux/sigaction.c: Just include
32861         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
32862         [!LIBC_SIGACTION]: Remove aliases.
32863         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
32864         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
32865         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
32866         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
32867         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
32868         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
32869         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
32870         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
32871         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
32872         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
32873         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
32874         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
32875         __libc_allocate_rtsig_private.
32876         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
32877         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
32878         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
32879         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
32880         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
32881         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
32882         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
32883         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
32884         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
32885         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
32886         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
32887         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
32888         * nptl/internaltypes.h: ... here.
32889         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
32890         * sysdeps/nptl/jmp-unwind.c: ... here.
32891         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
32892         * nptl/libc-lowlevellock.c: ... here.
32893         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
32894         * nptl/libc_multiple_threads.c: ... here.
32895         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
32896         * nptl/libc_pthread_init.c: ... here.
32897         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
32898         * nptl/lowlevelbarrier.sym: ... here.
32899         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
32900         * nptl/lowlevelcond.sym: ... here.
32901         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
32902         * nptl/lowlevellock.c: ... here.
32903         * nptl/lowlevellock.h: Moved ...
32904         * sysdeps/nptl/lowlevellock.h: ... here.
32905         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
32906         * nptl/lowlevelrobustlock.c: ... here.
32907         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
32908         * nptl/lowlevelrobustlock.sym: ... here.
32909         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
32910         * nptl/lowlevelrwlock.sym: ... here.
32911         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
32912         * nptl/pt-fork.c: ... here.
32913         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
32914         * nptl/pthread-pi-defines.sym: ... here.
32915         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
32916         * nptl/pthread_attr_getaffinity.c: ... here.
32917         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
32918         * nptl/pthread_attr_setaffinity.c: ... here.
32919         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
32920         * nptl/pthread_mutex_cond_lock.c: ... here.
32921         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
32922         Update #include.
32923         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
32924         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
32925         * nptl/pthread_once.c: ... here, replacing old file.
32926         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
32927         * nptl/pthread_yield.c: ... here.
32928         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
32929         * nptl/register-atfork.c: ... here.
32930         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
32931         * nptl/sem_post.c: ... here.
32932         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
32933         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
32934         * nptl/sem_timedwait.c: ... here.
32935         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
32936         * nptl/sem_trywait.c: ... here.
32937         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
32938         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
32939         * nptl/sem_wait.c: ... here.
32940         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
32941         * nptl/structsem.sym: ... here.
32942         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
32943         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
32944         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
32945         * nptl/unregister-atfork.c: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
32947         * nptl/unwindbuf.sym: ... here.
32948         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
32949         * sysdeps/nptl/fork.c: ... here.
32950         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
32951         * sysdeps/nptl/fork.h: ... here.
32952         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
32953         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
32954         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
32955         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
32956         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
32957         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
32958         * sysdeps/unix/sysv/linux/getpid.c: ... here.
32959         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
32960         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
32961         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
32962         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
32963         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
32964         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
32965         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
32966         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
32967         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
32968         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
32969         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
32970         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
32971         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
32972         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
32973         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
32974         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
32975         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
32976         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
32977         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
32978         * sysdeps/unix/sysv/linux/raise.c: ... here.
32979         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
32980         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
32981         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
32982         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
32983         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
32984         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
32985         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
32986         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
32987         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
32988         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
32989         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
32990         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
32991         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
32992         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
32993         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
32995 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32997         * sysdeps/generic/memcopy.h: Add comment for
32998         MEMCPY_OK_FOR_FWD_MEMMOVE.
33000 2014-07-04  Will Newton  <will.newton@linaro.org>
33002         * string/memchr.c: Merge from gnulib.
33003         [_LIBC]: Remove conditionals.
33004         (__ptr_t): Remove define.
33005         (LONG_MAX_32_BITS): Likewise.
33006         (LONG_MAX): Likewise.
33007         (MEMCHR): Use ANSI prototype and optimize algorithm.
33009         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
33011 2014-07-03  Roland McGrath  <roland@hack.frob.com>
33013         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
33014         (lll_futex_timed_wait_bitset): Fix syscall argument count.
33016         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
33017         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
33018         in a bare environment with no <stdlib.h> installed.
33019         * sysdeps/nptl/configure: Regenerated.
33021         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
33023         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
33024         AC_EGREP_CPP for kernel header checks, so they only succeed if
33025         including <linux/version.h> actually works right.
33026         * sysdeps/unix/sysv/linux/configure: Regenerated.
33028         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
33029         value so it's not diagnosed as unused.
33031         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
33032         thing) with "ifeq ($(subdir),rt)".
33034 2014-07-03  Richard Henderson  <rth@redhat.com>
33036         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
33037         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
33038         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
33040         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
33041         (math_force_eval): New.
33043         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
33044         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
33046         * sysdeps/alpha/fpu/s_round.c: Remove file.
33047         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
33049         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
33050         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
33051         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
33052         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
33053         (_dl_start, print_statistics): Likewise.
33054         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
33055         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
33057         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33058         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33059         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33060         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33061         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33062         (HP_SMALL_TIMING_AVAIL): Define.
33063         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33064         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33065         (HP_SMALL_TIMING_AVAIL): Define.
33066         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33067         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
33069         * sysdeps/aarch64/hp-timing.h: New file.
33071         * sysdeps/generic/hp-timing.h: Remove dead comment.
33072         * sysdeps/generic/hp-timing-common.h: New file.
33073         * sysdeps/alpha/hp-timing.h: Include it.
33074         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
33075         * sysdeps/i386/i686/hp-timing.h: Likewise.
33076         * sysdeps/ia64/hp-timing.h: Likewise.
33077         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33078         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33079         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
33080         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
33081         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
33082         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
33083         (hp_timing_t): New.
33085         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
33086         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
33087         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
33088         * elf/rtld.c (_dl_start_final): Likewise.
33089         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
33090         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33091         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33092         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33093         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33094         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33095         (HP_TIMING_DIFF_INIT): Remove.
33096         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33097         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
33098         (HP_TIMING_DIFF_INIT): Remove.
33099         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
33100         * sysdeps/i386/i686/hp-timing.c: Remove file.
33101         * sysdeps/x86_64/hp-timing.c: Remove file.
33102         * sysdeps/ia64/hp-timing.c: Remove file.
33103         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
33104         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
33105         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
33106         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
33108         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
33109         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
33110         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
33111         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33112         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
33113         (HP_TIMING_ACCUM): Remove.
33114         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33115         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
33116         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
33118         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
33119         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
33120         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
33121         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
33122         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
33123         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33124         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
33125         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
33127         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
33129 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
33131         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
33133 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33135         Sync up with gettext.
33136         * intl/loadmsgcat.c: Define O_BINARY if not defined.
33137         [_MSC_VER]: Include malloc.h
33138         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
33139         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
33140         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
33141         TEMP_FAILURE_RETRY.  Cast return of alloca.
33142         [!_LIBC] Call gl_rwlock_init.
33143         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
33145 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33147         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
33148         before checking its value.
33150 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33152         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
33154         * debug/memcpy_chk.c: Don't include pagecopy.h.
33155         * debug/mempcpy_chk.c: Likewise.
33156         * string/memcpy.c: Likewise.
33157         * string/memmove.c: Likewise.
33158         * sysdeps/powerpc/memmove.c: Likewise.
33159         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
33160         definition of PAGE_COPY_FWD_MAYBE here...
33161         * sysdeps/generic/pagecopy.h: ... from here.
33162         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
33164 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33165             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33167         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
33168         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
33169         optimizations.
33170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33171         (__libc_ifunc_impl_list): Likewise.
33172         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
33173         multiarch strcat for PPC64.
33174         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
33175         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
33177 2014-07-02  Roland McGrath  <roland@hack.frob.com>
33179         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
33181 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33183         * intl/loadmsgcat.c: Remove declaration of
33184         get_sysdep_segment_value.
33185         (get_sysdep_segment_value): Use ISO C style.
33186         (_nl_load_domain): Use ISO C style.  Get rid of redundant
33187         semicolon.  Fix typo and formatting in comment.
33188         (_nl_unload_domain): Use ISO C style.
33190         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
33192 2014-07-02  Will Newton  <will.newton@linaro.org>
33194         * malloc/obstack.c: Merge from gnulib master.
33195         [HAVE_CONFIG_H]: Remove conditional code.
33196         [!_LIBC]: Include config.h.
33197         [!ELIDE_CODE]: Don't include inttypes.h, include
33198         stdint.h unconditionally.
33199         (print_and_abort): Mark as _Noreturn.
33200         (_obstack_allocated_p): Mark as __attribute_pure__.
33201         (obstack_free): Rename to __obstack_free.
33202         [!__attribute__]: Remove conditional code.
33203         * malloc/obstack.h: Merge from gnulib master.
33204         [__cplusplus]: Move conditional down.
33205         [!__attribute_pure__]: Define __attribute_pure__ here
33206         if it is not already defined.
33207         (_obstack_memory_used): Mark as __attribute_pure__.
33208         [!__obstack_free]: Define as obstack_free.
33209         [__GNUC__]: Remove check for ancient NeXT gcc.
33211 2014-07-02  Will Newton  <will.newton@linaro.org>
33212             Paul Eggert  <eggert@cs.ucla.edu>
33214         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
33216 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33218         * resolv/gethnamaddr.c: Add comment warning that the file is
33219         not maintained.
33221 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
33223         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
33224         entries.
33226         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
33227         entry for aio_cancel and aio_cancel64.
33228         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
33229         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
33230         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
33231         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
33232         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
33233         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
33234         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
33235         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
33236         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
33237         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
33238         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
33239         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
33240         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
33242 2014-07-01  Roland McGrath  <roland@hack.frob.com>
33244         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
33245         * nptl/pthread_mutex_lock.c: Likewise.
33246         * nptl/pthread_mutex_timedlock.c: Likewise.
33247         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
33249 2014-07-01  Richard henderson  <rth@redhat.com>
33251         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
33252         (__isnan, __isnanl): Remove.
33253         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
33255         * sysdeps/alpha/fpu/libm-test-ulps: Update.
33257 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
33259         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
33261 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33263         * resolv/nss_dns/dns-host.c (getanswer_r)
33264         [MULTI_PTRS_ARE_ALIASES]: Remove code.
33266 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
33268         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
33269         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
33270         undefine.
33271         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
33272         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
33274 2014-07-01  Roland McGrath <roland@hack.frob.com>
33276         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
33277         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
33279         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
33280         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
33282         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
33283         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
33284         ... here.
33285         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
33286         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
33288         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
33289         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
33290         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
33291         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
33293         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
33294         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
33295         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
33296         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
33297         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
33298         Moved ...
33299         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
33300         ... here.
33301         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
33302         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
33303         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
33304         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
33305         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
33306         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
33307         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
33308         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
33309         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
33310         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
33311         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
33312         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
33313         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
33314         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
33315         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
33316         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
33317         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
33318         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
33319         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
33320         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
33321         ... here.
33322         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
33323         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
33324         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
33325         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
33326         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
33327         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
33328         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
33329         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
33331 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
33333         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
33334         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
33335         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
33336         Add sysdep.
33338 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33340         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33342 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33344         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
33345         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
33347         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
33349         * sysdeps/arm/libm-test-ulps: Regenerated.
33351 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33352             Roland McGrath <roland@hack.frob.com>
33354         * test-skeleton.c (signal_handler): Kill the whole process group
33355         before killing the child individually.
33356         (main): Report any failure on `setpgid'.
33358 2014-06-30  Roland McGrath  <roland@hack.frob.com>
33360         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
33361         from _TLS_H to _ARM_NPTL_TLS_H.
33362         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
33363         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
33365 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
33367         [BZ #16539]
33368         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
33369         (__expm1l): Return argument unchanged when small but not
33370         subnormal.
33372         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
33373         include macro name.
33374         (_FP_UNPACK_RAW_1_P): Likewise.
33375         (_FP_PACK_RAW_1): Likewise.
33376         (_FP_PACK_RAW_1_P): Likewise.
33377         (_FP_MUL_MEAT_1_wide): Likewise.
33378         (_FP_MUL_MEAT_DW_1_hard): Likewise.
33379         (_FP_MUL_MEAT_1_hard): Likewise.
33380         (_FP_DIV_MEAT_1_imm): Likewise.
33381         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
33382         (_FP_DIV_MEAT_1_udiv): Likewise.
33383         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
33384         (_FP_UNPACK_RAW_2): Likewise.
33385         (_FP_UNPACK_RAW_2_P): Likewise.
33386         (_FP_PACK_RAW_2): Likewise.
33387         (_FP_PACK_RAW_2_P): Likewise.
33388         (_FP_MUL_MEAT_DW_2_wide): Likewise.
33389         (_FP_MUL_MEAT_2_wide): Likewise.
33390         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
33391         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
33392         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
33393         (_FP_MUL_MEAT_2_gmp): Likewise.
33394         (_FP_DIV_MEAT_2_udiv): Likewise.
33395         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
33396         (_FP_FRAC_SRL_4): Likewise.
33397         (_FP_FRAC_SRST_4): Likewise.
33398         (_FP_FRAC_SRS_4): Likewise.
33399         (_FP_UNPACK_RAW_4): Likewise.
33400         (_FP_UNPACK_RAW_4_P): Likewise.
33401         (_FP_PACK_RAW_4): Likewise.
33402         (_FP_PACK_RAW_4_P): Likewise.
33403         (_FP_MUL_MEAT_DW_4_wide): Likewise.
33404         (_FP_MUL_MEAT_4_wide): Likewise.
33405         (_FP_MUL_MEAT_4_gmp): Likewise.
33406         (umul_ppppmnnn): Likewise.
33407         (_FP_DIV_MEAT_4_udiv): Likewise.
33408         (__FP_FRAC_ADD_4): Likewise.
33409         (__FP_FRAC_SUB_3): Likewise.
33410         (__FP_FRAC_SUB_4): Likewise.
33411         (__FP_FRAC_DEC_3): Likewise.
33412         (__FP_FRAC_DEC_4): Likewise.
33413         (__FP_FRAC_ADDI_4): Likewise.
33414         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
33415         (_FP_FRAC_SRL_8): Likewise.
33416         (_FP_FRAC_SRS_8): Likewise.
33418         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
33419         include macro name.
33420         (FP_UNPACK_RAW_EP): Likewise.
33421         (FP_PACK_RAW_E): Likewise.
33422         (FP_PACK_RAW_EP): Likewise.
33423         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
33424         (_FP_ISSIGNAN): Likewise.
33425         (_FP_ADD_INTERNAL): Likewise.
33426         (_FP_FMA): Likewise.
33427         (_FP_CMP): Likewise.
33428         (_FP_SQRT): Likewise.
33429         (_FP_TO_INT): Likewise.
33430         (_FP_FROM_INT): Likewise.
33431         (FP_EXTEND): Likewise.
33432         (_FP_DIV_MEAT_N_loop): Likewise.
33434 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
33436         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
33437         throughout.
33439 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
33441         [BZ #17097]
33442         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
33443         result with correct sign in case of exponents that produce
33444         overflow except for X very close to 1.
33446 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
33448         mktime: merge #if/#ifdef usage from glibc
33449         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
33450         as that works with both Glibc's and Gnulib's style.
33451         See thread starting at Siddhesh Poyarekar's bug report at:
33452         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
33454 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33456         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
33457         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
33458         * sysdeps/tile/tilegx/memmove.c: Remove file.
33460 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33462         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
33463         abi-name definition.
33464         * scripts/soversions.awk: Do not handle or generate ABI lines.
33465         * shlib-versions: Remove ABI entries.
33466         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
33467         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
33469 2014-06-27  Roland McGrath  <roland@hack.frob.com>
33471         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
33472         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
33473         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
33474         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
33475         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
33476         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
33477         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
33478         Moved ...
33479         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
33480         ... here.
33481         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
33482         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
33483         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
33484         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
33485         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
33486         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
33487         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
33488         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
33489         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
33490         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
33491         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
33492         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
33493         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
33494         Moved ...
33495         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
33496         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
33497         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
33498         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
33499         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
33500         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
33501         Moved ...
33502         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
33503         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
33504         Moved ...
33505         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
33506         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
33507         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
33508         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
33509         Moved ...
33510         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
33511         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
33512         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
33513         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
33514         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
33515         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
33516         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
33517         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
33518         Moved ...
33519         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
33520         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
33521         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
33522         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
33523         Moved ...
33524         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
33525         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
33526         Moved ...
33527         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
33528         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
33529         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
33530         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
33531         Moved ...
33532         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
33533         ... here.
33534         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
33535         Identical file removed.
33536         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
33537         Moved ...
33538         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
33539         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
33540         Identical file removed.
33541         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
33542         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
33543         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
33544         Moved ...
33545         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
33546         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
33547         Identical file removed.
33548         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
33549         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
33550         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
33551         Identical file removed.
33552         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
33553         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
33554         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
33555         Identical file removed.
33556         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
33557         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
33558         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
33559         Identical file removed.
33560         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
33561         Moved ...
33562         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
33563         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
33564         Identical file removed.
33565         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
33566         Moved ...
33567         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
33568         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
33569         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
33570         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
33571         Identical file removed.
33572         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
33573         Moved ...
33574         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
33575         ... here.
33576         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
33577         Identical file removed.
33578         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
33579         Moved ...
33580         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
33581         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
33582         Identical file removed.
33583         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
33584         Moved ...
33585         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
33586         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
33587         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
33588         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
33589         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
33590         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
33591         Moved ...
33592         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
33593         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
33594         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
33596         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
33597         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
33598         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
33599         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
33600         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
33602 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
33604         [BZ #17092]
33605         * nscd/nscd.c (monitor_child): Return exit status of child
33606         instead of return value from wait syscall.
33608 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
33610         * configure.ac (libc_commonpagesize): Remove variable.
33611         (libc_relro_required): Likewise.
33612         (libc_cv_z_relro): Remove configure test.
33613         * configure: Regenerated.
33614         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
33615         variable.
33616         (libc_relro_required): Likewise.
33617         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
33618         (libc_relro_required): Likewise.
33619         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
33620         (libc_relro_required): Likewise.
33621         * sysdeps/arm/preconfigure: Regenerated.
33622         * sysdeps/ia64/preconfigure: Remove file.
33623         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
33624         variable.
33625         (libc_relro_required): Likewise.
33627         [BZ #16561]
33628         [BZ #16562]
33629         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
33630         (__ieee754_yn): Set FE_TONEAREST mode internally and then
33631         recompute overflowing results in original rounding mode.
33632         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
33633         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
33634         recompute overflowing results in original rounding mode.
33635         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
33636         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33637         recompute overflowing results in original rounding mode.
33638         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
33639         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33640         recompute overflowing results in original rounding mode.
33641         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
33642         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
33643         recompute overflowing results in original rounding mode.
33644         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
33645         (libc_feholdsetround_ctx): New macro.
33646         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
33647         * sysdeps/i386/fpu/libm-test-ulps: Update.
33648         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
33650 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33652         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
33653         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
33654         corresponding .cpsetup call.
33656 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33658         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
33659         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
33660         * sysdeps/arm/Makefile [$(subdir) = csu]
33661         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
33662         (static-only-routines): Add aeabi_read_tp here.
33663         (shared-only-routines): Add libc-aeabi_read_tp here.
33664         (CFLAGS-libc-start.c): Add -fexceptions here.
33665         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
33666         (sysdep_routines, static-only-routines, shared-only-routines):
33667         Don't add to these here.
33668         (CFLAGS-libc-start.c): Likewise.
33670         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
33671         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
33672         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
33673         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
33674         * sysdeps/arm/Makefile [$(subdir) = rt]
33675         (librt-sysdep_routines, librt-shared-only-routines):
33676         Append rt-aeabi_unwind_cpp_pr1 here.
33677         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
33678         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
33679         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
33680         (libpthread-sysdep_routines, libpthread-shared-only-routines):
33681         Append nptl-aeabi_unwind_cpp_pr1 here.
33682         (tests): Filter out tst-cleanupx4 here.
33683         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
33684         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
33685         Don't do those here.
33687 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33689         * scripts/list-sources.sh: Do not handle ports specially.
33691 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33693         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
33694         * sysdeps/arm/feupdateenv.c: Likewise.
33696         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
33698 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33700         * manual/texinfo.tex: Update to version 2014-05-05.10 with
33701         trailing whitespace removed.
33702         * scripts/config.guess: Update to version 2014-03-23.
33703         * scripts/config.sub: Update to version 2014-05-01
33704         * scripts/install-sh: Update to version 2013-12-25.23.
33705         * scripts/move-if-change: Update from gnulib.
33707 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33709         * debug/memmove_chk.c: Remove pagecopy.h include.
33711 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
33713         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
33714         identical to gnulib mktime.
33716 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
33718         * configure.ac: Do not test for machine being rs6000.  Do not test
33719         for powerpc*-*soft.
33720         * configure: Regenerated.
33722         [BZ #11505]
33723         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
33724         test.
33725         * configure: Regenerated.
33726         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
33727         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
33728         Remove configure test.
33729         * sysdeps/arm/configure: Regenerated.
33730         * sysdeps/nptl/configure.ac: Do not check
33731         libc_cv_asm_cfi_directives.
33732         * sysdeps/nptl/configure: Regenerated.
33733         * sysdeps/x86_64/nptl/configure.ac: Remove file.
33734         * sysdeps/x86_64/nptl/configure: Remove generated file.
33735         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
33736         unconditional.
33737         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
33739 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
33741         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
33742         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
33743         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
33744         it is defined.
33746         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
33747         instead of whether it is defined.
33748         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
33749         * sysdeps/hppa/dl-machine.h: Likewise.
33750         * sysdeps/ia64/dl-machine.h: Likewise.
33751         * sysdeps/m68k/dl-machine.h: Likewise.
33752         * sysdeps/microblaze/dl-machine.h: Likewise.
33753         * sysdeps/mips/dl-machine.: Likewise.
33754         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
33755         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33756         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
33757         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
33758         * sysdeps/sh/dl-machine.h: Likewise.
33759         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
33760         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
33761         * sysdeps/tile/dl-machine.h: Likewise.
33762         * sysdeps/x86_64/dl-machine.h: Likewise.
33764         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
33765         code.
33766         (verify_persistent_db): Likewise.
33768 2014-06-26  Roland McGrath  <roland@hack.frob.com>
33770         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
33771         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
33772         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
33773         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
33774         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
33775         Moved ...
33776         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
33777         ... here.
33778         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
33779         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
33780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
33781         Identical file removed.
33782         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
33783         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
33784         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
33785         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
33786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
33787         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
33788         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
33789         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
33790         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
33791         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
33792         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
33793         Moved ...
33794         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
33795         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
33796         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
33797         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
33798         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
33799         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
33800         Moved ...
33801         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
33802         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
33803         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
33804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
33805         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
33806         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
33807         Identical file removed.
33808         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
33809         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
33810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
33811         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
33812         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
33813         Moved ...
33814         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
33815         ... here.
33816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
33817         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
33818         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
33819         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
33820         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
33821         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
33822         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
33823         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
33824         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
33825         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
33826         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
33827         Moved ...
33828         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
33829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
33833         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
33834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
33835         Moved ...
33836         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
33837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
33838         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
33840         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
33841         folded into ...
33842         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
33843         * sysdeps/unix/sysv/linux/s390/Versions
33844         (libpthread: GLIBC_2.19): New version set.
33845         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
33846         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
33847         (librt: GLIBC_2.3.3): New version set.
33848         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
33849         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
33850         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
33851         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
33852         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
33853         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
33854         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
33855         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
33856         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
33857         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
33858         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
33859         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
33860         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
33861         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
33862         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
33863         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
33864         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
33865         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
33866         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
33867         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
33868         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
33869         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
33870         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
33871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
33872         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
33873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
33874         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
33875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
33876         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
33877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
33878         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
33879         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
33880         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
33881         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
33882         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
33883         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
33884         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
33885         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
33886         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
33887         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
33888         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
33889         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
33890         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
33891         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
33892         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
33894         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
33895         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
33896         (__libc_vfork): Define the function under this name.
33897         [!NOT_IN_libc] (__vfork): Make this an alias.
33898         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33899         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
33900         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
33901         (__libc_vfork): Define the function under this name.
33902         [!NOT_IN_libc] (__vfork): Make this an alias.
33903         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
33904         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
33905         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
33906         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
33907         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
33908         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
33910         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
33911         code that was previously under [RESET_PID].
33912         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
33913         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
33914         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
33916         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
33917         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
33918         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
33919         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
33920         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
33921         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
33922         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
33923         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
33924         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
33925         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
33926         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
33927         Moved ...
33928         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
33929         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
33930         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
33931         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
33932         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
33933         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
33934         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
33935         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
33936         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
33937         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
33938         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
33939         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
33940         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
33941         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
33942         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
33943         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
33944         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
33945         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
33946         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
33947         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
33948         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
33949         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
33950         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
33951         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
33952         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
33953         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
33954         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
33955         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
33956         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
33958 2014-06-25  Roland McGrath  <roland@hack.frob.com>
33960         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
33961         that was previously under [RESET_PID].
33962         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
33964 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
33966         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
33967         not undefine and redefine.
33968         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
33969         [O_CLOEXEC]: Make code unconditional.
33970         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
33971         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
33972         <kernel-features.h>.
33973         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
33974         conditional variable definition.
33975         (shm_open) [O_CLOEXEC]: Make code unconditional.
33976         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
33977         code.
33979         * configure.ac (USE_REGPARMS): Don't define here.
33980         * configure: Regenerated.
33981         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
33982         * sysdeps/i386/configure: Regenerated.
33984         * nptl/createthread.c: Don't include kernel-features.h.
33985         * nptl/pthread_cancel.c: Likewise.
33986         * nptl/pthread_condattr_setclock.c: Likewise.
33987         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
33988         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
33989         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
33990         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
33991         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
33992         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
33993         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33994         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
33995         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33996         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
33997         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
33998         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
33999         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
34000         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
34001         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
34002         * nscd/gai.c: Likewise.
34003         * nss/nss_db/db-open.c: Likewise.
34004         * sysdeps/generic/ldsodefs.h: Likewise.
34005         * sysdeps/sh/nptl/tls.h: Likewise.
34006         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
34007         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
34008         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
34009         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
34010         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
34011         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
34012         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
34013         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
34014         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34015         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
34016         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
34017         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34018         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
34019         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
34020         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
34021         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
34022         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
34023         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
34024         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
34025         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
34026         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
34027         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
34028         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
34029         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
34030         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
34031         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
34032         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
34033         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
34034         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
34035         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
34036         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
34037         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
34038         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
34039         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
34040         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
34041         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
34042         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
34043         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
34044         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
34045         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
34046         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
34047         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
34048         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
34049         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
34050         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
34051         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
34052         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
34053         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
34054         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
34055         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
34056         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
34057         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
34058         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
34059         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
34060         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
34061         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
34062         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
34063         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
34064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
34065         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
34066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
34067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
34068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
34069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
34070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
34071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
34072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
34073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
34074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
34075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
34077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
34078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
34079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
34080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34082         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34083         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
34084         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
34085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
34086         * sysdeps/unix/sysv/linux/pread.c: Likewise.
34087         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
34088         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
34089         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
34090         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
34091         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
34092         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
34093         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
34094         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
34095         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
34096         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
34097         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
34098         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
34099         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
34100         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
34101         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
34102         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
34103         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
34104         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
34105         * sysdeps/unix/sysv/linux/system.c: Likewise.
34106         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
34107         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
34108         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34109         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34110         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
34111         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
34112         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
34114         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
34115         * configure: Regenerated.
34116         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
34118         * configure.ac (base_machine): Do not set specially for particular
34119         machines here.
34120         * configure: Regenerated.
34121         * sysdeps/powerpc/preconfigure: Move machine and base_machine
34122         settings from configure.ac.
34123         * sysdeps/i386/preconfigure: New file.
34124         * sysdeps/s390/preconfigure: Likewise.
34125         * sysdeps/sh/preconfigure: Likewise.
34126         * sysdeps/sparc/preconfigure: Likewise.
34128 2014-06-25  Roland McGrath  <roland@hack.frob.com>
34130         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
34131         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
34132         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
34133         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
34134         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
34135         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
34136         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
34137         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
34138         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
34139         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
34140         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
34141         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
34142         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
34143         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
34144         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
34145         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
34146         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
34147         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
34148         * sysdeps/sparc/sparc64/Makefile: ... appended here.
34150         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
34151         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
34152         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
34153         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
34154         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
34155         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
34156         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
34157         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
34158         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
34159         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
34160         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
34161         * sysdeps/sparc/sparc32/sem_post.c: ... here.
34162         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
34163         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
34164         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
34165         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
34166         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
34167         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
34168         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
34169         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
34170         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
34171         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
34172         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
34173         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
34174         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
34175         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
34176         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
34177         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
34178         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
34179         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
34180         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
34181         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
34182         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
34183         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
34184         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
34185         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
34186         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
34187         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
34189         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
34190         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
34191         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
34192         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
34193         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
34194         Moved ...
34195         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
34196         ... here.
34197         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
34198         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
34199         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
34200         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
34201         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
34202         Moved ...
34203         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
34204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
34205         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
34206         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
34207         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
34208         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
34209         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
34210         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
34211         Moved ...
34212         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
34213         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
34214         Moved ...
34215         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
34216         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
34217         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
34218         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
34219         Moved ...
34220         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
34221         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
34222         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
34223         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
34224         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
34225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
34226         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
34227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
34228         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
34229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
34230         Moved ...
34231         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
34232         ... here.
34233         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
34234         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
34235         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
34236         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
34237         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
34238         Moved ...
34239         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
34240         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
34241         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
34242         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
34243         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
34244         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
34245         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
34246         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
34247         Moved ...
34248         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
34249         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
34250         Moved ...
34251         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
34252         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
34253         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
34254         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
34255         Moved ...
34256         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
34257         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
34258         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
34259         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
34260         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
34262 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34264         * timezone/checktab.awk: Update from tzcode 2014e.
34265         * timezone/private.h: Likewise.
34266         * timezone/tzfile.h: Likewise.
34267         * timezone/zdump.c: Likewise.
34268         * timezone/zic.c: Likewise.
34270         * sysdeps/unix/sysv/linux/kernel-features.h
34271         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
34272         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
34273         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
34274         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
34275         Remove conditional code.
34277 2014-06-25  Will Newton  <will.newton@linaro.org>
34279         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
34280         (_dl_arm_cap_flags): Add HWCAP2 values.
34281         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
34282         (_DL_HWCAP_COUNT): Increase to 37.
34283         (_DL_HWCAP_LAST): New define.
34284         (_DL_HWCAP2_LAST): New define.
34285         (_dl_procinfo): Add support for printing
34286         AT_HWCAP2 entries.
34287         (_dl_string_hwcap): Use _dl_hwcap_string.
34289 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34293 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
34295         * README: Do not mention ports directory.
34297         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
34298         Remove macro.
34299         * sysdeps/unix/sysv/linux/futimes.c: Do not include
34300         <kernel-features.h>.
34301         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
34302         conditional variable definition.
34303         (__futimes): Update comment.
34304         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
34305         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
34307         [BZ #16560]
34308         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
34309         arguments close to 0.
34310         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
34311         Likewise.
34312         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
34313         Likewise.
34314         * math/auto-libm-test-in: Add more tests of exp10.
34315         * math/auto-libm-test-out: Regenerated.
34316         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34318         * sysdeps/unix/sysv/linux/kernel-features.h
34319         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
34320         * sysdeps/unix/sysv/linux/readv.c: Do not include
34321         <kernel-features.h>.
34322         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34323         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34324         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34325         unconditional.
34326         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34327         conditional code.
34328         * sysdeps/unix/sysv/linux/writev.c: Do not include
34329         <kernel-features.h>.
34330         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
34331         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
34332         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
34333         unconditional.
34334         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
34335         conditional code.
34337 2014-06-25  Will Newton  <will.newton@linaro.org>
34339         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
34340         comment changes throughout the file.  Remove checks
34341         for HAVE_*_H definitions that are not required.
34342         (__gen_tempname): Call abort if an unknown kind value is
34343         passed.
34345 2014-06-25  Andreas Schwab  <schwab@suse.de>
34347         [BZ #17086]
34348         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
34349         scalbln, scalblnf, scalblnl in libc.
34351 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
34353         [BZ #17086]
34354         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
34355         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
34356         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
34358 2014-06-24  Roland McGrath  <roland@hack.frob.com>
34360         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
34361         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
34362         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
34363         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
34364         Update #include.
34365         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
34366         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
34367         Update #include.
34368         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
34369         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
34370         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
34371         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
34372         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
34373         * sysdeps/x86/bits/pthreadtypes.h: ... here.
34374         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
34375         * sysdeps/x86/bits/semaphore.h: ... here.
34376         * sysdeps/x86/nptl/elide.h: Moved ...
34377         * sysdeps/x86/elide.h: ... here.
34378         * sysdeps/x86_64/nptl/Implies: File removed.
34379         * sysdeps/i386/nptl/Implies: File removed.
34381 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
34383         [BZ #16539]
34384         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
34385         return the argument for normal arguments with exponent below -64.
34386         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
34387         Likewise.
34388         * math/auto-libm-test-in: Add another test of expm1.
34389         * math/auto-libm-test-out: Regenerated.
34391         [BZ #16287]
34392         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
34393         calling __erfcl for arguments at least 16.
34394         * math/auto-libm-test-in: Add more tests of erf.
34395         * math/auto-libm-test-out: Regenerated.
34397         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
34398         individual architectures.
34399         * sysdeps/unix/sysv/linux/configure: Regenerated.
34400         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
34401         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
34402         * sysdeps/unix/sysv/linux/powerpc/configure.ac
34403         (ldd_rewrite_script): Define variable.
34404         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34405         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
34406         file.
34407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
34408         generated file.
34409         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
34410         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
34411         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
34412         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
34413         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
34414         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
34415         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
34416         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
34418 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34420         [BZ #17084]
34421         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
34422         Rename member __data.d to __data.__elision_data.
34424 2014-06-24  Wilco  <wdijkstr@arm.com>
34426         * NEWS: Add 16918 to fixed bug list.
34428 2014-06-24  Wilco  <wdijkstr@arm.com>
34430         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
34432 2014-06-24  Wilco  <wdijkstr@arm.com>
34434         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
34435         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
34436         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
34437         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
34438         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
34439         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
34440         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
34441         Use _FPU_MASK_RM.
34443 2014-06-24  Wilco  <wdijkstr@arm.com>
34445         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
34447 2014-06-24  Wilco  <wdijkstr@arm.com>
34449         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
34450         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
34451         * sysdeps/arm/fesetround.c (fesetround): Remove space.
34452         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
34454 2014-06-24  Wilco  <wdijkstr@arm.com>
34456         [BZ #16918]
34457         * sysdeps/arm/feupdateenv.c (feupdateenv):
34458         Rewrite to reduce FPSCR accesses and fix return value.
34460 2014-06-24  Wilco  <wdijkstr@arm.com>
34462         * sysdeps/arm/fclrexcpt.c (feclearexcept):
34463         Optimize to avoid unnecessary FPSCR writes.
34464         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
34465         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
34466         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
34467         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
34469 2014-06-24  Wilco  <wdijkstr@arm.com>
34471         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
34472         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
34473         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
34474         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
34475         Call libc_fetestexcept_vfp.
34476         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
34477         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
34478         __SOFTFP__ ifdef so that they can be built for softfp.
34480 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
34482         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
34483         argument type signed char.
34485         * Makerules (check-abi): Dump diff of symlist if the test
34486         fails.
34488 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34490         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
34491         using abort.
34493         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34494         Remove unused variable ST.
34496 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34498         [BZ #16354]
34499         [BZ #17061]
34500         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
34501         small arguments before calling __expm1.
34502         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
34503         small arguments before calling __expm1f.
34504         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
34505         small arguments before calling __expm1l.
34506         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
34507         Likewise.
34508         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
34509         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
34510         spurious underflow for some cosh tests.
34511         * math/auto-libm-test-out: Regenerated.
34512         * sysdeps/i386/fpu/libm-test-ulps: Update.
34514         [BZ #17050]
34515         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
34516         (__ieee754_y1): Set errno if return value overflows.
34517         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
34518         (__ieee754_y1f): Set errno if return value overflows.
34519         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
34520         (__ieee754_y1l): Set errno if return value overflows.
34521         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
34522         (__ieee754_y1l): Set errno if return value overflows.
34523         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
34524         * math/auto-libm-test-out: Regenerated.
34526         * math/gen-auto-libm-tests.c: Document use of
34527         ignore-zero-inf-sign.
34528         (input_flag_type): Add value flag_ignore_zero_inf_sign.
34529         (input_flags): Add ignore-zero-inf-sign.
34530         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
34531         * math/gen-libm-test.pl (generate_testfile): Handle
34532         ignore-zero-inf-sign.
34533         * math/auto-libm-test-in: Mark some cpow tests with
34534         ignore-zero-inf-sign and some with xfail-rounding.
34535         * math/auto-libm-test-out: Regenerated.
34536         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
34537         * sysdeps/i386/fpu/libm-test-ulps: Update.
34538         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34540         [BZ #16315]
34541         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
34542         overflowing or underflowing operations take place with sign of
34543         result.
34544         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
34545         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
34546         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
34547         (__ieee754_pow): Recompute overflowing and underflowing results in
34548         original rounding mode.
34549         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
34550         (__powl_helper): Allow negative argument X and scale negated value
34551         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
34552         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
34553         overflowing or underflowing operations take place with sign of
34554         result.
34555         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
34556         Include <math.h>.
34557         * math/auto-libm-test-in: Add more tests of pow.
34558         * math/auto-libm-test-out: Regenerated.
34559         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
34560         (pow_tonearest_test_data): Remove.
34561         (pow_test_tonearest): Likewise.
34562         (pow_towardzero_test_data): Likewise.
34563         (pow_test_towardzero): Likewise.
34564         (pow_downward_test_data): Likewise.
34565         (pow_test_downward): Likewise.
34566         (pow_upward_test_data): Likewise.
34567         (pow_test_upward): Likewise.
34568         (main): Don't call removed functions.
34569         * sysdeps/i386/fpu/libm-test-ulps: Update.
34570         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34572 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
34575         Moved ...
34576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
34577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34578         Moved ...
34579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
34580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
34581         Moved ...
34582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
34583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
34584         Moved ...
34585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
34586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
34587         File removed.
34588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
34589         File removed.
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
34591         File removed.
34592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
34593         File removed.
34594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
34595         File removed.
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
34597         File removed.
34598         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
34599         File removed.
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
34601         File removed.
34602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
34603         File removed.
34604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
34605         File removed.
34606         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
34607         File removed.
34608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
34609         File removed.
34610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
34611         Moved ...
34612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
34614         Moved ...
34615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
34616         ... here.
34617         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
34618         Moved ...
34619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
34620         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
34621         Moved ...
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
34623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
34624         Moved ...
34625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
34626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
34627         Moved ...
34628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
34629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
34630         Moved ...
34631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
34632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
34633         Moved ...
34634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
34635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
34636         Moved ...
34637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
34638         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
34639         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
34640         ... here.
34641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
34642         Moved ...
34643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
34644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
34645         Moved ...
34646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
34647         ... here.
34648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
34649         Moved ...
34650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
34651         ... here.
34652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
34653         Moved ...
34654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34655         ... here.
34656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
34657         Moved ...
34658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
34659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
34660         Moved ...
34661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
34662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
34663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
34664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
34665         Moved ...
34666         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
34667         ... here.
34668         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
34669         Moved ...
34670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
34671         ... here.
34672         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
34673         Moved ...
34674         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
34675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
34676         Moved ...
34677         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
34678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
34679         Moved ...
34680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
34681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34682         Moved ...
34683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
34684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
34685         Moved ...
34686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
34687         ... here.
34688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
34689         Moved ...
34690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
34691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
34692         Moved ...
34693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
34694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
34695         Moved ...
34696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
34697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
34698         Moved ...
34699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
34700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
34701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
34702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
34703         Moved ...
34704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
34705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
34706         Moved ...
34707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
34708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
34709         Moved ...
34710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
34711         ... here.
34712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
34713         Moved ...
34714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
34715         ... here.
34716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
34717         Moved ...
34718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
34719         ... here.
34720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
34721         Moved ...
34722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
34723         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
34724         Moved ...
34725         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
34726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
34727         Moved ...
34728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
34729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
34730         Moved ...
34731         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
34732         ... here.
34733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
34734         Moved ...
34735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
34736         ... here.
34737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
34738         Moved ...
34739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
34740         ... here.
34741         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
34742         Moved ...
34743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
34744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
34745         Moved ...
34746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
34748 2014-06-23  Will Newton  <will.newton@linaro.org>
34749             Wilco  <wdijkstr@arm.com>
34751         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
34752         implementation.  Include get-rounding-mode.h.
34753         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
34754         [!libc_feholdsetround_noex_ctx]: Define
34755         libc_feholdsetround_noex_ctx.
34756         [!libc_feholdsetround_noexf_ctx]: Define
34757         libc_feholdsetround_noexf_ctx.
34758         [!libc_feholdsetround_noexl_ctx]: Define
34759         libc_feholdsetround_noexl_ctx.
34760         (libc_feholdsetround_ctx): New function.
34761         (libc_feresetround_ctx): New function.
34762         (libc_feholdsetround_noex_ctx): New function.
34763         (libc_feresetround_noex_ctx): New function.
34765 2014-06-23  Roland McGrath  <roland@hack.frob.com>
34767         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
34768         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
34769         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
34770         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
34771         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
34772         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
34774         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
34775         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
34776         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
34777         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
34778         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
34779         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
34780         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
34781         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
34782         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
34783         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
34784         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
34785         Moved ...
34786         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
34787         ... here.
34788         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
34789         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
34790         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
34791         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
34792         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
34793         Moved ...
34794         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
34795         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
34796         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
34797         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
34798         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
34799         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
34800         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
34801         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
34802         Moved ...
34803         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
34804         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
34805         Moved ...
34806         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
34807         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
34808         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
34809         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
34810         Moved ...
34811         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
34812         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
34813         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
34814         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
34815         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
34816         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
34817         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
34818         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
34819         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
34820         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
34821         Moved ...
34822         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
34823         ... here.
34824         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
34825         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
34826         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
34827         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
34828         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
34829         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
34830         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
34831         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
34832         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
34833         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
34834         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
34835         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
34836         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
34837         Moved ...
34838         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
34839         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
34840         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
34841         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
34842         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
34843         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
34844         Moved ...
34845         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
34846         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
34847         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
34848         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
34849         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
34851         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
34852         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
34853         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
34854         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
34855         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
34856         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
34857         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
34858         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
34859         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
34860         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
34861         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
34862         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
34863         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
34864         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
34865         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
34866         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
34867         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
34868         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
34869         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
34870         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
34871         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
34872         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
34873         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
34874         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
34875         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
34876         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
34877         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
34878         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
34880 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
34882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
34883         (FALLOC_FL_COLLAPSE_RANGE): New macro.
34884         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
34885         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
34886         (IPV6_PMTUDISC_INTERFACE): Likewise.
34887         (IPV6_PMTUDISC_OMIT): Likewise.
34889 2014-06-23  Andreas Schwab  <schwab@suse.de>
34891         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
34892         Remove unused errout label.
34894 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34896         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
34897         macro: hardware supports Vector Crypto instructions.
34899 2014-06-23  Will Newton  <will.newton@linaro.org>
34901         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
34902         rather than __builtin_expect.
34904         * elf/dl-lookup.c (undefined_msg): Remove variable.
34905         (_dl_lookup_symbol_x): Replace undefined_msg with string
34906         literal.
34908         * elf/dl-lookup.c (do_lookup_unique): New function.
34909         (do_lookup_x): Move STB_GNU_UNIQUE handling code
34910         to a separate function.
34912 2014-06-23  Andreas Schwab  <schwab@suse.de>
34914         [BZ #17079]
34915         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
34916         before reading the next line.
34918 2014-06-23  Will Newton  <will.newton@linaro.org>
34920         * test-skeleton.c (signal_handler): Use printf and %m
34921         rather than perror.  Use printf rather than fprintf to
34922         stderr.  Use puts rather than fputs to stderr.
34923         (main): Likewise.
34925 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
34927         * nscd/nscd.c (thread_info_t): Remove typedef.
34928         (thread_info): Remove variable.
34930 2014-06-21  Allan McRae  <allan@archlinux.org>
34932         * NEWS: Mention CVE-2014-4043.
34934 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34936         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
34937         * nptl/smp.h: ... here.
34939         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
34941         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
34942         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
34943         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
34944         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
34946         * nptl/allocatestack.c: Include <stack-aliasing.h>.
34947         * nptl/stack-aliasing.h: New file.
34948         * sysdeps/i386/i686/stack-aliasing.h: New file.
34949         * sysdeps/i386/i686/nptl/Makefile: File removed.
34950         * sysdeps/x86_64/stack-aliasing.h: New file.
34951         * sysdeps/x86_64/nptl/Makefile
34952         (CFLAGS-pthread_create.c): Variable removed.
34954         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
34955         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
34956         old file.
34957         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
34958         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
34959         old file.
34961 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
34963         * sysdeps/unix/sysv/linux/arm/kernel-features.h
34964         (__ASSUME_SIGFRAME_V2): Remove macro.
34965         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
34966         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
34967         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
34968         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
34969         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
34970         Declare as function.  Remove conditional macro definitions.
34971         (__default_rt_sa_restorer): Likewise.
34972         (__default_sa_restorer_v1): Remove declaration.
34973         (__default_sa_restorer_v2): Likewise.
34974         (__default_rt_sa_restorer_v1): Likewise.
34975         (__default_rt_sa_restorer_v2): Likewise.
34976         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
34977         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
34978         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
34980 2014-06-20  Roland McGrath  <roland@hack.frob.com>
34982         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
34983         (libpthread-routines): Add sysdep.
34984         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
34985         * sysdeps/unix/sysv/linux/sparc/Versions
34986         (libpthread: GLIBC_2.3.3): New version set.
34987         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
34988         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
34989         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
34990         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
34991         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
34992         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
34993         Moved ...
34994         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
34995         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
34996         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
34997         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
34998         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
34999         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
35000         * sysdeps/sparc/nptl/sem_init.c: ... here.
35001         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
35002         * sysdeps/sparc/nptl/sem_post.c: ... here.
35003         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
35004         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
35005         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
35006         * sysdeps/sparc/nptl/sem_wait.c: ... here.
35007         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
35008         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
35009         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
35010         (libpthread-routines): Add cpu_relax.
35011         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
35012         File removed.
35013         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
35014         (librt: GLIBC_2.3.3): New version set.
35015         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
35016         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
35017         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
35018         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
35019         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
35020         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
35021         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
35022         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
35023         Moved ...
35024         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
35025         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
35026         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
35027         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
35028         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
35029         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
35030         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
35031         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
35032         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
35033         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
35034         Moved ...
35035         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
35036         Update #include.
35037         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
35038         Moved ...
35039         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
35040         Update #include.
35041         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
35042         Moved ...
35043         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
35044         Update #include.
35045         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
35046         Moved ...
35047         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
35048         Update #include.
35049         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
35050         Moved ...
35051         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
35052         Update #include.
35053         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
35054         Moved ...
35055         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
35056         Update #include.
35057         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
35058         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
35059         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
35060         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
35061         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
35062         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
35063         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
35064         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
35065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
35066         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
35067         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35068         Moved ...
35069         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
35070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
35071         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
35072         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
35073         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
35075 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35077         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
35078         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
35079         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35080         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
35081         * nscd/nscd.c: Likewise.
35082         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
35083         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
35084         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
35085         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
35087         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
35088         <kernel-features.h>.
35089         (init_mq_netlink): Remove conditional have_sock_cloexec
35090         definitions.  Remove code conditional on have_sock_cloexec < 0.
35091         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
35092         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
35093         * sysdeps/unix/sysv/linux/opensock.c: Do not include
35094         <kernel-features.h>.
35095         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
35096         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
35098 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35100         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
35101         Add tests for memset_chk and memset.
35103         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
35104         with AVX2_Usable.
35106 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35108         [BZ #16046]
35109         * elf/tst-dl-iter-static.c: New file.
35110         * elf/Makefile (tests-static): Add tst-dl-iter-static.
35112         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
35113         error.
35115 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35117         * sysdeps/unix/sysv/linux/kernel-features.h
35118         (__ASSUME_F_GETOWN_EX): Remove macro.
35119         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
35120         <kernel-features.h>.
35121         (miss_F_GETOWN_EX): Remove variable or macro.
35122         (do_fcntl): Do not check miss_F_GETOWN_EX.
35123         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
35125         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
35126         Remove macro.
35127         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
35128         [!__ASSUME_AT_RANDOM]: Remove conditional code.
35129         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
35131         * sysdeps/unix/sysv/linux/kernel-features.h
35132         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
35133         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
35134         [ADJ_OFFSET_SS_READ]: Make code unconditional.
35135         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
35137 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
35139         [BZ #17075]
35140         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
35141         Fix calculation of the symbol's value.
35142         * sysdeps/arm/tst-armtlsdescloc.c: New file.
35143         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
35144         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
35145         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
35146         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
35147         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
35148         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
35149         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
35150         (modules-names): Add `tst-armtlsdescmod',
35151         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
35152         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
35153         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35154         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
35155         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
35156         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
35157         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
35158         ($(objpfx)tst-armtlsdescloc): New dependency.
35159         ($(objpfx)tst-armtlsdescextnow): Likewise.
35160         ($(objpfx)tst-armtlsdescextlazy): Likewise.
35161         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
35162         TLS scheme support.
35163         * sysdeps/arm/configure: Regenerate.
35165 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
35167         * include/fcntl.h (__atfct_seterrno): Remove prototype.
35168         (__atfct_seterrno_2): Likewise.
35169         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
35170         <kernel-features.h>.
35171         (__ASSUME_ATFCTS): Do not undefine and redefine.
35172         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
35173         (__have_atfcts): Remove conditional definition.
35174         (__fxstatat([__NR_fstatat64]: Make code unconditional.
35175         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
35176         unreachable if [__ASSUME_ATFCTS].
35177         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
35178         not undefine and redefine.
35179         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
35180         <kernel-features.h>.
35181         (faccessat) [__NR_faccessat]: Make code unconditional.
35182         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
35183         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
35184         <kernel-features.h>.
35185         (fchmodat) [__NR_fchmodat]: Make code unconditional.
35186         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35187         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
35188         <kernel-features.h>.
35189         (fchownat) [__NR_fchownat]: Make code unconditional.
35190         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
35191         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
35192         <kernel-features.h>.
35193         (futimesat) [__NR_futimesat]: Make code unconditional.
35194         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
35195         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
35196         <kernel-features.h>.
35197         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35198         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35199         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
35200         <kernel-features.h>.
35201         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
35202         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35203         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
35204         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
35205         <kernel-features.h>.
35206         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
35207         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35208         * sysdeps/unix/sysv/linux/linkat.c: Do not include
35209         <kernel-features.h>.
35210         (linkat) [__NR_linkat]: Make code unconditional.
35211         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35212         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
35213         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
35214         <kernel-features.h>.
35215         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
35216         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
35217         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
35218         <kernel-features.h>.
35219         (mkdirat) [__NR_mkdirat]: Make code unconditional.
35220         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
35221         * sysdeps/unix/sysv/linux/openat.c: Do not include
35222         <kernel-features.h>.
35223         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
35224         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
35225         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
35226         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
35227         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
35228         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
35229         <kernel-features.h>.
35230         (readlinkat) [__NR_readlinkat]: Make code unconditional.
35231         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
35232         result of INLINE_SYSCALL directly, not via int variable.
35233         * sysdeps/unix/sysv/linux/renameat.c: Do not include
35234         <kernel-features.h>.
35235         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
35236         (renameat) [__NR_renameat]: Make code unconditional.
35237         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
35238         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
35239         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
35240         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
35241         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
35242         (__ASSUME_ATFCTS): Do not undefine and redefine.
35243         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
35244         <kernel-features.h>.
35245         (symlinkat) [__NR_symlinkat]: Make code unconditional.
35246         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35247         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
35248         <kernel-features.h>.
35249         (unlinkat) [__NR_unlinkat]: Make code unconditional.
35250         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
35251         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
35252         (__ASSUME_ATFCTS): Do not undefine and redefine.
35253         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
35254         <kernel-features.h>.
35255         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
35256         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
35257         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
35258         <kernel-features.h>.
35259         (__xmknodat) [__NR_mknodat]: Make code unconditional.
35260         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
35262 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
35264         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
35266 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
35268         [BZ #17069]
35269         * posix/regcomp.c (parse_reg_exp): Deallocate partially
35270         constructed tree before returning error.
35271         * posix/bug-regexp36.c: Expand test case.
35273 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
35275         [BZ #6803]
35276         * math/libm-test.inc (scalbln_test_date):
35277         Add errno expectations.
35278         * math/w_scalblnf.c: New File.
35279         Add wrapper which checks for setting errno to ERANGE.
35280         Add weak_alias for corresponding scalbln function.
35281         * math/w_scalbln.c: Likewise.
35282         * math/w_scalblnl.c: Likewise.
35283         * math/Makefile (libm-calls): Add w_scalbln.
35284         * sysdeps/ieee754/flt-32/s_scalblnf.c:
35285         Remove weak_alias for corresponding scalbln function.
35286         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35287         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35288         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35290         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
35291         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
35292         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
35293         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
35294         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
35295         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
35296         Remove long_double_symbol for scalblnl function in libm, libc.
35297         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
35298         Add wrapper which checks for setting errno to ERANGE.
35299         Add long_double_symbol for scalblnl function in libm, libc.
35300         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
35301         Remove long_double_symbol for scalblnl in libm.
35302         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
35303         Add wrapper which checks for setting errno to ERANGE.
35304         Add long_double_symbol for scalblnl function in libm.
35305         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
35306         Do not use wrapper because of own implementation.
35308 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
35310         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
35311         3 bytes for __pad1 for x32.
35312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
35314 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
35315             H.J. Lu  <hongjiu.lu@intel.com>
35317         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
35318         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
35319         * sysdeps/x86_64/multiarch/memset.S: Likewise.
35320         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
35321         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
35323 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
35325         [BZ #17069]
35326         * posix/regcomp.c (parse_expression): Deallocate partially
35327         constructed tree before returning error.
35328         * posix/Makefile.c (tests): Add bug-regex36.
35329         (generated): Add bug-regex36.mtrace.
35330         (tests-special): Add $(objpfx)bug-regex36-mem.out
35331         (bug-regex36-ENV): New variable.
35332         ($(objpfx)bug-regex36-mem.out): New rule.
35333         * posix/bug-regex36.c: New file.
35335 2014-06-19  Will Newton  <will.newton@linaro.org>
35337         * malloc/malloc.c (systrim): If extra is zero then return
35338         early.
35340 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
35342         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
35344 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
35346         * sysdeps/aarch64/strchr.S: New file.
35348 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35350         [BZ #17022]
35351         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
35352         from arguments -2 or below.
35353         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
35354         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
35356 2014-06-18  Andreas Schwab  <schwab@suse.de>
35358         [BZ #17062]
35359         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
35360         of a bracket expr not to run off the end of the string.
35361         * posix/Makefile (tests): Add tst-fnmatch3.
35362         * posix/tst-fnmatch3.c: New file.
35364 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
35366         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
35367         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
35368         [$(cross-compiling) = no]: Likewise.
35369         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
35370         [$(cross-compiling) = no]: Likewise.
35372 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
35374         [BZ #17031]
35375         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
35376         double, adjusted for any remainder from the high double.
35377         * math/libm-test.inc (nearbyint): Add tests.
35378         (rint): Likewise.
35380 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35382         * nptl/sysdeps/powerpc/Makefile: Moved ...
35383         * sysdeps/powerpc/nptl/Makefile: ... here.
35384         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
35385         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
35386         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
35387         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
35388         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
35389         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
35390         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
35391         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
35392         * nptl/sysdeps/powerpc/tls.h: Moved ...
35393         * sysdeps/powerpc/nptl/tls.h: ... here.
35395 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
35397         [BZ #16681]
35398         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
35399         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
35400         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
35401         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
35402         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
35403         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
35404         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
35405         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
35406         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
35408 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
35410         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
35412 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
35414         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
35415         defined operator.
35417         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
35418         $TIMEOUTFACTOR.
35420 2014-06-16  Florian Weimer  <fweimer@redhat.com>
35422         [BZ #17058]
35423         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
35424         non-executed part of the test.
35426 2014-06-16  Andreas Schwab  <schwab@suse.de>
35428         * string/bits/string2.h (strdup, strndup): Update feature guard.
35430 2014-06-14  David S. Miller  <davem@davemloft.net>
35432         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35434 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
35436         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
35437         that was previously under [RESET_PID].
35438         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
35440         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
35441         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
35442         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
35443         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35444         (__libc_vfork): New strong alias.
35445         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
35447 2014-06-14 Andi Kleen  <ak@linux.intel.com>
35449         * sysdeps/generic/elide.h: New file.
35451 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35453         * Makefile (installed-headers): Adjust path of pthread.h header.
35455 2014-06-13  Roland McGrath  <roland@hack.frob.com>
35457         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
35458         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
35459         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
35460         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
35462         * nptl/sysdeps/s390/Makefile: Moved ...
35463         * sysdeps/s390/nptl/Makefile: ... here.
35464         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
35465         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
35466         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
35467         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
35468         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
35469         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
35470         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
35471         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
35472         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
35473         * sysdeps/s390/nptl/pthreaddef.h: ... here.
35474         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
35475         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
35476         * nptl/sysdeps/s390/tls.h: Moved ...
35477         * sysdeps/s390/nptl/tls.h: ... here.
35479         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
35480         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
35482 2014-06-13  David S. Miller  <davem@davemloft.net>
35484         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
35485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
35486         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
35487         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
35488         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
35489         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
35490         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
35491         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
35492         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
35493         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
35494         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
35495         Remove RESET_PID cpp guards.
35496         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
35497         Remove RESET_PID cpp guards.
35498         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
35500 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
35502         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
35503         __sp to uintptr_t.
35505 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35507         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
35508         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
35509         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
35510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
35511         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
35512         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
35513         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
35514         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
35515         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
35516         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
35517         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
35518         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
35519         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
35520         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
35521         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
35522         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
35523         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
35524         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
35525         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
35526         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
35528         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
35529         (pthread_rwlock_rdlock): Add elision.
35530         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
35531         (pthread_rwlock_wrlock): Add elision.
35532         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
35533         (pthread_rwlock_trywrlock): Add elision.
35534         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
35535         (pthread_rwlock_tryrdlock): Add elision.
35536         * nptl/pthread_rwlock_unlock.c: Include elide.h.
35537         (pthread_rwlock_tryrdlock): Add elision unlock.
35538         * nptl/sysdeps/pthread/pthread.h:
35539         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
35540         (PTHREAD_RWLOCK_INITIALIZER,
35541         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
35542         Handle new elision field.
35543         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
35544         * sysdeps/arm/nptl/bits/pthreadtypes.h
35545         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35546         * sysdeps/sh/nptl/bits/pthreadtypes.h
35547         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35548         * sysdeps/tile/nptl/bits/pthreadtypes.h
35549         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35550         * sysdeps/a/nptl/bits/pthreadtypes.h
35551         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35552         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
35553         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35554         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
35555         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35556         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
35557         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35558         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
35559         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35560         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
35561         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35562         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
35563         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35564         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
35565         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35566         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
35567         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35568         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
35569         (elision_init): Set try_xbegin to zero when no RTM.
35570         * sysdeps/x86/nptl/bits/pthreadtypes.h
35571         (pthread_rwlock_t): Change __pad1 to __rwelision.
35572         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
35574 2014-06-13  Andi Kleen  <ak@linux.intel.com>
35576         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
35577         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
35578         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
35579         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
35581 2014-06-13  Meador Inge  <meadori@codesourcery.com>
35583         [BZ #16996]
35584         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
35585         that the cached result has been set before returning it.
35587 2014-06-12  Roland McGrath  <roland@hack.frob.com>
35589         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
35590         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
35591         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
35592         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
35593         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
35594         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
35596         * nptl/sysdeps/sparc/Makefile: Moved ...
35597         * sysdeps/sparc/nptl/Makefile: ... here.
35598         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
35599         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
35600         * nptl/sysdeps/sparc/tls.h: Moved ...
35601         * sysdeps/sparc/nptl/tls.h: ... here.
35602         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
35603         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
35604         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
35605         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
35606         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
35607         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
35608         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
35609         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
35610         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
35611         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
35612         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
35613         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
35614         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
35615         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
35616         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
35617         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
35618         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
35619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
35620         Update #include.
35621         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
35622         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
35623         Update #include.
35624         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
35625         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
35626         Update #include.
35627         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
35628         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
35629         Update #include.
35631         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35633         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
35634         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
35636         * sysdeps/pthread/posix-timer.h: Include <list.h>.
35637         (struct list_links): Type removed.
35638         (struct thread_node, struct timer_node): Replace struct list_links
35639         with struct list_head.
35640         (list_unlink_ip): Likewise.
35641         * sysdeps/pthread/timer_routines.c
35642         (timer_free_list, thread_free_list, thread_active_list): Likewise.
35643         (list_append, list_insbefore): Likewise.
35644         (list_init): Function removed.
35645         (thread_init, init_module): Use INIT_LIST_HEAD instead.
35646         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
35647         * sysdeps/pthread/Makefile: ... here, new file.
35649         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
35650         * sysdeps/nptl/Implies: ... here.
35651         * sysdeps/unix/sysv/linux/Implies: Add nptl.
35652         * nptl/sysdeps/pthread/list.h: Moved ...
35653         * include/list.h: ... here.
35654         * nptl/sysdeps/pthread/createthread.c: Moved ...
35655         * nptl/createthread.c: ... here.
35656         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
35657         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
35658         * nptl/pt-longjmp.c: ... here.
35659         * nptl/sysdeps/pthread/Makefile: Moved ...
35660         * sysdeps/nptl/Makefile: ... here.
35661         * nptl/sysdeps/pthread/Subdirs: Moved ...
35662         * sysdeps/nptl/Subdirs: ... here.
35663         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
35664         * sysdeps/nptl/aio_misc.h: ... here.
35665         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
35666         * sysdeps/nptl/bits/libc-lock.h: ... here.
35667         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
35668         * sysdeps/nptl/bits/libc-lockP.h: ... here.
35669         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
35670         * sysdeps/nptl/bits/stdio-lock.h: ... here.
35671         * nptl/sysdeps/pthread/configure: Moved ...
35672         * sysdeps/nptl/configure: ... here.
35673         * nptl/sysdeps/pthread/configure.ac: Moved ...
35674         * sysdeps/nptl/configure.ac: ... here.
35675         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
35676         * sysdeps/nptl/gai_misc.h: ... here.
35677         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
35678         * sysdeps/nptl/librt-cancellation.c: ... here.
35679         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
35680         * sysdeps/nptl/malloc-machine.h: ... here.
35681         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
35682         * sysdeps/nptl/pthread-functions.h: ... here.
35683         * nptl/sysdeps/pthread/pthread.h: Moved ...
35684         * sysdeps/nptl/pthread.h: ... here.
35685         * nptl/sysdeps/pthread/setxid.h: Moved ...
35686         * sysdeps/nptl/setxid.h: ... here.
35687         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
35688         * sysdeps/nptl/sigfillset.c: ... here.
35689         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
35690         * sysdeps/nptl/tcb-offsets.h: ... here.
35691         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
35692         * sysdeps/nptl/tst-mqueue8x.c: ... here.
35693         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
35694         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
35695         * nptl/sysdeps/pthread/allocalim.h: Moved ...
35696         * sysdeps/pthread/allocalim.h: ... here.
35697         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
35698         * sysdeps/pthread/bits/sigthread.h: ... here.
35699         * nptl/sysdeps/pthread/flockfile.c: Moved ...
35700         * sysdeps/pthread/flockfile.c: ... here.
35701         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
35702         * sysdeps/pthread/ftrylockfile.c: ... here.
35703         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
35704         * sysdeps/pthread/funlockfile.c: ... here.
35705         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
35706         * sysdeps/pthread/posix-timer.h: ... here.
35707         * nptl/sysdeps/pthread/timer_create.c: Moved ...
35708         * sysdeps/pthread/timer_create.c: ... here.
35709         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
35710         * sysdeps/pthread/timer_delete.c: ... here.
35711         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
35712         * sysdeps/pthread/timer_getoverr.c: ... here.
35713         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
35714         * sysdeps/pthread/timer_gettime.c: ... here.
35715         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
35716         * sysdeps/pthread/timer_routines.c: ... here.
35717         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
35718         * sysdeps/pthread/timer_settime.c: ... here.
35719         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
35720         * sysdeps/pthread/tst-timer.c: ... here.
35721         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
35722         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
35724         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
35725         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
35727         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
35728         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
35729         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
35730         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
35731         Update #include target.
35732         * nptl/sysdeps/i386/i686/Makefile: Moved ...
35733         * sysdeps/i386/i686/nptl/Makefile: ... here.
35734         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
35735         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
35736         Update #include target.
35737         * nptl/sysdeps/i386/i686/tls.h: Moved ...
35738         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
35739         * nptl/sysdeps/i386/Makefile: Moved ...
35740         * sysdeps/i386/nptl/Makefile: ... here.
35741         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
35742         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
35743         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
35744         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
35745         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
35746         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
35747         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
35748         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
35749         * sysdeps/i386/nptl/pthreaddef.h: ... here.
35750         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
35751         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
35752         * nptl/sysdeps/i386/tls.h: Moved ...
35753         * sysdeps/i386/nptl/tls.h: ... here.
35755         * sysdeps/sh/Makefile [$(subdir) = csu]
35756         (gen-as-const-headers): Add tcb-offsets.sym.
35757         * nptl/sysdeps/sh/Makefile: File removed.
35758         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
35759         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
35760         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
35761         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
35762         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
35763         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
35764         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
35765         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
35766         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
35767         * sysdeps/sh/nptl/pthreaddef.h: ... here.
35768         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
35769         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
35770         * nptl/sysdeps/sh/tls.h: Moved ...
35771         * sysdeps/sh/nptl/tls.h: ... here.
35772         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
35773         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
35774         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
35775         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
35776         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
35777         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
35778         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
35779         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
35780         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
35781         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
35782         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
35783         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
35784         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
35785         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
35786         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
35787         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
35788         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
35789         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
35790         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
35791         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
35792         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
35793         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
35794         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
35795         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
35796         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
35797         Moved ...
35798         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
35799         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
35800         Moved ...
35801         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
35802         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
35803         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
35804         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
35805         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
35806         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
35807         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
35808         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
35809         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
35810         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
35811         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
35812         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
35813         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
35814         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
35815         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
35816         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
35817         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
35818         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
35819         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
35821 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35823         * posix/spawn_faction_addopen.c: Include string.h.
35825 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35827         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
35828         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
35829         * nptl/sysdeps/x86_64/Makefile: Moved ...
35830         * sysdeps/x86_64/nptl/Makefile: ... here.
35831         * nptl/sysdeps/x86_64/configure: Moved ...
35832         * sysdeps/x86_64/nptl/configure: ... here.
35833         * nptl/sysdeps/x86_64/configure.ac: Moved ...
35834         * sysdeps/x86_64/nptl/configure.ac: ... here.
35835         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
35836         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
35837         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
35838         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
35839         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
35840         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
35841         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
35842         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
35843         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
35844         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
35845         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
35846         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
35847         * nptl/sysdeps/x86_64/tls.h: Moved ...
35848         * sysdeps/x86_64/nptl/tls.h: ... here.
35849         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
35850         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
35851         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
35852         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
35854         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
35856 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35858         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35860 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
35862         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
35863         type.
35864         [POSIX] (off_t): Likewise.
35865         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
35866         [POSIX] (S_ISBLK): Require macro.
35867         [POSIX] (S_ISCHR): Likewise.
35868         [POSIX] (S_ISDIR): Likewise.
35869         [POSIX] (S_ISFIFO): Likewise.
35870         [POSIX] (S_ISREG): Likewise.
35871         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
35872         optional-macro.
35873         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
35874         type.
35875         [POSIX] (time_t): Likewise.
35876         [POSIX] (timer_t): Likewise.
35878 2014-06-11  Florian Weimer  <fweimer@redhat.com>
35880         [BZ #17048]
35881         * posix/spawn_int.h (struct __spawn_action): Make the path string
35882         non-const to support deallocation.
35883         * posix/spawn_faction_addopen.c
35884         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
35885         * posix/spawn_faction_destroy.c
35886         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
35887         path in all spawn_do_open actions.
35888         * posix/tst-spawn.c (do_test): Exercise the copy operation in
35889         posix_spawn_file_actions_addopen.
35891 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
35893         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
35894         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
35895         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
35896         conditional code always true.
35897         (__libc_vfork): New alias.
35899 2014-06-11  Roland McGrath  <roland@hack.frob.com>
35901         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35902         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
35904         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
35906         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35907         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
35909         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
35910         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
35912         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
35913         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
35915 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
35917         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
35918         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
35919         multiarch strcmp for PPC64.
35920         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
35921         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
35922         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
35923         multiarch optimizations.
35924         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
35925         (__libc_ifunc_impl_list): Likewise.
35927 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
35929         * benchtests/scripts/validate_benchout.py: New script.
35930         * benchtests/Makefile (bench-func): Call it.
35931         * benchtests/scripts/benchout.schema.json: New file.
35933 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
35935         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
35936         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
35937         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
35938         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
35939         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
35940         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
35941         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
35942         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
35943         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
35944         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
35945         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
35946         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
35947         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
35948         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
35949         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
35950         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
35951         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
35952         Moved ...
35953         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
35954         ... here.
35955         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
35956         Moved ...
35957         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
35958         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
35959         Moved ...
35960         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
35961         ... here.
35962         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
35963         Moved ...
35964         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
35965         ... here.
35966         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
35967         Moved ...
35968         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
35969         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
35970         Moved ...
35971         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
35972         ... here.
35973         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
35974         Moved ...
35975         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
35976         ... here.
35977         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
35978         Moved ...
35979         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
35980         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
35981         Moved ...
35982         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
35983         ... here.
35984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
35985         Moved ...
35986         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
35987         ... here.
35988         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
35989         Moved ...
35990         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
35991         ... here.
35992         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
35993         Moved ...
35994         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
35995         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
35996         Moved ...
35997         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
35998         ... here.
35999         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
36000         Moved ...
36001         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
36002         ... here.
36003         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
36004         Moved ...
36005         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
36006         ... here.
36007         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
36008         Moved ...
36009         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
36010         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
36011         Moved ...
36012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
36013         ... here.
36014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
36015         Moved ...
36016         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
36017         ... here.
36018         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
36019         Moved ...
36020         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
36021         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
36022         Moved ...
36023         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
36024         ... here.
36025         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
36026         Moved ...
36027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
36028         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
36029         Moved ...
36030         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
36031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
36032         Moved ...
36033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
36034         ... here.
36035         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
36036         Moved ...
36037         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
36038         ... here.
36039         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
36040         Moved ...
36041         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
36042         ... here.
36043         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
36044         Moved ...
36045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
36046         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
36047         Moved ...
36048         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
36049         ... here.
36050         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
36051         Moved ...
36052         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
36053         ... here.
36054         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
36055         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
36056         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
36057         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
36058         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
36059         Moved ...
36060         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
36061         ... here.
36062         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
36063         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
36064         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
36065         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
36066         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
36067         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
36068         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
36069         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
36070         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
36071         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
36072         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
36073         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
36074         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
36075         Moved ...
36076         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
36077         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
36078         Moved ...
36079         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
36080         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
36081         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
36082         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
36083         Moved ...
36084         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
36085         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
36086         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
36087         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
36088         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
36089         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
36090         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
36092 2014-06-10  Wilco  <wdijkstr@arm.com>
36094         * math/test-fenv-return.c: New file.
36095         * math/Makefile: Add new test test-fenv-return.
36097 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
36099         [BZ #17042]
36100         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
36101         when x - 1 is zero.
36102         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
36103         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
36104         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
36105         0.0L for an argument of 1.0L.
36106         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
36107         Likewise.
36108         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
36109         value when x - 1 is zero.
36110         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
36111         * sysdeps/i386/fpu/libm-test-ulps: Update.
36112         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36114 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
36116         [BZ #15119]
36117         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
36119 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36121         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
36122         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
36124 2014-06-09  Roland McGrath  <roland@hack.frob.com>
36126         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36127         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
36129         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36130         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
36132         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36133         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
36135         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36136         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
36138         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
36139         if not already defined.
36140         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
36141         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
36142         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
36143         (TLS_INIT_TP): Use it.
36144         (TLS_DEFINE_INIT_TP): New macro.
36145         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
36147 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
36149         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
36150         constant.
36151         [POSIX] (IXANY): Likewise.
36152         [POSIX] (OLCUC): Likewise.
36153         [POSIX || POSIX2008] (CBAUD): Do not allow.
36154         [POSIX || POSIX2008] (DEFECHO): Likewise.
36155         [POSIX || POSIX2008] (ECHOCTL): Likewise.
36156         [POSIX || POSIX2008] (ECHOKE): Likewise.
36157         [POSIX || POSIX2008] (ECHOPRT): Likewise.
36158         [POSIX || POSIX2008] (EXTA): Likewise.
36159         [POSIX || POSIX2008] (EXTB): Likewise.
36160         [POSIX || POSIX2008] (FLUSHO): Likewise.
36161         [POSIX || POSIX2008] (LOBLK): Likewise.
36162         [POSIX || POSIX2008] (PENDIN): Likewise.
36163         [POSIX || POSIX2008] (SWTCH): Likewise.
36164         [POSIX || POSIX2008] (VDISCARD): Likewise.
36165         [POSIX || POSIX2008] (VDSUSP): Likewise.
36166         [POSIX || POSIX2008] (VLNEXT): Likewise.
36167         [POSIX || POSIX2008] (VREPRINT): Likewise.
36168         [POSIX || POSIX2008] (VSTATUS): Likewise.
36169         [POSIX || POSIX2008] (VWERASE): Likewise.
36170         (B*): Change to B[0123456789]*.
36171         * conform/data/time.h-data [POSIX || UNIX98]
36172         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
36173         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
36174         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
36175         [POSIX] (tm_*): Do not allow.
36177 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
36179         * Makefile (install): Don't set LANGUAGE.
36180         * Makefile.in (install): Likewise.
36181         * assert/Makefile (test-assert-ENV): Remove variable.
36182         (test-assert-perr-ENV): Likewise.
36183         * elf/Makefile (neededtest4-ENV): Likewise.
36184         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
36185         [$(cross-compiling) = no]: Don't set LANGUAGE.
36186         * io/ftwtest-sh (LANG): Remove variable.
36187         * libio/Makefile (tst-widetext-ENV): Likewise.
36188         * manual/install.texi (Running make install): Don't refer to
36189         environment settings for make install.
36190         * INSTALL: Regenerated.
36191         * nptl/tst-tls6.sh: Don't set LANG.
36192         * posix/globtest.sh (LANG): Remove variable.
36193         * string/Makefile (tester-ENV): Likewise.
36194         (inl-tester-ENV): Likewise.
36195         (noinl-tester-ENV): Likewise.
36196         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
36197         [$(cross-compiling) = no]: Don't set LANGUAGE.
36198         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
36199         without explicit environment settings.
36201 2014-06-06  Roland McGrath  <roland@hack.frob.com>
36203         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
36204         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
36205         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
36206         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
36208 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
36210         * crypt/crypt-private.h [DOS]: Add some includes taken from the
36211         other files in the crypt directory.
36212         * crypt/crypt.c: Remove duplicate includes.
36213         * crypt/crypt-entry.c: Likewise.
36214         * crypt/crypt_util.c: Likewise.
36216 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
36218         * Makeconfig (run-program-env): New variable.
36219         (run-program-prefix-before-env): Likewise.
36220         (run-program-prefix-after-env): Likewise.
36221         (run-program-prefix): Define in terms of new variables.
36222         (built-program-cmd-before-env): New variable.
36223         (built-program-cmd-after-env): Likewise.
36224         (built-program-cmd): Define in terms of new variables.
36225         (test-program-prefix-before-env): New variable.
36226         (test-program-prefix-after-env): Likewise.
36227         (test-program-prefix): Define in terms of new variables.
36228         (test-program-cmd-before-env): New variable.
36229         (test-program-cmd-after-env): Likewise.
36230         (test-program-cmd): Define in terms of new variables.
36231         * Rules (make-test-out): Use $(run-program-env).
36232         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
36233         (help): Do not mention environment variables.  Mention
36234         --timeoutfactor option.
36235         (timeoutfactor): New variable.
36236         (blacklist_exports): Remove function.
36237         (exports): Remove variable.
36238         (command): Do not include ${exports}.
36239         * manual/install.texi (Configuring and compiling): Do not mention
36240         test wrappers preserving environment variables.  Mention that last
36241         assignment to a variable must take precedence.
36242         * INSTALL: Regenerated.
36243         * benchtests/Makefile (run-bench): Use $(run-program-env).
36244         * catgets/Makefile ($(objpfx)test1.cat): Use
36245         $(built-program-cmd-before-env), $(run-program-env) and
36246         $(built-program-cmd-after-env).
36247         ($(objpfx)test2.cat): Do not specify environment variables
36248         explicitly.
36249         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
36250         $(run-program-env) and $(built-program-cmd-after-env).
36251         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
36252         $(run-program-env) and $(test-program-cmd-after-env).
36253         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
36254         explicitly.
36255         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
36256         run_program_env and test_program_cmd_after_env arguments.
36257         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
36258         * elf/tst-pathopt.sh: Use run_program_env argument.
36259         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
36260         $(test-wrapper-env) and $(run-program-env).
36261         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
36262         run_program_env arguments.
36263         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
36264         * intl/Makefile ($(objpfx)tst-gettext.out): Use
36265         $(test-program-prefix-before-env), $(run-program-env) and
36266         $(test-program-prefix-after-env).
36267         ($(objpfx)tst-gettext2.out): Likewise.
36268         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
36269         run_program_env and test_program_prefix_after_env arguments.
36270         * intl/tst-gettext2.sh: Likewise.
36271         * intl/tst-gettext4.sh: Do not set environment variables
36272         explicitly.
36273         * intl/tst-gettext6.sh: Likewise.
36274         * intl/tst-translit.sh: Likewise.
36275         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
36276         $(test-program-prefix-before-env), $(run-program-env) and
36277         $(test-program-prefix-after-env).
36278         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
36279         run_program_env and test_program_prefix_after_env arguments.
36280         * math/Makefile (run-regen-ulps): Use $(run-program-env).
36281         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
36282         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
36283         explicitly with each use of ${test_wrapper_env}.
36284         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
36285         $(test-program-prefix-before-env), $(run-program-env) and
36286         $(test-program-prefix-after-env).
36287         * posix/tst-getconf.sh: Do not set environment variables
36288         explicitly.
36289         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
36290         run_program_env and test_program_prefix_after_env arguments.
36291         * stdio-common/tst-printf.sh: Do not set environment variables
36292         explicitly.
36293         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
36294         $(test-program-prefix-before-env), $(run-program-env) and
36295         $(test-program-prefix-after-env).
36296         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
36297         run_program_env and test_program_prefix_after_env arguments.
36298         Split $test calls into $test_pre and $test.
36299         * timezone/Makefile (build-testdata): Use
36300         $(built-program-cmd-before-env), $(run-program-env) and
36301         $(built-program-cmd-after-env).
36303 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36305         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
36306         strlen for non SHARED builds.
36308 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
36310         * nptl/allocatestack.c (check_list): Inlined function...
36311         (__reclaim_stacks): ... here.
36313 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36315         [BZ #15698]
36316         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36317         memory overrun.
36319 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
36321         * Rules (make-test-out): Include
36322         LOCPATH=$(common-objpfx)localedata in default environment.
36323         * debug/Makefile (tst-chk1-ENV): Remove variable.
36324         (tst-chk2-ENV): Likewise.
36325         (tst-chk3-ENV): Likewise.
36326         (tst-chk4-ENV): Likewise.
36327         (tst-chk5-ENV): Likewise.
36328         (tst-chk6-ENV): Likewise.
36329         (tst-lfschk1-ENV): Likewise.
36330         (tst-lfschk2-ENV): Likewise.
36331         (tst-lfschk3-ENV): Likewise.
36332         (tst-lfschk4-ENV): Likewise.
36333         (tst-lfschk5-ENV): Likewise.
36334         (tst-lfschk6-ENV): Likewise.
36335         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
36336         (tst-iconv7-ENV): Likewise.
36337         * intl/Makefile (LOCPATH-ENV): Likewise.
36338         (tst-codeset-ENV): Likewise.
36339         (tst-gettext3-ENV): Likewise.
36340         (tst-gettext5-ENV): Likewise.
36341         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
36342         (tst-fopenloc-ENV): Likewise.
36343         (tst-fgetws-ENV): Remove variable.
36344         (tst-ungetwc1-ENV): Likewise.
36345         (tst-ungetwc2-ENV): Likewise.
36346         (bug-ungetwc2-ENV): Likewise.
36347         (tst-swscanf-ENV): Likewise.
36348         (bug-ftell-ENV): Likewise.
36349         (tst-fgetwc-ENV): Likewise.
36350         (tst-fseek-ENV): Likewise.
36351         (tst-ftell-partial-wide-ENV): Likewise.
36352         (tst-ftell-active-handler-ENV): Likewise.
36353         (tst-ftell-append-ENV): Likewise.
36354         * posix/Makefile (tst-fnmatch-ENV): Likewise.
36355         (tst-regexloc-ENV): Likewise.
36356         (bug-regex1-ENV): Likewise.
36357         (tst-regex-ENV): Likewise.
36358         (tst-regex2-ENV): Likewise.
36359         (bug-regex5-ENV): Likewise.
36360         (bug-regex6-ENV): Likewise.
36361         (bug-regex17-ENV): Likewise.
36362         (bug-regex18-ENV): Likewise.
36363         (bug-regex19-ENV): Likewise.
36364         (bug-regex20-ENV): Likewise.
36365         (bug-regex22-ENV): Likewise.
36366         (bug-regex23-ENV): Likewise.
36367         (bug-regex25-ENV): Likewise.
36368         (bug-regex26-ENV): Likewise.
36369         (bug-regex30-ENV): Likewise.
36370         (bug-regex32-ENV): Likewise.
36371         (bug-regex33-ENV): Likewise.
36372         (bug-regex34-ENV): Likewise.
36373         (bug-regex35-ENV): Likewise.
36374         (tst-rxspencer-ENV): Likewise.
36375         (tst-rxspencer-no-utf8-ENV): Likewise.
36376         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
36377         (tst-sscanf-ENV): Likewise.
36378         (tst-swprintf-ENV): Likewise.
36379         (tst-swscanf-ENV): Likewise.
36380         (test-vfprintf-ENV): Likewise.
36381         (scanf13-ENV): Likewise.
36382         (bug14-ENV): Likewise.
36383         (tst-grouping-ENV): Likewise.
36384         * stdlib/Makefile (tst-strtod-ENV): Likewise.
36385         (tst-strtod3-ENV): Likewise.
36386         (tst-strtod4-ENV): Likewise.
36387         (tst-strtod5-ENV): Likewise.
36388         (testmb2-ENV): Likewise./
36389         * string/Makefile (tst-strxfrm-ENV): Likewise.
36390         (tst-strxfrm2-ENV): Likewise.
36391         (bug-strcoll1-ENV): Likewise.
36392         (test-strcasecmp-ENV): Likewise.
36393         (test-strncasecmp-ENV): Likewise.
36394         * time/Makefile (tst-strptime-ENV): Likewise.
36395         (tst-ftime_l-ENV): Likewise.
36396         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
36397         (tst-mbrtowc-ENV): Likewise.
36398         (tst-wcrtomb-ENV): Likewise.
36399         (tst-mbrtowc2-ENV): Likewise.
36400         (tst-c16c32-1-ENV): Likewise.
36401         (tst-mbsnrtowcs-ENV): Likewise.
36403 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
36405         * manual/resource.texi (How to get information about the memory
36406         subsystem?): Fix typo.
36407         Reported by Peon de la Parra Ivan <peon@keba.com>
36409 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
36411         [BZ #16882]
36412         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
36413         (pthread_spin_lock): Branch out of spin loop to proper location.
36414         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
36415         (pthread_spin_lock): Likewise.
36417         * nptl/tst-spin4.c: New test.
36418         * nptl/Makefile (tests): Add tst-spin4.
36420 2014-06-03  Andreas Schwab  <schwab@suse.de>
36422         [BZ #15946]
36423         * resolv/res_send.c (send_dg): Reload file descriptor after
36424         calling reopen.
36426 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
36428         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36430 2014-06-03  Richard Henderson  <rth@redhat.com>
36432         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
36433         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
36434         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
36435         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
36436         in the SAVE_PID block.
36437         (__libc_vfork): New alias.
36438         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
36440         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
36441         child in registers, not on the stack.  Remove RESET_PID conditionals.
36442         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
36444 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36446         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36448 2014-06-03  Wilco  <wdijkstr@arm.com>
36450         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
36451         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
36452         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36453         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
36454         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
36455         Likewise.
36457 2014-06-03  Wilco  <wdijkstr@arm.com>
36459         * sysdeps/aarch64/fpu/math_private.h
36460         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
36461         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
36462         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
36463         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
36464         Fix declarations.
36466 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36468         * crypt/crypt-private.h: Include ufc-crypt.h.
36469         (__b64_from_24bit): Declare extern.
36470         * crypt/crypt_util.c(__b64_from_24bit): New function.
36471         (b64t): New static const variable.
36472         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
36473         (b64t): Remove variable.
36474         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
36475         * crypt/sha256-crypt.c: Include crypt-private.h.
36476         (b64t): Remove variable.
36477         (__sha256_crypt_r): Remove b64_from_24bit and replace
36478         with __b64_from_24bit.
36479         * crypt/sha512-crypt.c: Likewise.
36481 2014-06-02  Roland McGrath  <roland@hack.frob.com>
36483         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
36484         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
36485         Label the code __libc_vfork rather than __vfork.
36486         [!NOT_IN_libc] (vfork): Define as weak alias.
36487         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
36488         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
36489         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
36491 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
36493         * malloc/malloc.c (malloc_info): Fix format specifier for
36494         n_mmaps.
36496 2014-06-02  Wilco  <wdijkstr@arm.com>
36498         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
36499         FPCR write.
36501 2014-06-02  Wilco  <wdijkstr@arm.com>
36503         [BZ #17009]
36504         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
36505         Rewrite to reduce FPCR/FPSR accesses.
36507 2014-06-01  David S. Miller  <davem@davemloft.net>
36509         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36511 2014-05-31  David S. Miller  <davem@davemloft.net>
36513         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
36514         to occur in round to nearest mode when |x| >= 2.0
36516 2014-05-30  Richard Henderson  <rth@twiddle.net>
36518         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
36519         (PSEUDO_RET_NOERRNO): Remove.
36520         (ret): Don't redefine.
36521         (ret_NOERRNO): Define in terms of ret.
36522         (ret_ERRVAL): Likewise.
36524         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
36525         use of PSEUDO_RET; perform the error check directly.
36527 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
36529         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
36530         with __int128_t.
36532 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36534         * malloc/malloc (malloc_info): Fix formatting.
36536 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36537             Roland McGrath  <roland@hack.frob.com>
36539         * malloc/malloc (malloc_info): Also print mmapped statistics.
36541 2014-05-30  Roland McGrath  <roland@hack.frob.com>
36543         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
36544         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
36546 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
36548         * malloc/malloc.c (malloc_info): Inline mi_arena.
36550 2014-05-29  Richard Henderson  <rth@twiddle.net>
36552         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
36553         Remove comma before expanding ASM_ARGS_##nr.
36554         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
36555         Make _x0 a strict output; make _x8 a strict input; adjust expansion
36556         of ASM_ARGS_##nr.
36557         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
36558         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
36559         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
36560         (ASM_ARGS_1): Add leading comma.
36562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
36563         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
36564         to __errno_location.
36565         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
36566         Remove the expected plt for __errno_location.
36568         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36569         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
36570         call to __read_tp.
36572         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36573         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
36574         it and break it down.
36575         (DOCARGS_0, DOCARGS_1): Do nothing.
36576         (DOCARGS_2): Update to store into the new stack frame.
36577         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
36578         (UNDOCARGS_1): Update to restore from the new stack frame.
36579         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
36580         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
36582         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36583         (SINGLE_THREAD_P): New parameter for result regno.
36584         (PSEUDO): Update to match; use cbz instead of beq.
36586         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36587         Use ENTRY to define the _nocancel entry point.  Share the syscall
36588         and syscall error check paths with the cancel path.
36589         (PSEUDO_END): New.
36591         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
36592         whitespace; tabs before and after asm mnemonics.
36594 2014-05-29  Eric Wong  <normalperson@yhbt.net>
36596         [BZ #15132]
36597         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36598         Call fstat64 or stat64 internally, depending on arguments passed.
36599         Replace stat buffer argument with file descriptor argument.
36600         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
36601         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
36602         Pass fd to __internal_statvfs instead of calling fstat64.
36603         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
36604         Pass fd to __internal_statvfs64 instead of calling fstat64.
36605         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
36606         Pass -1 to __internal_statvfs instead of calling stat64.
36607         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
36608         Pass -1 to __internal_statvfs64 instead of calling stat64.
36610 2014-05-28  Roland McGrath  <roland@hack.frob.com>
36612         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
36613         that was previously under [RESET_PID].
36614         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
36616         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
36617         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
36619 2014-05-27  Roland McGrath  <roland@hack.frob.com>
36621         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
36623         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
36624         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
36626 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
36628         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
36630 2014-05-27  Andreas Schwab  <schwab@suse.de>
36632         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
36633         TLS_INIT_TP macro.
36634         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
36635         * elf/rtld.c (init_tls, dl_main): Likewise.
36636         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
36637         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
36638         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
36639         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
36640         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
36641         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
36642         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
36643         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
36644         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
36645         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
36646         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
36647         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
36648         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
36649         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
36650         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
36651         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
36652         * sysdeps/generic/tls.h: Update description.
36654 2014-05-27  Will Newton  <will.newton@linaro.org>
36656         [BZ #16990]
36657         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
36658         and restore r2 rather than just restoring.
36660 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
36662         [BZ #16724]
36663         * libio/tst-ftell-append.c: New test case.
36664         * libio/Makefile (tests): Add test case.
36665         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
36666         append mode.
36667         * libio/wfileops.c (do_ftell_wide): Likewise.
36669 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36671         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36673         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
36674         ...
36675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
36676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
36677         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
36678         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
36679         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
36680         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
36681         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
36682         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
36683         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
36684         Moved ...
36685         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
36686         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
36687         Moved ...
36688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
36689         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
36690         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
36691         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
36692         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
36693         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
36694         ...
36695         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
36696         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
36697         Moved ...
36698         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
36699         here.
36700         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
36701         ...
36702         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
36703         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
36704         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
36706         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
36707         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
36708         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
36709         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
36711         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
36712         merge into ...
36713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
36714         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
36715         ...
36716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
36717         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
36718         ...
36719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
36720         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
36721         Moved ...
36722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
36723         here.
36724         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
36725         Moved ...
36726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
36727         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
36728         Moved ...
36729         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
36731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
36732         conditional [RESET_PID].
36733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
36734         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
36735         removed.
36736         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
36737         removed.
36739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
36740         <tcb-offsets.h>.
36741         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
36742         (__libc_vfork): New strong alias.
36743         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
36744         removed.
36745         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
36746         Removed.
36748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
36749         <tcb-offsets.h>.
36750         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
36751         (__libc_vfork): New strong alias.
36752         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
36753         removed.
36754         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
36755         removed.
36757 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
36759         * malloc/malloc.c (mi_arena): New function.
36760         (malloc_info): Remove nested function mi_arena. Call non-nosted
36761         function mi_arena.
36763 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36765         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
36766         by insrwi.
36767         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
36768         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
36769         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
36770         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
36771         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
36772         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
36773         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
36775 2014-05-26  Andreas Schwab  <schwab@suse.de>
36777         [BZ #16984]
36778         * locale/programs/repertoire.c (repertoire_read): Add slash
36779         between I18NPATH element and file name.
36780         * locale/programs/locfile.c (locfile_read): Likewise.
36782 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36784         * nptl/pthread_mutexattr_settype.c
36785         (__pthread_mutexattr_settype):
36786         Disable lock elision for PTHREAD_MUTEX_NORMAL.
36788 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
36790         * nptl/tst-mutex5 (do_test):
36791         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
36793 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36795         * benchtests/README: Document 'init' directive.
36796         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
36797         BENCH_INIT.
36798         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
36799         (parse_file): Recognize 'init' directive.
36801 2014-05-26  Kyle McMartin  <kyle@redhat.com>
36803         [BZ #16796]
36804         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
36805         alignment of struct pthread.
36807 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
36809         [BZ #16878]
36810         * nscd/netgroupcache.c (addgetnetgrentX): Look for
36811         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36812         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
36813         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
36815 2014-05-25  Richard Henderson  <rth@twiddle.net>
36817         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
36818         (SINGLE_THREAD_P_PIC): Remove.
36819         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
36820         (SINGLE_THREAD_P_PIC): Remove.
36822         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
36823         branch to syscall error ...
36824         (PSEUDO): ... here.
36825         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
36826         from __local_syscall_error to .Lsyscall_error.
36827         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
36828         (SYSCALL_ERROR): Update label name.
36830         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
36831         Do not use DOARGS/UNDOARGS.
36832         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
36833         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
36834         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
36835         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
36836         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
36838         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
36839         block comment.
36841         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36842         define if !NOT_IN_libc.
36843         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
36844         define with non-default symbol versions.
36846 2014-05-23  Richard Henderson  <rth@twiddle.net>
36848         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
36849         (vfork, __vfork): Define via compat_symbol.
36851         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
36852         [!HAVE_IFUNC] (vfork_compat): Remove.
36853         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
36855 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36857         [BZ #16978]
36858         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
36859         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
36860         variable.
36862 2014-05-23  Richard Henderson  <rth@twiddle.net>
36864         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
36865         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
36866         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
36867         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
36869         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
36870         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
36871         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
36872         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
36873         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
36874         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
36875         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
36876         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
36877         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
36878         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
36879         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
36880         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
36881         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
36882         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
36883         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
36884         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
36885         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
36886         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
36887         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
36888         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
36889         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
36890         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
36891         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
36892         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
36893         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
36894         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
36895         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
36896         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
36897         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
36898         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
36899         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
36900         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
36901         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
36902         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
36903         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
36904         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
36905         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
36906         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
36907         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
36908         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
36909         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
36910         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
36911         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
36912         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
36913         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
36914         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
36915         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
36916         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
36917         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
36918         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
36919         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
36920         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
36921         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
36922         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
36923         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
36924         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
36926         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
36927         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
36928         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
36929         before exiting on error.
36930         (__libc_vfork): New strong alias.
36931         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
36932         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
36934         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
36935         that was previously under [RESET_PID].
36936         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
36938         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
36940 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
36942         [BZ #16977]
36943         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
36944         value when x - 1 is zero.
36945         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
36946         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
36947         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
36948         0.0L for an argument of 1.0L.
36949         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
36950         Likewise.
36951         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
36952         value when x - 1 is zero.
36953         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
36954         * sysdeps/i386/fpu/libm-test-ulps: Update.
36955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36957 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
36959         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
36960         alphasort and versionsort.
36962 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36964         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
36965         macro.
36966         [copysignf]: Likewise.
36968 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36970         * crypt/md5-crypt.c: Fix formatting.
36972 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
36974         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
36975         (b64_from_24bit): New function.
36977 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36979         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
36980         libc_hidden_builtin_def to ifunc.
36981         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36982         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
36984 2014-05-21  Roland McGrath  <roland@hack.frob.com>
36986         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
36987         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
36989 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
36991         * nscd/Depend (linuxthreads): Remove.
36992         (nptl): Add.
36993         * resolv/Depend (linuxthreads): Remove.
36994         * rt/Depend (linuxthreads): Remove.
36996         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
36997         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
36998         $(common-objpfx)elf/.
36999         (link-libc-before-gnulib): Likewise.
37000         (elfobjdir): Remove variable.
37001         * Makefile (install): Use $(elf-objpfx) instead of
37002         $(common-objpfx)elf/.
37003         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
37004         $(elfobjdir)/.
37005         (link-libc-deps): Likewise.
37006         ($(common-objpfx)libc.so): Likewise.
37007         ($(common-objpfx)linkobj/libc.so): Likewise.
37008         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
37009         instead of $(common-objpfx)elf/.
37010         (symbolic-link-list): Likewise.
37011         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
37012         [$(cross-compiling) = no]: Likewise.
37013         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
37014         $(elfobjdir)/.
37015         (static-gnulib-arch): Likewise.
37016         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
37017         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
37018         $(common-objpfx)elf/.
37020 2014-05-21  Richard Henderson  <rth@redhat.com>
37022         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
37023         (SINGLE_THREAD_P): Use the correct width load.  Fold
37024         into the ldr offset.
37026         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
37027         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
37029 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
37031         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
37032         (libgcc_s_resume): Use __attribute_used__.
37033         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
37034         Likewise.
37036 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37038         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
37039         optimization when used with float constants.
37041         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37043 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
37045         [BZ #16915]
37046         * locale/nl_langinfo_l.c: Make direct reference to every
37047         _nl_current_CATEGORY symbol.
37048         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
37049         (tests-static): Add tst-langinfo-static.
37050         (tests-special): Add tst-langinfo-static.out.
37051         ($(objpfx)tst-langinfo.out): Redirect output.
37052         ($(objpfx)tst-langinfo-static.out): New.
37053         * localedata/tst-langinfo.sh: Send output to stdout.
37054         * localedata/tst-langinfo-static.c: New file.
37056         [BZ #16965]
37057         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
37058         when the shift amount is modulo the limb size.
37060 2014-05-20  Richard Henderson  <rth@redhat.com>
37062         [BZ #16967]
37063         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
37064         Change type of sa_flags from unsigned int to int.
37066         [BZ #16966]
37067         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
37069         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
37071 2014-05-20  Will Newton  <will.newton@linaro.org>
37073         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
37074         Test the return value of the system call in the nocancel case.
37076 2014-05-20  Will Newton  <will.newton@linaro.org>
37077             Yvan Roux  <yvan.roux@linaro.org>
37079         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
37080         #include of asm/ptrace.h.
37081         (PTRACE_GET_THREAD_AREA): Remove #undef.
37082         (PTRACE_GETHBPREGS): Likewise.
37083         (PTRACE_SETHBPREGS): Likewise.
37084         (struct user_regs_struct): New structure.
37085         (struct user_fpsimd_struct): New structure.
37086         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
37087         #include of asm/ptrace.h and second #include of sys/user.h.
37088         (PTRACE_GET_THREAD_AREA): Remove #undef.
37089         (PTRACE_GETHBPREGS): Likewise.
37090         (PTRACE_SETHBPREGS): Likewise.
37091         (ELF_NGREG): Use new struct user_regs_struct.
37092         (elf_fpregset_t): Use new struct user_fpsimd_struct.
37094 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37096         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
37097         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
37099 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
37101         [BZ #16958]
37102         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
37103         membar to avoid block loads/stores to overlap previous stores.
37105 2014-05-17  Richard Henderson  <rth@redhat.com>
37107         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
37108         Create the __##syscall_name##_nocancel entry point.
37109         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
37110         Remove; let the sysdep-cancel.h code create it.
37112 2014-05-17  David S. Miller  <davem@davemloft.net>
37114         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
37115         Protect with __USE_GNU.
37116         (TIOCSET_TEMPT): Likewise.
37117         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
37118         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
37119         these are already provided in bits/ioctl-types.h
37121 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37123         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
37124         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
37126         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
37127         Use wait4 regardless of [__NR_waitpid].
37129 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
37131         PR libgcc/60166
37132         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
37133         (_FP_NANSIGN_Q): Set the quiet bit.
37135 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
37137         * benchtests/Makefile
37138         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
37139         not $(common-objpfx)math/libm.so.
37140         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
37141         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
37142         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
37143         $(common-objpfx)dlfcn/libdl.so.
37144         ($(objpfx)tst-audit8): Depend on $(libm), not
37145         $(common-objpfx)math/libm.so.
37146         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
37147         not $(common-objpfx)dlfcn/libdl.so.
37148         * math/Makefile
37149         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
37150         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
37151         [$(build-shared) = yes].
37152         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
37153         $(common-objpfx)nptl/libpthread.so.
37154         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
37155         $(common-objpfx)math/libm.so$(libm.so-version) or
37156         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
37157         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
37158         $(common-objpfx)dlfcn/libdl.so.
37159         * setjmp/Makefile (link-libm): Remove variable.
37160         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
37161         * stdio-common/Makefile (link-libm): Remove variable.
37162         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
37163         * stdlib/Makefile (link-libm): Remove variable.
37164         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
37165         ($(objpfx)tst-strtod-round): Likewise.
37166         ($(objpfx)tst-tininess): Likewise.
37167         ($(objpfx)tst-strtod-underflow): Likewise.
37168         ($(objpfx)tst-strtod6): Likewise.
37169         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
37170         $(libdl), not $(common-objpfx)nptl/libpthread.so and
37171         $(common-objpfx)dlfcn/libdl.so.
37173 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37175         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
37176         BSD terminal modes definitions.
37178 2014-05-16  Roland McGrath  <roland@hack.frob.com>
37180         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
37181         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
37183         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
37184         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
37185         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
37186         Don't do #include_next.
37187         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
37188         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
37189         Don't do #include_next.
37190         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
37191         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
37192         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
37193         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
37195 2014-05-16  Allan McRae  <allan@archlinux.org>
37197         * po/sv.po: Update Swedish translation from translation project.
37199         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
37200         in sed expression.
37202 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
37204         [BZ #16917]
37205         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
37206         errno if the TIOCGPTN ioctl fails with an error different than
37207         EINVAL.
37208         * login/tst-ptsname.c: New file.
37209         * login/Makefile (tests): Add tst-ptsname.
37211         [BZ #16943]
37212         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
37213         and prlimit64.
37215 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
37217         [BZ #16849]
37218         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
37219         herrno to return EAI_AGAIN.
37221 2014-05-14  Roland McGrath  <roland@hack.frob.com>
37223         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
37224         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
37225         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
37226         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
37227         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
37228         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
37229         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
37230         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
37231         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
37232         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
37233         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
37234         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
37235         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
37236         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
37237         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
37238         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
37239         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
37240         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
37241         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
37242         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
37243         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
37244         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
37245         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
37246         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
37247         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
37248         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
37249         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
37250         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
37251         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
37252         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
37253         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
37254         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
37255         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
37256         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
37257         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
37258         Moved ...
37259         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
37260         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
37261         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
37262         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
37263         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
37264         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
37265         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
37266         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
37267         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
37268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
37269         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
37270         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
37271         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
37272         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
37273         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
37274         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
37275         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
37276         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
37277         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
37278         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
37279         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
37280         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
37281         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
37282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
37283         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
37284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
37285         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
37286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
37287         Moved ...
37288         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
37289         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
37290         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
37291         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
37292         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
37293         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
37294         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
37295         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
37296         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
37297         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
37298         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
37299         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
37300         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
37301         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
37302         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
37303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
37304         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
37305         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
37306         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
37307         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
37308         Moved ...
37309         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
37310         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
37311         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
37313         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
37314         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
37315         (libpthread-sysdep_routines): Add elision-related stuff here instead.
37316         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
37317         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
37318         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
37319         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
37320         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
37321         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
37322         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
37323         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
37324         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
37325         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
37326         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
37327         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
37328         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
37329         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
37330         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
37331         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
37332         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
37333         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
37334         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
37335         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
37336         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
37337         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
37338         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
37339         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
37340         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
37341         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
37342         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
37343         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
37345         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
37346         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
37348         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
37349         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
37350         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
37351         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
37352         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
37353         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
37354         Moved ...
37355         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
37356         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
37357         Moved ...
37358         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
37359         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
37360         Moved ...
37361         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
37362         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
37363         Moved ...
37364         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
37365         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
37366         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
37367         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
37368         Moved ...
37369         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
37370         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
37371         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
37372         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
37373         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
37374         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
37375         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
37376         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
37377         Moved ...
37378         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
37379         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37380         Moved ...
37381         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
37382         ... here.
37383         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
37384         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
37385         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
37386         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
37387         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37388         Moved ...
37389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
37390         ... here.
37391         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
37392         Moved ...
37393         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
37394         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
37395         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
37396         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
37397         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
37398         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
37399         Moved ...
37400         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
37401         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
37402         Moved ...
37403         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
37404         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
37405         Moved ...
37406         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
37407         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
37408         Moved ...
37409         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
37410         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
37411         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
37412         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
37413         Moved ...
37414         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
37415         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
37416         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
37417         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
37418         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
37419         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
37420         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
37421         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
37422         Moved ...
37423         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
37424         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37425         Moved ...
37426         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
37427         ... here.
37428         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
37429         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
37430         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
37431         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
37432         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37433         Moved ...
37434         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
37435         ... here.
37436         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
37437         Moved ...
37438         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
37439         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
37440         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
37441         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
37442         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
37443         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
37444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
37445         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
37446         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
37447         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
37448         Moved ...
37449         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
37450         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
37451         Moved ...
37452         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
37453         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
37454         Moved ...
37455         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
37456         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
37457         Moved ...
37458         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
37459         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
37460         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
37461         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
37462         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
37463         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
37464         Moved ...
37465         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
37466         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
37467         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
37468         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
37469         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
37470         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
37471         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
37472         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
37473         Moved ...
37474         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
37475         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37476         Moved ...
37477         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
37478         ... here.
37479         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
37480         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
37481         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
37482         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
37483         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37484         Moved ...
37485         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
37486         ... here.
37487         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
37488         Moved ...
37489         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
37490         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
37491         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
37492         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
37493         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
37494         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
37495         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
37496         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
37497         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
37498         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
37499         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
37501         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
37502         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
37504         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
37505         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
37507         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
37508         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
37509         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
37510         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
37511         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
37512         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
37513         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
37514         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
37515         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
37516         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
37517         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
37518         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
37519         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
37520         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
37521         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
37522         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
37523         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
37524         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
37525         Moved ...
37526         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
37527         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
37528         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
37529         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
37530         Moved ...
37531         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
37532         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
37533         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
37534         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
37535         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
37536         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
37537         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
37538         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
37539         Moved ...
37540         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
37541         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
37542         Moved ...
37543         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
37544         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
37545         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
37546         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
37547         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
37548         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
37549         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
37550         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
37551         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
37552         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
37553         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
37554         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
37555         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
37556         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
37557         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
37558         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
37559         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
37561         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
37562         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
37563         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
37564         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
37565         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
37567         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
37568         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
37569         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
37570         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
37571         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
37572         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
37573         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
37574         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
37575         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
37576         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
37578         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
37579         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
37581         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
37582         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
37583         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
37584         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
37585         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
37586         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
37587         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
37588         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
37589         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
37590         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
37591         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
37592         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
37593         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
37594         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
37595         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
37596         Update #include.
37597         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
37598         Likewise.
37599         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
37600         Likewise.
37601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
37602         Likewise.
37603         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
37604         Likewise.
37605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
37606         Likewise.
37607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
37608         Likewise.
37609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
37610         Likewise.
37611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
37612         Likewise.
37613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
37614         Likewise.
37615         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
37616         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
37617         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
37618         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
37619         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
37620         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
37621         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
37622         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
37623         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
37624         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
37625         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
37626         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
37627         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
37628         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
37629         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
37631         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
37632         that was previously under [RESET_PID].
37633         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37634         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
37635         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
37637         * sysdeps/i386/nptl/Implies: New file.
37638         * sysdeps/x86_64/nptl/Implies: New file.
37639         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
37640         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
37641         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
37642         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
37644         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
37645         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37646         (__libc_vfork): New strong alias.
37647         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
37648         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
37650         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
37651         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37652         (__libc_vfork): New strong alias.
37653         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
37654         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
37656         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
37657         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
37658         (__libc_vfork): New strong alias.
37659         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
37660         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
37661         * nptl/pt-vfork.c: New file.
37662         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
37663         (libpthread: GLIBC_2.20): New version set (empty).
37665 2014-05-14  Will Newton  <will.newton@linaro.org>
37667         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
37668         rather than #if.
37670 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37672         [BZ #16564]
37673         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
37674         arguments with exponent 65 or above.
37675         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
37676         arguments 0x1p113L or above.
37677         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
37678         to arguments 0x1p107L or above.
37679         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
37680         positive arguments with exponent 65 or above.
37681         * math/auto-libm-test-in: Add more tests of log1p.
37682         * math/auto-libm-test-out: Regenerated.
37684         [BZ #16928]
37685         * math/s_cacos.c (__cacos): Ensure zero real part of result from
37686         non-finite arguments is +0.
37687         * math/s_cacosf.c (__cacosf): Likewise.
37688         * math/s_cacosl.c (__cacosl): Likewise.
37689         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
37690         * sysdeps/i386/fpu/libm-test-ulps: Update.
37691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37693         [BZ #16927]
37694         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
37695         value.
37696         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
37697         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
37698         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
37699         for explicit high bit of mantissa when testing for argument equal
37700         to 1.
37701         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
37702         * sysdeps/i386/fpu/libm-test-ulps: Update.
37703         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37705         [BZ #16516]
37706         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
37707         (__erf): Scale by 16 instead of 8 in potentially underflowing
37708         case.  Ensure exception if result actually underflows.
37709         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
37710         (__erff): Scale by 16 instead of 8 in potentially underflowing
37711         case.  Ensure exception if result actually underflows.
37712         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
37713         (efx8): Remove variable.
37714         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37715         case.  Ensure exception if result actually underflows.
37716         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
37717         (efx8): Remove variable.
37718         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37719         case.  Ensure exception if result actually underflows.
37720         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
37721         (efx8): Remove variable.
37722         (__erfl): Scale by 16 instead of 8 in potentially underflowing
37723         case.  Ensure exception if result actually underflows.
37724         * math/auto-libm-test-in: Add more tests of erf.
37725         * math/auto-libm-test-out: Regenerated.
37727 2014-05-14  Andreas Schwab  <schwab@suse.de>
37729         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
37730         Remove code conditionalized on USE___THREAD.
37732         * config.h.in (HAVE_PT_CHOWN): Define as 0.
37733         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
37734         not definedness.
37736 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
37738         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
37739         Define unconditionally.
37740         (__ASSUME_O_CLOEXEC): Likewise.
37741         (__ASSUME_SOCK_CLOEXEC): Likewise.
37742         (__ASSUME_IN_NONBLOCK): Likewise.
37743         (__ASSUME_PIPE2): Likewise.
37744         (__ASSUME_EVENTFD2): Likewise.
37745         (__ASSUME_SIGNALFD4): Likewise.
37746         (__ASSUME_DUP3): Likewise.
37747         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
37748         (__ASSUME_DUP3): Do not define.
37749         (__ASSUME_EVENTFD2): Likewise.
37750         (__ASSUME_IN_NONBLOCK): Likewise.
37751         (__ASSUME_O_CLOEXEC): Likewise.
37752         (__ASSUME_PIPE2): Likewise.
37753         (__ASSUME_SIGNALFD4): Likewise.
37754         (__ASSUME_SOCK_CLOEXEC): Likewise.
37755         (__ASSUME_UTIMES): Undefine.
37756         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37757         (__ASSUME_UTIMES): Do not define.
37758         (__ASSUME_O_CLOEXEC): Likewise.
37759         (__ASSUME_SOCK_CLOEXEC): Likewise.
37760         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
37761         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
37762         0x020621].
37763         (__ASSUME_PIPE2): Likewise.
37764         (__ASSUME_EVENTFD2): Likewise.
37765         (__ASSUME_SIGNALFD4): Likewise.
37766         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
37767         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
37768         Do not define.
37769         (__ASSUME_EVENTFD2): Likewise.
37770         (__ASSUME_SIGNALFD4): Likewise.
37771         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
37772         (__ASSUME_32BITUIDS): Likewise.
37773         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
37774         (__ASSUME_IPC64): Likewise.
37775         (__ASSUME_ST_INO_64_BIT): Likewise.
37776         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
37777         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
37778         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
37779         (__ASSUME_UTIMES): Do not define.
37780         (__ASSUME_PSELECT): Likewise.
37781         (__ASSUME_PPOLL): Likewise.
37782         (__ASSUME_O_CLOEXEC): Likewise.
37783         (__ASSUME_SOCK_CLOEXEC): Likewise.
37784         (__ASSUME_IN_NONBLOCK): Likewise.
37785         (__ASSUME_PIPE2): Likewise.
37786         (__ASSUME_EVENTFD2): Likewise.
37787         (__ASSUME_SIGNALFD4): Likewise.
37788         (__ASSUME_DUP3): Likewise.
37789         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
37790         (__ASSUME_UTIMES): Likewise.
37791         (__ASSUME_O_CLOEXEC): Likewise.
37792         (__ASSUME_SOCK_CLOEXEC): Likewise.
37793         (__ASSUME_IN_NONBLOCK): Likewise.
37794         (__ASSUME_PIPE2): Likewise.
37795         (__ASSUME_EVENTFD2): Likewise.
37796         (__ASSUME_SIGNALFD4): Likewise.
37797         (__ASSUME_DUP3): Likewise.
37798         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37799         (__ASSUME_UTIMES): Likewise.
37800         (__ASSUME_O_CLOEXEC): Likewise.
37801         (__ASSUME_SOCK_CLOEXEC): Likewise.
37802         (__ASSUME_IN_NONBLOCK): Likewise.
37803         (__ASSUME_PIPE2): Likewise.
37804         (__ASSUME_EVENTFD2): Likewise.
37805         (__ASSUME_SIGNALFD4): Likewise.
37806         (__ASSUME_DUP3): Likewise.
37807         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
37808         Likewise.
37809         (__ASSUME_UTIMES): Likewise.
37810         (__ASSUME_EVENTFD2): Likewise.
37811         (__ASSUME_SIGNALFD4): Likewise.
37812         * sysdeps/unix/sysv/linux/tile/kernel-features.h
37813         (__ASSUME_O_CLOEXEC): Likewise.
37814         (__ASSUME_SOCK_CLOEXEC): Likewise.
37815         (__ASSUME_IN_NONBLOCK): Likewise.
37816         (__ASSUME_PIPE2): Likewise.
37817         (__ASSUME_EVENTFD2): Likewise.
37818         (__ASSUME_SIGNALFD4): Likewise.
37819         (__ASSUME_DUP3): Likewise.
37820         (__ASSUME_UTIMES): Undefine.
37822         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
37823         feclearexcept.  Remove symbol versioning code.
37824         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
37825         symbol versioning code.
37826         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
37827         symbol versioning code.
37828         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
37829         feupdateenv.  Remove symbol versioning code.
37830         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
37831         fegetexceptflag.  Remove symbol versioning code.
37832         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
37833         fesetexceptflag.  Remove symbol versioning code.
37834         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
37835         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
37836         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
37837         (__posix_fadvise64_l32): Remove prototype.
37838         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
37839         code.
37841 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37843         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
37844         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
37845         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
37846         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
37848 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
37850         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
37851         current working directory
37853 2014-05-13  Roland McGrath  <roland@hack.frob.com>
37855         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
37856         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
37857         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
37858         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
37859         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
37860         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
37861         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
37862         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
37863         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
37864         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
37865         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
37866         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
37867         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
37868         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
37869         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
37870         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
37871         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
37872         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
37873         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
37874         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
37875         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
37876         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
37877         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
37878         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
37879         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
37880         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
37881         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
37882         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
37883         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
37884         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
37885         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
37886         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
37887         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
37888         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
37889         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
37890         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
37891         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
37892         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
37893         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
37894         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
37895         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
37896         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
37898         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
37899         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
37901         * sysdeps/unix/sysv/linux/arm/Makefile
37902         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
37903         Add rt-aeabi_unwind_cpp_pr1.
37904         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
37905         Add nptl-aeabi_unwind_cpp_pr1.
37906         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
37907         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
37908         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
37909         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
37910         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
37911         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
37913         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
37914         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
37915         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
37916         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
37918         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
37919         Deconditionalize the code that was previously under [RESET_PID].
37920         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
37922         * sysdeps/generic/exit-thread.h: New file.
37923         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
37924         * include/unistd.h (__exit_thread): Remove declaration.
37925         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
37926         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
37927         * csu/libc-start.c: Include <exit-thread.h>.
37928         (LIBC_START_MAIN): Pass no argument to __exit_thread.
37929         * nptl/pthread_create.c: Include <exit-thread.h>.
37930         (start_thread): Call __exit_thread in place of __exit_thread_inline.
37931         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
37932         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
37933         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
37934         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
37935         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
37936         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
37937         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
37938         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
37939         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
37940         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
37941         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
37942         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
37943         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
37944         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
37945         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
37946         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
37948 2014-05-13  Andreas Schwab  <schwab@suse.de>
37950         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
37952 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
37954         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
37955         (__ASSUME_UTIMES): Do not condition on kernel version.
37956         (__ASSUME_PSELECT): Define unconditionally.
37957         (__ASSUME_PPOLL): Likewise.
37958         (__ASSUME_ATFCTS): Likewise.
37959         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
37960         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
37961         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
37962         (__ASSUME_UTIMENSAT): Define unconditionally.
37963         (__ASSUME_PRIVATE_FUTEX): Likewise.
37964         (__ASSUME_FALLOCATE): Likewise.
37965         (__ASSUME_O_CLOEXEC): Likewise.
37966         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
37967         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
37968         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
37969         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
37970         (__ASSUME_IN_NONBLOCK): Likewise.
37971         (__ASSUME_PIPE2): Likewise.
37972         (__ASSUME_EVENTFD2): Likewise.
37973         (__ASSUME_SIGNALFD4): Likewise.
37974         (__ASSUME_DUP3): Likewise.
37975         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
37976         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
37977         (__ASSUME_AT_RANDOM): Likewise.
37978         (__ASSUME_PREADV): Likewise.
37979         (__ASSUME_PWRITEV): Likewise.
37980         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
37981         (__ASSUME_F_GETOWN_EX): Define unconditionally.
37982         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
37983         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
37984         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
37985         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37986         (__ASSUME_O_CLOEXEC): Define unconditionally.
37987         (__ASSUME_PSELECT): Do not undefine conditionally.
37988         (__ASSUME_PPOLL): Likewise.
37989         (__ASSUME_ATFCTS): Likewise.
37990         (__ASSUME_SET_ROBUST_LIST): Likewise.
37991         (__ASSUME_UTIMENSAT): Likewise.
37992         (__ASSUME_FDATASYNC): Define unconditionally.
37993         * sysdeps/unix/sysv/linux/arm/kernel-features.h
37994         (__ASSUME_SIGFRAME_V2): Likewise.
37995         )__ASSUME_EVENTFD2): Likewise.
37996         (__ASSUME_SIGNALFD4): Likewise.
37997         (__ASSUME_PSELECT): Do not undefine conditionally.
37998         (__ASSUME_PPOLL): Likewise.
37999         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
38000         (__ASSUME_PSELECT): Define unconditionally.
38001         (__ASSUME_PPOLL): Likewise.
38002         (__ASSUME_O_CLOEXEC): Likewise.
38003         (__ASSUME_SOCK_CLOEXEC): Likewise.
38004         (__ASSUME_IN_NONBLOCK): Likewise.
38005         (__ASSUME_PIPE2): Likewise.
38006         (__ASSUME_EVENTFD2): Likewise.
38007         (__ASSUME_SIGNALFD4): Likewise.
38008         (__ASSUME_DUP3): Likewise.
38009         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
38010         (__ASSUME_O_CLOEXEC): Likewise.
38011         (__ASSUME_SOCK_CLOEXEC): Likewise.
38012         (__ASSUME_IN_NONBLOCK): Likewise.
38013         (__ASSUME_PIPE2): Likewise.
38014         (__ASSUME_EVENTFD2): Likewise.
38015         (__ASSUME_SIGNALFD4): Likewise.
38016         (__ASSUME_DUP3): Likewise.
38017         * sysdeps/unix/sysv/linux/mips/kernel-features.h
38018         (__ASSUME_EVENTFD2): Likewise.
38019         (__ASSUME_SIGNALFD4): Likewise.
38020         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
38022 2014-05-12  Andreas Schwab  <schwab@suse.de>
38024         [BZ #16932]
38025         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
38026         (_nss_nis_gethostbyname4_r): Return error if item length is larger
38027         than maximum RPC packet size.
38028         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
38029         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
38030         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
38031         (_nss_nis_getservbyport_r): Likewise.
38033 2014-05-12  Will Newton  <will.newton@linaro.org>
38035         * malloc/Makefile (tests): Add tst-mallopt.
38036         * malloc/tst-mallopt.c: New file.
38038 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38040         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
38041         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
38043 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38045         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
38046         (tst-tlsmod6.so): Likewise.
38048 2014-05-09  Roland McGrath  <roland@hack.frob.com>
38050         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
38052 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
38054         [BZ #16064]
38055         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
38056         and <dl-procinfo.h>.
38057         (__fegetenv): Save SSE state in envp->__eip if supported.
38058         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
38059         envp->__eip if supported.
38060         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
38061         and <dl-procinfo.h>.
38062         (__fesetenv): Always set __eip, __cs_selector, __opcode,
38063         __data_offset and __data_selector in environment to 0.  Set SSE
38064         state if supported.
38065         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
38066         test-fenv-sse.
38067         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
38068         -mfpmath=sse.
38069         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
38071 2014-05-09  Will Newton  <will.newton@linaro.org>
38073         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
38074         and libc_relro_required for ARM.
38075         * sysdeps/arm/preconfigure: Regenerate.
38077 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
38078             Stefan Liebler  <stli@linux.vnet.ibm.com>
38080         * config.make.in (enable-lock-elision): New Makefile variable.
38081         * configure.ac: Likewise.
38082         * configure: Regenerate.
38083         * sysdeps/s390/configure.ac:
38084         Add check for gcc transactions support.
38085         * sysdeps/s390/configure: Regenerate.
38086         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
38087         Build elision files if enabled.
38088         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
38089         Add lock elision support for s390.
38090         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
38091         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
38092         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
38093         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
38094         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
38095         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
38096         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
38097         Likewise.
38098         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
38099         Likewise.
38100         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
38101         Likewise.
38102         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
38103         Likewise.
38104         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
38105         (__lll_timedlock_elision, __lll_lock_elision)
38106         (__lll_unlock_elision, __lll_trylock_elision)
38107         (lll_timedlock_elision, lll_lock_elision)
38108         (lll_unlock_elision, lll_trylock_elision): Add.
38109         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38110         (pthread_mutex_t): Add lock elision support for s390.
38112 2014-05-14  Wilco  <wdijkstr@arm.com>
38114         * sysdeps/arm/fclrexcpt.c: Cleanup.
38115         * sysdeps/arm/fedisblxcpt.c: Cleanup.
38116         * sysdeps/arm/feenablxcpt.c: Cleanup.
38117         * sysdeps/arm/fegetenv.c: Cleanup.
38118         * sysdeps/arm/fegetexcept.c: Cleanup.
38119         * sysdeps/arm/fegetround.c: Cleanup.
38120         * sysdeps/arm/feholdexcpt.c: Cleanup.
38121         * sysdeps/arm/fesetenv.c: Cleanup.
38122         * sysdeps/arm/fesetround.c: Cleanup.
38123         * sysdeps/arm/feupdateenv.c: Cleanup.
38124         * sysdeps/arm/fgetexcptflg.c: Cleanup.
38125         * sysdeps/arm/fraiseexcpt.c: Cleanup.
38126         * sysdeps/arm/fsetexcptflg.c: Cleanup.
38127         * sysdeps/arm/ftestexcept.c: Cleanup.
38128         * sysdeps/arm/get-rounding-mode.h: Cleanup.
38129         * sysdeps/arm/setfpucw.c: Cleanup.
38131 2014-05-09  Will Newton  <will.newton@linaro.org>
38133         * sysdeps/arm/armv7/strcmp.S: New file.
38134         * NEWS: Mention addition of ARMv7 optimized strcmp.
38136 2014-05-08  Roland McGrath  <roland@hack.frob.com>
38138         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
38139         look for %.ac rather than %.in.
38141         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
38142         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
38143         * sysdeps/mach/hurd/configure: Regenerated.
38144         * sysdeps/unix/sysv/linux/configure: Regenerated.
38146         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
38148 2014-05-07  Steve Ellcey  <sellcey@mips.com>
38150         [BZ# 16922]
38151         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
38152         (LONG_SUB): Ditto.
38153         (PTR_SUB): Ditto.
38155 2014-05-07  Andreas Schwab  <schwab@suse.de>
38157         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
38158         when skipping over non-matching result from nscd.
38160 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
38162         [BZ #16876]
38163         * nptl/sockperf.c (client): Check socket return value.
38165         [BZ #16877]
38166         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
38167         nscd security class.
38169 2014-05-06  Roland McGrath  <roland@hack.frob.com>
38171         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
38172         * sysdeps/arm/unwind.h: ... here.
38174 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
38176         [BZ# 16916]
38177         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
38178         Define.
38180 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
38182         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
38183         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
38184         multiarch strncpy for PPC64.
38185         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
38186         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
38187         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
38188         multiarch optimizations.
38189         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
38190         (__libc_ifunc_impl_list): Likewise.
38191         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
38192         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
38193         multiarch stpncpy for PPC64.
38194         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
38195         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
38197 2014-05-06  Andreas Schwab  <schwab@suse.de>
38199         [BZ #16912]
38200         * gmon/mcount.c (_MCOUNT_DECL): Use
38201         atomic_compare_and_exchange_bool_acq instead of
38202         catomic_compare_and_exchange_bool_acq.
38204 2014-05-05  Roland McGrath  <roland@hack.frob.com>
38206         * elf/Makefile (others, install-bin): Remove pldd.
38207         (pldd-modules): Variable removed.
38208         ($(objpfx)pldd): Target removed.
38209         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
38210         (others, install-bin): Append pldd here.
38211         ($(objpfx)pldd): New target.
38213         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
38214         to 0, so the first #if test emitted later doesn't see it undefined.
38215         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
38216         * sysdeps/gnu/errlist.c: Regenerated.
38218 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38220         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
38221         [libc_hidden_builtin_def]: Define to empty value.
38222         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
38223         [libc_hidden_builtin_def]: Likewise.
38224         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
38225         [libc_hidden_builtin_def]: Likewise.
38226         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
38227         [libc_hidden_builtin_def]: Likewise.
38228         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
38229         __redirect_memcpy and define ifunc as default hidden symbol.
38230         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
38231         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
38233 2014-05-04  Adam Conrad  <adconrad@0c3.net>
38235         * locale/iso-4217.def: Reintroduce XDR currency.
38237 2014-05-04  Allan McRae  <allan@archlinux.org>
38239         * po/eo.po: Update Esperanto translation from translation project.
38241 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
38243         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
38244         and FEATURE_INDEX_MAX to 1.
38245         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
38247 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38249         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
38250         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
38251         * iconvdata/big5.c (ONE_DIRECTION): Define.
38252         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
38253         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
38254         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
38255         * iconvdata/cp932.c (ONE_DIRECTION): Define.
38256         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
38257         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
38258         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
38259         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
38260         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
38261         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
38262         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
38263         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
38264         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
38265         * iconvdata/gbk.c (ONE_DIRECTION): Define.
38266         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
38267         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
38268         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
38269         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
38270         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
38271         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
38272         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
38273         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
38274         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
38275         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
38276         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
38277         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
38278         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
38279         * iconvdata/iso646.c (ONE_DIRECTION): Define.
38280         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
38281         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
38282         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
38283         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
38284         * iconvdata/johab.c (ONE_DIRECTION): Define.
38285         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
38286         * iconvdata/sjis.c (ONE_DIRECTION): Define.
38287         * iconvdata/t.61.c (ONE_DIRECTION): Define.
38288         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
38289         * iconvdata/tscii.c (ONE_DIRECTION): Define.
38290         * iconvdata/uhc.c (ONE_DIRECTION): Define.
38291         * iconvdata/unicode.c (ONE_DIRECTION): Define.
38292         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
38293         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
38294         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
38296 2014-05-01  Roland McGrath  <roland@hack.frob.com>
38298         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
38299         (_IO_JUMPS_OFFSET): Define to 0.
38301         * nptl/sysdeps/pthread/bits/libc-lock.h
38302         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
38303         (__libc_lock_define_initialized_recursive): Always define using
38304         initializer.  Modern compilers treat uninitialized (implicit zero) and
38305         explicit zero initializers the same (i.e. put the datum in bss).
38307 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38309         * nscd/nscd-client.h: Include <string.h>.
38311 2014-05-01  David S. Miller  <davem@davemloft.net>
38313         [BZ #16885]
38314         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
38315         multiple zero bytes exist at the end of a string.
38316         Reported by Aurelien Jarno <aurelien@aurel32.net>
38318         * string/test-strcmp.c (check): Add explicit test for situations where
38319         there are multiple zero bytes after the first.
38321 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
38323         [BZ #16890]
38324         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
38325         when compiling wprintf.
38326         * stdio-common/tstdiomisc.c (t3): New function.
38327         (main): Call it.
38329 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38331         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
38332         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
38333         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
38334         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
38336 2014-05-01  Steve Ellcey  <sellcey@mips.com>
38338         * stdlib/longlong.h: Updated from GCC.
38340 2014-05-01  Will Newton  <will.newton@linaro.org>
38341             Bernard Ogden  <bernie.ogden@linaro.org>
38343         * NEWS: Update fixed bug list.
38345         [BZ #15119]
38346         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
38348 2014-04-30  David S. Miller  <davem@davemloft.net>
38350         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
38351         (libc_feholdexcept_setround_sparc_ctx): New function.
38352         (libc_fesetenv_sparc_ctx): Likewise.
38353         (libc_feupdateenv_sparc_ctx): Likewise.
38354         (libc_feholdsetround_sparc_ctx): Likewise.
38355         (libc_feholdexcept_setround_ctx): Define.
38356         (libc_feholdexcept_setroundf_ctx): Likewise.
38357         (libc_feholdexcept_setroundl_ctx): Likewise.
38358         (libc_fesetenv_ctx): Likewise.
38359         (libc_fesetenvf_ctx): Likewise.
38360         (libc_fesetenvl_ctx): Likewise.
38361         (libc_feupdateenv_ctx): Likewise.
38362         (libc_feupdateenvf_ctx): Likewise.
38363         (libc_feupdateenvl_ctx): Likewise.
38364         (libc_feresetround_ctx): Likewise.
38365         (libc_feresetroundf_ctx): Likewise.
38366         (libc_feresetroundl_ctx): Likewise.
38367         (libc_feholdsetround_ctx): Likewise.
38368         (libc_feholdsetroundf_ctx): Likewise.
38369         (libc_feholdsetroundl_ctx): Likewise.
38371         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38372         with __USE_GNU instead of XOPEN cpp guards.
38374         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
38375         0.
38377         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
38378         with XOPEN cpp guards.
38380 2014-04-30  Julian Brown  <julian@codesourcery.com>
38382         [BZ #16888]
38383         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
38384         handling.
38386 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
38388         [BZ #9894]
38389         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
38390         Change to 2.6.32.
38391         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
38392         * sysdeps/unix/sysv/linux/configure: Regenerated.
38393         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
38394         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
38395         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
38396         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
38397         * README: Update reference to required Linux kernel version.
38398         * manual/install.texi (Linux): Update reference to required Linux
38399         kernel headers version.
38400         * INSTALL: Regenerated.
38402         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
38403         header inclusion.
38404         [POSIX] (limits.h): Likewise.
38405         [POSIX] (math.h): Likewise.
38406         [POSIX] (sys/wait.h): Likewise.
38407         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
38408         function.
38409         [POSIX] (stddef.h): Do not allow header inclusion.
38411 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38413         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
38415 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
38417         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
38418         Return immediately after lll_futex_wake.
38420 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38422         [BZ #16791]
38423         * nscd/nscd-client.h (datahead_init_common): Initialize entire
38424         structure.
38425         (datahead_init_pos): Call datahead_init_common early.
38426         (datahead_init_neg): Likewise.
38428         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
38429         datahead_init_neg): New functions.
38430         * nscd/aicache.c (addhstaiX): Use them.
38431         * nscd/grpcache.c (cache_addgr): Likewise.
38432         * nscd/hstcache.c (cache_addhst): Likewise.
38433         * nscd/initgrcache.c (addinitgroupsX): Likewise.
38434         * nscd/netgroupcache.c (do_notfound): Likewise.
38435         (addgetnetgrentX): Likewise.
38436         (addinnetgrX): Likewise.
38437         * nscd/pwdcache.c (cache_addpw): Likewise.
38438         * nscd/servicescache.c (cache_addserv): Likewise.
38440 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
38441             Atsushi Onoe  <atsushi@onoe.org>
38443         [BZ #14308]
38444         [BZ #12994]
38445         [BZ #13651]
38446         * resolv/res_query.c (__libc_res_nsearch): Return if at least
38447         one response is valid.
38448         * resolv/res_send.c (send_dg): Check for validity of other
38449         response if the current response is a referral.
38451 2014-04-29  Steve Ellcey  <sellcey@mips.com>
38453         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
38455 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
38457         [BZ #16823]
38458         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
38459         Always divide by positive zero when computing -Inf result.
38460         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
38461         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
38463 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38465         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
38466         FPSCR if value do not change.
38467         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38468         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
38469         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38470         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
38471         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
38472         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
38473         function.
38475 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
38477         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
38478         * sysdeps/unix/sysv/linux/hppa: Move directory from
38479         ports/systeps/unix/sysv/linux/hppa.
38480         * README: Update listing for hppa-*-linux-gnu.
38482 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
38484         [BZ #16754]
38485         * manual/stdio.texi (Hook functions): Fix types of stream hook
38486         functions.
38487         [BZ #16854]
38488         * socket/sys/socket.h: Fix typo in comment.
38490 2014-04-28  Wilco  <wdijkstr@arm.com>
38492         * sysdeps/arm/fenv_private.h: New file.
38493         * sysdeps/arm/math_private.h: New file.
38494         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
38496 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
38498         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
38499         with __int128_t.
38500         (La_x86_64_retval): Likewise.
38502 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
38504         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
38505         fpsr if value didn't change.
38506         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
38507         to fpcr if value didn't change.
38508         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
38509         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
38510         fpsr or fpcr if value didn't change.
38511         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38512         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
38513         fpcr if value didn't change.
38514         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
38515         to fpsr if value didn't change.
38517 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
38519         * nptl/tst-sem3.c: Use test-skeleton.c
38520         (main): Rename to do_test.  Use return instead of
38521         exit.
38522         * nptl/tst-sem4.c: Use test-skeleton.c
38523         (main): Rename to do_test.
38525 2014-04-22  David S. Miller  <davem@davemloft.net>
38527         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
38528         (struct sigaction): New struct member __glibc_reserved0, change
38529         type of sa_flags to int.
38531 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
38533         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
38534         (COUNT_LEADING_ZEROS_0): Define for AArch64.
38536 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
38538         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
38539         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
38541 2014-04-22  Will Newton  <will.newton@linaro.org>
38542             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
38544         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
38545         (__longjmp): Add longjmp and longjmp_target SystemTap
38546         probes.
38547         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
38548         (__sigsetjmp): Add setjmp SystemTap probe.
38550 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
38552         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
38553         match manual order.
38555 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38557         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
38559         * sysdeps/powerpc/fpu/fenv_private.h
38560         (libc_feholdexcept_setroundl_ctx): Define to
38561         libc_feholdexcept_setround_ppc_ctx.
38562         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
38563         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
38564         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
38565         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
38567 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38569         * sysdeps/aarch64/math-tests.h: New file.
38571 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
38573         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
38574         New.
38575         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
38576         Check and set bit_AVX2_Usable.
38577         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
38578         macro.
38579         (bit_AVX2): Likewise.
38580         (index_AVX2_Usable): Likewise.
38581         (CPUID_AVX2): Likewise.
38582         (HAS_AVX2): Likewise.
38584 2014-04-17  Will Newton  <will.newton@linaro.org>
38586         * manual/setjmp.texi (System V contexts): Add note that
38587         calling setcontext on a context created by a call to a
38588         signal handler is undefined.  Update text to note that
38589         setcontext from a signal handler is possible but not
38590         recommended.
38592         [BZ #16629]
38593         * stdlib/tst-setcontext.c: Include signal.h.
38594         (main): Check that the signal stack before and
38595         after swapcontext is the same.
38597         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
38598         Re-implement to restore registers in user code and avoid
38599         rt_sigreturn system call.
38601 2014-04-17  Wilco  <wdijkstr@arm.com>
38603         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
38604         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
38605         * math/test-fenv.c: Skip exception trap tests on targets which only
38606         support non-stop mode.
38608 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
38609             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38611         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
38612         (libc_feholdsetround_aarch64_ctx)
38613         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
38614         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
38615         (libc_feresetround_ctx, libc_feresetroundf_ctx)
38616         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
38617         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
38618         (libc_feresetround_noexl_ctx): Define.
38620 2014-04-16  Richard Henderson  <rth@redhat.com>
38622         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
38624         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
38625         unwind tables.
38627         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
38628         const from the non-libc, non-ldso copy.
38630         * sysdeps/alpha/libm-test-ulps: Regenerate.
38632 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
38633             Wilco Dijkstra  <wilco.dijkstra@arm.com>
38635         * sysdeps/aarch64/fpu/math_private.h: New file.
38637 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38639         * sysdeps/aarch64/libm-test-ulps: Regenerate.
38641 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
38643         [BZ #16275]
38644         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
38645         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
38646         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
38647         Intel MPX bound registers before _dl_profile_fixup.
38648         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
38649         registers after _dl_profile_fixup.  Save and restore bound
38650         registers bnd0/bnd1 when calling _dl_call_pltexit.
38651         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
38652         (LR_BND_OFFSET): Likewise.
38653         (LRV_BND0_OFFSET): Likewise.
38654         (LRV_BND1_OFFSET): Likewise.
38656 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38658         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
38659         to...
38660         * sysdeps/mach/hurd/i386/tls.h: ... here.
38661         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
38662         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
38663         fields.
38665 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38667         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
38669 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38671         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
38673 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
38675         [BZ #14770]
38676         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
38677         * sysdeps/s390/configure: Regenerate.
38679         [BZ #16824]
38680         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
38681         Set round-to-nearest internally to reduce error accumulation.
38683 2014-04-16  Alan Modra  <amodra@gmail.com>
38685         [BZ #16740]
38686         [BZ #16619]
38687         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
38688         * math/libm-test.inc (frexp_test_data): Add tests.
38689         * NEWS: Update fixed bug list.
38691 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
38693         * benchtests/Makefile: Depend on libraries in build directory.
38694         (bench-math): Separate out math tests.
38695         (bench-pthread): Separate out pthread tests.
38696         (bench): Include math and pthread tests.
38698 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
38700         [BZ #16831]
38701         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
38702         _dl_debug_initialize.
38704         * configure.ac: Remove SELinux header check.
38705         * configure: Regenerate.
38706         * nscd/selinux.c (perms): Array of const char* to permission names.
38707         (nscd_request_avc_has_perm): Call security_deny_unknown to find
38708         default policy. Call string_to_security_class and string_to_av_perm to
38709         translate strings. Enforce default policy and call avs_has_perm with
38710         results of translated strings.
38712 2014-04-13  David S. Miller  <davem@davemloft.net>
38714         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38716 2014-04-12  Allan McRae  <allan@archlinux.org>
38718         [BZ #16838]
38719         * manual/string.texi (Collation Functions): Fix qsort argument
38720         order in example.
38721         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
38723 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
38725         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
38726         Make the test a no-op if there are no exceptions defined.
38728 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
38730         * elf/Makefile (tests): make tst-dlopen-aout conditional on
38731         enable-hardcoded-path-in-tests
38733 2014-04-11  Will Newton  <will.newton@linaro.org>
38735         * benchtests/Makefile (extra-objs): Add json-lib.o.
38736         (bench-func): Tidy up JSON output.
38737         * benchtests/bench-skeleton.c: Include json-lib.h.
38738         (main): Use JSON library functions to do output of
38739         benchmark results.
38740         * benchtests/bench-timing-type.c (main): Output the
38741         timing type simply, leaving formatting to the user.
38742         * benchtests/json-lib.c: New file.
38743         * benchtests/json-lib.h: Likewise.
38745 2014-04-11  Torvald Riegel  <triegel@redhat.com>
38747         [BZ #15215]
38748         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
38749         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
38750         memory barriers.  Add comments.
38751         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
38752         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
38753         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
38754         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
38755         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
38756         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
38758 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
38760         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
38761         * sysdeps/s390/s390-64/configure.ac: ... this ...
38762         * sysdeps/s390/configure.ac: ... to here.
38763         * sysdeps/s390/s390-32/configure: Delete file.
38764         * sysdeps/s390/s390-64/configure: Delete file.
38765         * sysdeps/s390/configure: Regenerate.
38767 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
38769         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
38771 2014-04-11  Will Newton  <will.newton@linaro.org>
38773         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
38774         to zero if it is not defined elsewhere.  (mtrim): Test
38775         the value of MALLOC_DEBUG with #if rather than #ifdef.
38777 2014-04-10 Torvald Riegel  <triegel@redhat.com>
38779         * benchtests/pthread_once-inputs: New file.
38780         * benchtests/pthread_once-source.c: New file.
38781         * benchtests/README: Update documentation.
38783 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
38784             H.J. Lu  <hongjiu.lu@intel.com>
38786         [BZ #16275]
38787         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
38788         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
38789         * sysdeps/x86_64/configure: Regenerated.
38790         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
38791         macro.
38792         (REGISTER_SAVE_RAX): Likewise.
38793         (REGISTER_SAVE_RCX): Likewise.
38794         (REGISTER_SAVE_RDX): Likewise.
38795         (REGISTER_SAVE_RSI): Likewise.
38796         (REGISTER_SAVE_RDI): Likewise.
38797         (REGISTER_SAVE_R8): Likewise.
38798         (REGISTER_SAVE_R9): Likewise.
38799         (REGISTER_SAVE_BND0): Likewise.
38800         (REGISTER_SAVE_BND1): Likewise.
38801         (REGISTER_SAVE_BND2): Likewise.
38802         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
38803         bound registers when calling _dl_fixup.
38805 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38807         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
38808         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
38809         of its definition.
38810         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
38811         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
38812         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
38813         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
38814         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
38815         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
38816         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
38818 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
38820         [BZ #15514]
38821         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
38822         pathconf(_PC_NAME_MAX).
38824 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38826         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
38827         Remove macro usage.
38828         (__PTHREAD_SPINS): Move definition to ...
38829         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
38830         (__PTHREAD_SPINS): ... here.
38831         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
38832         (__PTHREAD_SPIN): Likewise.
38833         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
38834         (__PTHREAD_SPIN): Likewise.
38835         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
38836         (__PTHREAD_SPIN): Likewise.
38837         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
38838         (__PTHREAD_SPIN): Likewise.
38839         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
38840         (__PTHREAD_SPIN): Likewise.
38841         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
38842         (__PTHREAD_SPIN): Likewise.
38843         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
38844         (__PTHREAD_SPIN): Likewise.
38845         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
38846         (__PTHREAD_SPIN): Likewise.
38847         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
38848         (__PTHREAD_SPIN): Likewise.
38849         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
38850         (__PTHREAD_SPIN): Likewise.
38851         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
38852         (__PTHREAD_SPIN): Likewise.
38853         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
38854         (__PTHREAD_SPIN): Likewise.
38856         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
38857         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
38858         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
38859         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
38860         imply folder.
38861         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
38862         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
38863         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
38864         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
38865         correct imply path.
38866         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
38867         strlen symbol for non multi-arch builds.
38868         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
38869         missing hidden_def and weak_alias.
38871 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
38873         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
38875 2014-04-07  Will Newton  <will.newton@linaro.org>
38877         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
38878         and contents.  [!_LIBC] Remove #ifndef and contents.
38879         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
38880         * string/memccpy.c (__memccpy): Use ANSI prototype.
38881         * string/memfrob.c (memfrob): Likewise.
38882         * string/strcoll.c (STRCOLL): Likewise.
38883         * string/strlen.c (strlen): Likewise.
38884         * string/strtok.c (STRTOK): Likewise.
38885         * string/strcat.c: Remove unused #include of memcopy.h.
38886         (strcat): Use ANSI prototype.
38887         * string/strchr.c: Remove unused #include of memcopy.h.
38888         (strchr): Use ANSI prototype.
38889         * string/strcmp.c: Remove unused #include of memcopy.h.
38890         (strcmp): Use ANSI prototype.
38891         * string/strcpy.c: Remove unused #include of memcopy.h.
38892         (strcpy): Use ANSI prototype.
38894 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38896         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
38897         * config.make.in (config-extra-cppflags): Set it from
38898         libc_extra_cppflags.
38899         * configure.ac (libc_extra_cflags): Make it accumulate over
38900         configure fragments.
38901         (libc_extra_cppflags): New flag.
38902         * configure. Regenerate.
38903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
38904         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
38905         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
38906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
38908         [BZ #16815]
38909         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
38910         result for FE_DOWNWARD rounding mode.
38911         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
38912         Likewise.
38913         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38915 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
38917         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
38918         in function argument name.
38920 2014-04-03  David Svoboda  <svoboda@cert.org>
38922         [BZ #5666]
38923         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
38924         explicitly.
38926 2014-04-03  Roland McGrath  <roland@hack.frob.com>
38928         * elf/dl-unmap-segments.h: New file.
38929         * sysdeps/generic/ldsodefs.h
38930         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
38931         * elf/dl-close.c: Include <dl-unmap-segments.h>.
38932         * elf/dl-fptr.c: Likewise.
38933         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
38934         * sysdeps/aarch64/tlsdesc.c: Likewise.
38935         * sysdeps/arm/tlsdesc.c: Likewise.
38936         * sysdeps/i386/tlsdesc.c: Likewise.
38937         * sysdeps/tile/dl-runtime.c: Likewise.
38938         * sysdeps/x86_64/tlsdesc.c: Likewise.
38939         * elf/dl-load.h: New file.
38940         * elf/dl-load.c: Include it.
38941         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
38942         Macros moved to dl-load.h.
38943         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
38944         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
38945         Use _dl_unmap_segments in place of __munmap.
38946         Break out segment-mapping loop into ...
38947         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
38949 2014-04-03  Will Newton  <will.newton@linaro.org>
38951         * elf/dl-lookup.c (do_lookup_x): Remove comment
38952         referring to nested function and move variable
38953         declarations down to before first use.
38955 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
38957         [BZ #16799]
38958         [BZ #16800]
38959         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
38960         with 0 numerator.
38961         * math/s_catanf.c (__catanf): Likewise.
38962         * math/s_catanh.c (__catanh): Likewise.
38963         * math/s_catanhf.c (__catanhf): Likewise.
38964         * math/s_catanhl.c (__catanhl): Likewise.
38965         * math/s_catanl.c (__catanl): Likewise.
38966         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
38967         by positive zero when computing -Inf result.
38968         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
38969         (catanh_test): Likewise.
38970         * sysdeps/i386/fpu/libm-test-ulps: Update.
38971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38973         [BZ #16789]
38974         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
38975         instead of using underflowing value in computing result.
38976         * math/s_clog10.c (__clog10): Likewise.
38977         * math/s_clog10f.c (__clog10f): Likewise.
38978         * math/s_clog10l.c (__clog10l): Likewise.
38979         * math/s_clogf.c (__clogf): Likewise.
38980         * math/s_clogl.c (__clogl): Likewise.
38981         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
38982         (clog10_test): Likewise.
38983         * sysdeps/i386/fpu/libm-test-ulps: Update.
38984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38986 2014-04-02  Alan Modra  <amodra@gmail.com>
38988         [BZ #16739]
38989         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
38990         output when value is near a power of two.  Use int64_t for lx and
38991         remove casts.  Use decimal rather than hex exponent constants.
38992         Don't use long double multiplication when double will suffice.
38993         * math/libm-test.inc (nextafter_test_data): Add tests.
38994         * NEWS: Add 16739 and 16786 to bug list.
38996         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
38998         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
39000 2014-04-01  Will Newton  <will.newton@linaro.org>
39002         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
39003         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
39005 2014-04-01  Florian Weimer  <fweimer@redhat.com>
39007         [BZ #13347]
39008         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
39009         * nptl/tst-setuid2.c: New file.
39010         * nptl/Makefile (xtests): Add tst-setuid2.
39012 2014-04-01  Alan Modra  <amodra@gmail.com>
39014         [BZ #16786]
39015         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
39017 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39019         [BZ #6803]
39020         [BZ #6804]
39021         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
39022         set errno as appropriate.
39023         * math/w_scalbf.c (__scalbf): Likewise.
39024         * math/w_scalbl.c (__scalbl): Likewise.
39025         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
39026         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
39027         * math/libm-test.inc (scalb_test_data): Add errno expectations.
39028         Add more NaN tests.
39030         [BZ #16349]
39031         * math/w_atan2.c: Include <errno.h>.
39032         (__atan2): Set errno for result underflowing to zero.
39033         * math/w_atan2f.c: Include <errno.h>.
39034         (__atan2f): Set errno for result underflowing to zero.
39035         * math/w_atan2l.c: Include <errno.h>.
39036         (__atan2l): Set errno for result underflowing to zero.
39037         * math/auto-libm-test-in: Don't allow missing errno for some atan2
39038         tests.
39039         * math/auto-libm-test-out: Regenerated.
39041 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39043         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
39044         Encode instruction correctly in little endian.
39045         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
39046         Likewise.
39047         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
39048         Likewise.
39049         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
39050         Likewise.
39051         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
39052         Likewise.
39054 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
39056         [BZ #9894]
39057         * sysdeps/unix/sysv/linux/kernel-features.h
39058         [__sparc__ && !__arch64__ && !__sparc_v9__]
39059         (__ASSUME_SET_ROBUST_LIST): Do not define.
39060         [__sparc__ && !__arch64__ && !__sparc_v9__]
39061         (__ASSUME_FUTEX_LOCK_PI): Likewise.
39062         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
39063         Likewise.
39064         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39065         (__ASSUME_FUTEX_LOCK_PI): Undefine.
39066         (__ASSUME_REQUEUE_PI): Likewise.
39067         (__ASSUME_SET_ROBUST_LIST): Likewise.
39068         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39069         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
39070         Undefine.
39071         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39072         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
39073         Likewise.
39074         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
39075         Likewise.
39076         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
39077         Likewise.
39078         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39079         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
39080         Undefine.
39081         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
39082         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
39083         Likewise.
39085         [BZ #16648]
39086         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39087         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
39088         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
39090 2014-03-31  Will Newton  <will.newton@linaro.org>
39092         * benchtests/Makefile (bench): Add ffs and ffsll to list
39093         of tests.
39094         * benchtests/ffs-inputs: New file.
39095         * benchtests/ffsll-inputs: Likewise.
39097 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
39099         [BZ #16770]
39100         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
39101         too large before casting to int.
39102         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
39103         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
39104         * math/libm-test.inc (scalb_test_data): Add more tests.
39106 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
39108         * benchtests/Makefile (DETAILED_OPT): New make option.
39109         (bench-func): Run benchmark program with -d if DETAILED_OPT is
39110         set.
39111         * benchtests/bench-skeleton.c: Include stdbool.h.
39112         (main): Store and print timings per input.
39113         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
39114         member to each argument value.
39115         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
39116         (_print_arg_data): Initialize per-input timing to 0.
39118         * benchtests/Makefile (timing-type): New binary.
39119         (bench-clean): Also remove bench-timing-type.
39120         (bench): New target for timing-type.
39121         (bench-func): Print output in JSON format.
39122         * benchtests/bench-skeleton.c (main): Print output in JSON
39123         format.
39124         * benchtests/bench-timing-type.c: New file.
39125         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
39126         (TIMING_PRINT_STATS): Remove.
39127         * benchtests/scripts/bench.py (_print_arg_data): Store variant
39128         name separately.
39130         * benchtests/bench-modf.c: Remove.
39131         * benchtests/modf-inputs: New inputs file.
39133 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
39135         [BZ #16362]
39136         * math/s_clog10.c (M_PI_LOG10E): New macro.
39137         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
39138         imaginary parts are 0.
39139         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
39140         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
39141         imaginary parts are 0.
39142         * math/s_clog10l.c (M_PI_LOG10El): New macro.
39143         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
39144         imaginary parts are 0.
39145         * math/libm-test.inc (clog10_test_data): Update expected results
39146         for when real and imaginary parts are 0.
39148 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
39150         * elf/dl-load.c: Finish conversion of __builtin_expect into
39151         __glibc_{un}likely.
39153 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
39155         [BZ #16348]
39156         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
39157         1+x for argument with exponent below -67.
39158         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
39159         Likewise.
39160         * math/auto-libm-test-in: Add more tests of exp.
39161         * math/auto-libm-test-out: Regenerated.
39163 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39165         [BZ #16759]
39166         * inet/getnetgrent_r.c (get_nonempty_val): New function.
39167         (nscd_getnetgrent): Use it.
39169         [BZ #16760]
39170         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
39171         of stpcpy.
39173 2014-03-27  Andi Kleen  <ak@linux.intel.com>
39175         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
39176         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39177         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39178         (lll_robust_unlock): Remove out of line section. Use cfi
39179         intrinsics.
39180         (LLL_STUB_UNWIND_INFO*): Remove.
39181         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
39182         (lll_robust_lock, lll_cond_lock, lll_timedlock)
39183         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
39184         (lll_robust_unlock): Remove out of line section. Use cfi
39185         intrinsics.
39186         (LLL_STUB_UNWIND_INFO*): Remove.
39188 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39190         [BZ #16758]
39191         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
39192         blank values.
39194 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
39196         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
39198 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
39200         [BZ #16198]
39201         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
39202         fnstenv.
39203         * math/test-fenv-preserve.c: New file.
39204         * math/Makefile (tests): Add test-fenv-preserve.
39206 2014-03-26  Will Newton <will.newton@linaro.org>
39208         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
39210 2014-03-25  Roland McGrath  <roland@hack.frob.com>
39212         * scripts/versionlist.awk: Partition the version sets and emit all
39213         GLIBC_* (sorted) before all others (sorted).
39215 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39217         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
39218         GLIBC_2.2.5 version.
39220 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39222         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
39223         calls.
39225         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
39226         previous change.
39228         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39230 2014-03-25  Andreas Schwab  <schwab@suse.de>
39232         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
39233         label to be used after in6ailist is initialized.
39235 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39237         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
39238         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39240 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
39242         [BZ #16357]
39243         [BZ #16599]
39244         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
39245         min_plus_half.
39246         (fp_formats): Update initializers.
39247         (init_fp_formats): Initialize new field.
39248         (output_for_one_input_case): Allow underflow for results up to
39249         min_plus_half.
39250         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
39251         * math/auto-libm-test-in: Don't mark some underflows from asin and
39252         atanh as spurious.
39253         * math/auto-libm-test-out: Regenerated.
39254         * sysdeps/i386/fpu/libm-test-ulps: Update.
39255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39257 2014-03-25  Andreas Schwab  <schwab@suse.de>
39259         * libio/Makefile (tst-ftell-partial-wide-ENV)
39260         (tst-ftell-active-handler-ENV): Define.
39262 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
39264         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
39266 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39268         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
39270 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39272         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
39273         * sysdeps/x86_64/fpu/multiarch/e_exp.c
39274         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
39276 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
39278         [BZ #16634]
39279         * elf/dl-load.c (open_verify): Add mode parameter.
39280         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
39281         (open_path): Change from boolean 'secure' to complete flag 'mode'
39282         (_dl_map_object): Adjust.
39283         * elf/Makefile (tests): Add tst-dlopen-aout.
39284         * elf/tst-dlopen-aout.c: New test.
39286 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
39288         [BZ #16714]
39289         * sysdeps/unix/sysv/linux/s390/bits/stat.h
39290         (struct stat): Rename member pad0 to __glibc_reserved0.
39292         [BZ #16712]
39293         * sysdeps/s390/s390-32/bits/wordsize.h
39294         (__WORDSIZE32_SIZE_ULONG): New define.
39295         * sysdeps/s390/s390-64/bits/wordsize.h
39296         (__WORDSIZE32_SIZE_ULONG): Likewise.
39297         * sysdeps/generic/stdint.h (SIZE_MAX):
39298         Define as UL if __WORDSIZE32_SIZE_ULONG.
39300         [BZ #16713]
39301         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
39302         (__glibc_reserved0): New variable.
39303         (sa_flags): Change type to int.
39305         * posix/Makefile (before-compile): Use += before-compile instead
39306         of a :=.
39308         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
39309         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
39311 2014-03-20  Andreas Schwab  <schwab@suse.de>
39313         [BZ #16743]
39314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
39315         non-matching result from nscd.
39317 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
39319         * scripts/bench.py: Moved to ...
39320         * benchtests/scripts/bench.py: ... here.
39321         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
39323 2014-03-24  Andreas Schwab  <schwab@suse.de>
39325         [BZ #16002]
39326         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
39327         alloca_account and account alloca use for struct in6ailist.
39329 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
39331         [BZ #16284]
39332         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
39333         rounding mode to recompute results that overflow to infinity or
39334         underflow to zero.
39335         * math/auto-libm-test-in: Don't mark tests as expected to fail for
39336         bug 16284.
39337         * math/auto-libm-test-out: Regenerated.
39338         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
39339         (ccosh_test): Likewise.
39340         (csin_test_data): Use plus_oflow.
39341         (csin_test): Use ALL_RM_TEST.
39342         (csinh_test_data): Use plus_oflow.
39343         (csinh_test): Use ALL_RM_TEST.
39344         * sysdeps/i386/fpu/libm-test-ulps: Update.
39345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39347 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
39349         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
39350         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
39351         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
39353         [BZ #16731]
39354         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
39355         when x - 1 is zero.
39356         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
39357         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
39358         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39359         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
39360         argument is 1.
39361         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
39362         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
39363         zero.
39364         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
39365         * sysdeps/i386/fpu/libm-test-ulps: Update.
39366         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39368 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39370         * scripts/bench.pl: Remove file.
39371         * scripts/bench.py: New benchmark script.
39372         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
39373         * benchtests/README: Mention python dependency.
39374         * scripts/pylintrc: New file.
39375         * scripts/pylint: New file.
39377         * bits/mathdef.h: Use #ifdef instead of #if.
39378         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
39379         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39380         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
39381         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39382         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
39383         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
39385 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39386             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
39388         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
39389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
39390         and strpbrk-ppc64 objects.
39391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39392         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
39393         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
39394         multiarch strpbrk for POWER7.
39395         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
39396         multiarch strpbrk for PPC64.
39397         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
39398         ifunc selector.
39399         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
39400         strpbrk for POWER7.
39402 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39404         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
39405         (atan_test): Likewise.
39406         (atanh_test_data): Use NO_TEST_INLINE for two tests.
39407         (atanh_test): Use ALL_RM_TEST.
39408         (atan2_test_data): Likewise.
39409         (cabs_test): Likewise.
39410         (cacosh_test): Likewise.
39411         (carg_test): Likewise.
39412         (casin_test): Likewise.
39413         (casinh_test): Likewise.
39414         (cbrt_test): Likewise.
39415         (csqrt_test): Likewise.
39416         (erf_test): Likewise.
39417         (erfc_test): Likewise.
39418         (pow10_test): Likewise.
39419         (exp2_test): Likewise.
39420         (hypot_test): Likewise.
39421         (j0_test): Likewise.
39422         (j1_test): Likewise.
39423         (lgamma_test): Likewise.
39424         (gamma_test): Likewise.
39425         (sincos_test): Likewise.
39426         (tanh_test): Likewise.
39427         (y0_test): Likewise.
39428         (y1_test): Likewise.
39429         * sysdeps/i386/fpu/libm-test-ulps: Update.
39430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39432 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39434         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
39435         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
39436         and strcspn-ppc64 objects.
39437         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39438         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
39439         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
39440         multiarch strcspn for POWER7.
39441         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
39442         multiarch strcspn for PPC64.
39443         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
39444         ifunc selector.
39445         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
39446         strcspn for POWER7.
39448 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
39450         * math/gen-libm-test.pl (generate_testfile): Expect only function
39451         name as argument to AUTO_TESTS_* and pass results for all rounding
39452         modes to parse_args.
39453         (parse_auto_input): Separate inputs of automatic tests from
39454         outputs before storing in %auto_tests.
39455         * math/libm-test.inc (acos_test_data): Update call to
39456         AUTO_TESTS_f_f.
39457         (acos_test): Use ALL_RM_TEST.
39458         (acos_tonearest_test_data): Remove.
39459         (acos_test_tonearest): Likewise.
39460         (acos_towardzero_test_data): Likewise.
39461         (acos_test_towardzero): Likewise.
39462         (acos_downward_test_data): Likewise.
39463         (acos_test_downward): Likewise.
39464         (acos_upward_test_data): Likewise.
39465         (acos_test_upward): Likewise.
39466         (acosh_test_data): Update call to AUTO_TESTS_f_f.
39467         (asin_test_data): Likewise.
39468         (asin_test): Use ALL_RM_TEST.
39469         (asin_tonearest_test_data): Remove.
39470         (asin_test_tonearest): Likewise.
39471         (asin_towardzero_test_data): Likewise.
39472         (asin_test_towardzero): Likewise.
39473         (asin_downward_test_data): Likewise.
39474         (asin_test_downward): Likewise.
39475         (asin_upward_test_data): Likewise.
39476         (asin_test_upward): Likewise.
39477         (asinh_test_data): Update call to AUTO_TESTS_f_f.
39478         (atan_test_data): Likewise.
39479         (atanh_test_data): Likewise.
39480         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
39481         (cabs_test_data): Update call to AUTO_TESTS_c_f.
39482         (carg_test_data): Likewise.
39483         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
39484         (ccos_test_data): Update call to AUTO_TESTS_c_c.
39485         (ccosh_test_data): Likewise.
39486         (cexp_test_data): Likewise.
39487         (clog_test_data): Likewise.
39488         (clog10_test_data): Likewise.
39489         (cos_test_data): Update call to AUTO_TESTS_f_f.
39490         (cos_test): Use ALL_RM_TEST.
39491         (cos_tonearest_test_data): Remove.
39492         (cos_test_tonearest): Likewise.
39493         (cos_towardzero_test_data): Likewise.
39494         (cos_test_towardzero): Likewise.
39495         (cos_downward_test_data): Likewise.
39496         (cos_test_downward): Likewise.
39497         (cos_upward_test_data): Likewise.
39498         (cos_test_upward): Likewise.
39499         (cosh_test_data): Update call to AUTO_TESTS_f_f.
39500         (cosh_test): Use ALL_RM_TEST.
39501         (cosh_tonearest_test_data): Remove.
39502         (cosh_test_tonearest): Likewise.
39503         (cosh_towardzero_test_data): Likewise.
39504         (cosh_test_towardzero): Likewise.
39505         (cosh_downward_test_data): Likewise.
39506         (cosh_test_downward): Likewise.
39507         (cosh_upward_test_data): Likewise.
39508         (cosh_test_upward): Likewise.
39509         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
39510         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
39511         (ctan_test_data): Likewise.
39512         (ctan_test): Use ALL_RM_TEST.
39513         (ctan_tonearest_test_data): Remove.
39514         (ctan_test_tonearest): Likewise.
39515         (ctan_towardzero_test_data): Likewise.
39516         (ctan_test_towardzero): Likewise.
39517         (ctan_downward_test_data): Likewise.
39518         (ctan_test_downward): Likewise.
39519         (ctan_upward_test_data): Likewise.
39520         (ctan_test_upward): Likewise.
39521         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
39522         (ctanh_test): Use ALL_RM_TEST.
39523         (ctanh_tonearest_test_data): Remove.
39524         (ctanh_test_tonearest): Likewise.
39525         (ctanh_towardzero_test_data): Likewise.
39526         (ctanh_test_towardzero): Likewise.
39527         (ctanh_downward_test_data): Likewise.
39528         (ctanh_test_downward): Likewise.
39529         (ctanh_upward_test_data): Likewise.
39530         (ctanh_test_upward): Likewise.
39531         (erf_test_data): Update call to AUTO_TESTS_f_f.
39532         (erfc_test_data): Likewise.
39533         (exp_test_data): Likewise.
39534         (exp_test): Use ALL_RM_TEST.
39535         (exp_tonearest_test_data): Remove.
39536         (exp_test_tonearest): Likewise.
39537         (exp_towardzero_test_data): Likewise.
39538         (exp_test_towardzero): Likewise.
39539         (exp_downward_test_data): Likewise.
39540         (exp_test_downward): Likewise.
39541         (exp_upward_test_data): Likewise.
39542         (exp_test_upward): Likewise.
39543         (exp10_test_data): Update call to AUTO_TESTS_f_f.
39544         (exp10_test): Use ALL_RM_TEST.
39545         (exp10_tonearest_test_data): Remove.
39546         (exp10_test_tonearest): Likewise.
39547         (exp10_towardzero_test_data): Likewise.
39548         (exp10_test_towardzero): Likewise.
39549         (exp10_downward_test_data): Likewise.
39550         (exp10_test_downward): Likewise.
39551         (exp10_upward_test_data): Likewise.
39552         (exp10_test_upward): Likewise.
39553         (exp2_test_data): Update call to AUTO_TESTS_f_f.
39554         (expm1_test_data): Likewise.
39555         (expm1_test): Use ALL_RM_TEST.
39556         (expm1_tonearest_test_data): Remove.
39557         (expm1_test_tonearest): Likewise.
39558         (expm1_towardzero_test_data): Likewise.
39559         (expm1_test_towardzero): Likewise.
39560         (expm1_downward_test_data): Likewise.
39561         (expm1_test_downward): Likewise.
39562         (expm1_upward_test_data): Likewise.
39563         (expm1_test_upward): Likewise.
39564         (fma_test_data): Update call to AUTO_TESTS_fff_f.
39565         (fma_test): Use ALL_RM_TEST.
39566         (fma_towardzero_test_data): Remove.
39567         (fma_test_towardzero): Likewise.
39568         (fma_downward_test_data): Likewise.
39569         (fma_test_downward): Likewise.
39570         (fma_upward_test_data): Likewise.
39571         (fma_test_upward): Likewise.
39572         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
39573         (j0_test_data): Update call to AUTO_TESTS_f_f.
39574         (j1_test_data): Likewise.
39575         (jn_test_data): Update call to AUTO_TESTS_if_f.
39576         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
39577         (log_test_data): Update call to AUTO_TESTS_f_f.
39578         (log10_test_data): Likewise.
39579         (log1p_test_data): Likewise.
39580         (log2_test_data): Likewise.
39581         (pow_test_data): Update call to AUTO_TESTS_ff_f.
39582         (pow_tonearest_test_data): Likewise.
39583         (sin_test_data): Update call to AUTO_TESTS_f_f.
39584         (sin_test): Use ALL_RM_TEST.
39585         (sin_tonearest_test_data): Remove.
39586         (sin_test_tonearest): Likewise.
39587         (sin_towardzero_test_data): Likewise.
39588         (sin_test_towardzero): Likewise.
39589         (sin_downward_test_data): Likewise.
39590         (sin_test_downward): Likewise.
39591         (sin_upward_test_data): Likewise.
39592         (sin_test_upward): Likewise.
39593         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
39594         (sinh_test_data): Update call to AUTO_TESTS_f_f.
39595         (sinh_test): Use ALL_RM_TEST.
39596         (sinh_tonearest_test_data): Remove.
39597         (sinh_test_tonearest): Likewise.
39598         (sinh_towardzero_test_data): Likewise.
39599         (sinh_test_towardzero): Likewise.
39600         (sinh_downward_test_data): Likewise.
39601         (sinh_test_downward): Likewise.
39602         (sinh_upward_test_data): Likewise.
39603         (sinh_test_upward): Likewise.
39604         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
39605         (sqrt_test): Use ALL_RM_TEST.
39606         (sqrt_tonearest_test_data): Remove.
39607         (sqrt_test_tonearest): Likewise.
39608         (sqrt_towardzero_test_data): Likewise.
39609         (sqrt_test_towardzero): Likewise.
39610         (sqrt_downward_test_data): Likewise.
39611         (sqrt_test_downward): Likewise.
39612         (sqrt_upward_test_data): Likewise.
39613         (sqrt_test_upward): Likewise.
39614         (tan_test_data): Update call to AUTO_TESTS_f_f.
39615         (tan_test): Use ALL_RM_TEST.
39616         (tan_tonearest_test_data): Remove.
39617         (tan_test_tonearest): Likewise.
39618         (tan_towardzero_test_data): Likewise.
39619         (tan_test_towardzero): Likewise.
39620         (tan_downward_test_data): Likewise.
39621         (tan_test_downward): Likewise.
39622         (tan_upward_test_data): Likewise.
39623         (tan_test_upward): Likewise.
39624         (tanh_test_data): Update call to AUTO_TESTS_f_f.
39625         (tgamma_test_data): Likewise.
39626         (y0_test_data): Likewise.
39627         (y1_test_data): Likewise.
39628         (yn_test_data): Update call to AUTO_TESTS_if_f.
39629         (main): Do not call removed functions.
39631 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39633         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
39634         (ldexp_test_data): Remove.
39635         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
39636         scalbn_test_data.
39637         (scalb_test): Use ALL_RM_TEST.
39639 2014-03-19  Andreas Schwab  <schwab@suse.de>
39641         * nscd/nscd.service: Also invalidate netgroup cache on reload.
39643 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
39645         [BZ #16649]
39646         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39647         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
39648         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
39649         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39650         (__ASSUME_PREADV): Undefine.
39651         (__ASSUME_PWRITEV): Likewise.
39653 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39655         * bits/mman-linux.h: Add comment about non-Linux use.
39656         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
39657         bits/mman-linux.h resting place.
39659         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
39660         * bits/mman-linux.h: ... here.
39662 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39664         * conform/conformtest.pl: Add standard definition when calling C
39665         preprocessor on data files.
39666         (checknamespace): Remove unused variable.
39668 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39670         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
39671         minus_oflow, plus_uflow and minus_uflow in expected results.
39672         * math/libm-test.inc (scalbn_test_data): Add more tests of
39673         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
39674         minus_uflow.
39675         (scalbn_test): Use ALL_RM_TEST.
39676         (scalbln_test_data): Add more tests of negative arguments.  Use
39677         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
39678         (scalbln_test): Use ALL_RM_TEST.
39680 2014-03-18  Roland McGrath  <roland@hack.frob.com>
39682         * scripts/abilist.awk: Ignore symbols marked with .hidden.
39684 2014-03-18  Will Newton  <will.newton@linaro.org>
39686         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
39687         inaccurate comment.
39689 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
39691         * Makerules [!subdir] (check-abi): Exit with error status if a
39692         test failed.
39694 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39696         * math/libm-test.inc (nearbyint_test_data): Include all tests used
39697         for rint.  Include results for all rounding modes.
39698         (nearbyint_test): Use ALL_RM_TEST.
39699         (rint_test_data): Include all tests used for nearbyint.
39701 2014-03-17  Will Newton  <will.newton@linaro.org>
39703         * nptl/sysdeps/pthread/pthread.h: Revert previous
39704         change.
39706         * sysdeps/generic/ldsodefs.h: Revert previous
39707         change.
39709         * libio/genops.c: Revert previous change.
39710         * libio/libioP.h: Likewise.
39711         * stdio-common/vfprintf.c: Likewise.
39713         * sysdeps/generic/math_private.h: Revert previous
39714         change.
39716         * sysdeps/generic/math_private.h: Check whether
39717         HAVE_RM_CTX is defined with #ifdef rather
39718         than #if.
39720         * argp/argp-fmtstream.h: Check whether
39721         __STRICT_ANSI__ is defined with #ifdef rather
39722         than #if.
39723         * argp/argp.h: Likewise.
39725         * libio/genops.c: Check whether
39726         _IO_JUMPS_OFFSET is defined with #ifdef rather
39727         than #if.
39728         * libio/libioP.h: Likewise.
39729         * stdio-common/vfprintf.c: Likewise.
39731         * sysdeps/generic/ldsodefs.h: Check whether
39732         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
39733         than #if.
39735         * nptl/sysdeps/pthread/pthread.h: Check
39736         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
39737         its value.
39739 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
39741         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
39742         setting O_APPEND.
39743         * libio/tst-ftell-active-handler.c (do_append_test): Add a
39744         test case.
39746         [BZ #16680]
39747         * libio/fileops.c (_IO_file_open): Seek to end of file but
39748         don't cache the offset.
39749         (get_file_offset): Remove function.
39750         (do_ftell): Use cached offset when available.
39751         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
39752         don't cache the offset.
39753         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
39754         case.
39755         (do_one_test): Call it.
39756         (do_ftell_test): Fix up expected old offset for a+ mode.
39757         * libio/wfileops.c (do_ftell_wide): Used cached offset when
39758         available.
39760         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
39761         up test status with function return status.
39762         (do_write_test): Likewise.
39763         (do_append_test): Likewise.
39765         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
39766         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
39767         Remove.
39769 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
39771         * math/gen-libm-test.pl (parse_args): Handle results specified for
39772         each rounding mode separately.
39773         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
39774         tests and results from lrint_tonearest_test_data,
39775         lrint_towardzero_test_data, lrint_downward_test_data and
39776         lrint_upward_test_data.
39777         (lrint_test): Use ALL_RM_TEST.
39778         (lrint_tonearest_test_data): Remove.
39779         (lrint_test_tonearest): Likewise.
39780         (lrint_towardzero_test_data): Likewise.
39781         (lrint_test_towardzero): Likewise.
39782         (lrint_downward_test_data): Likewise.
39783         (lrint_test_downward): Likewise.
39784         (lrint_upward_test_data): Likewise.
39785         (lrint_test_upward): Likewise.
39786         (llrint_test_data): Merge in per-rounding-mode tests and results
39787         from llrint_tonearest_test_data, llrint_towardzero_test_data,
39788         llrint_downward_test_data and llrint_upward_test_data.
39789         (llrint_test): Use ALL_RM_TEST.
39790         (llrint_tonearest_test_data): Remove.
39791         (llrint_test_tonearest): Likewise.
39792         (llrint_towardzero_test_data): Likewise.
39793         (llrint_test_towardzero): Likewise.
39794         (llrint_downward_test_data): Likewise.
39795         (llrint_test_downward): Likewise.
39796         (llrint_upward_test_data): Likewise.
39797         (llrint_test_upward): Likewise.
39798         (rint_test_data): Merge in per-rounding-mode tests and results
39799         from rint_tonearest_test_data, rint_towardzero_test_data,
39800         rint_downward_test_data and rint_upward_test_data.  Add
39801         per-rounding-mode results for tests not in those arrays.
39802         (rint_test): Use ALL_RM_TEST.
39803         (rint_tonearest_test_data): Remove.
39804         (rint_test_tonearest): Likewise.
39805         (rint_towardzero_test_data): Likewise.
39806         (rint_test_towardzero): Likewise.
39807         (rint_downward_test_data): Likewise.
39808         (rint_test_downward): Likewise.
39809         (rint_upward_test_data): Likewise.
39810         (rint_test_upward): Likewise.
39811         (main): Don't call removed functions.
39813 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39815         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
39816         "Compiled on ..." crapola.  It is anti-useful.
39818 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
39820         * scripts/evaluate-test.sh: Handle fourth argument to determine
39821         whether test run should stop on failure.
39822         * Makeconfig (stop-on-test-failure): New variable.
39823         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
39824         $(stop-on-test-failure).
39825         * Makefile (tests): Give a summary of results from testing and
39826         exit with failure status if they include an ERROR or FAIL.
39827         (xtests): Likewise.
39828         * manual/install.texi (Configuring and compiling): Mention
39829         stop-on-test-failure=y.
39830         * INSTALL: Regenerated.
39832 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39834         * scripts/versionlist.awk: New file.
39835         * Makerules [$(build-shared) = yes]
39836         (postclean-generated): Add Versions.def, not Versions.def.v and
39837         Versions.def.v.i.
39838         ($(common-objpfx)Versions.def.v.i): Target removed.
39839         ($(common-objpfx)Versions.def): New target.
39840         ($(common-objpfx)Versions.all): Depend on that rather that
39841         $(common-objpfx)Versions.def.v.
39842         * Versions.def: File removed.
39844         * Makeconfig (+gccwarn): Add -Wundef.
39845         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
39846         a dl-sysdep.h breaking its contract.
39847         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
39848         * include/stackinfo.h: New file.
39849         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
39850         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
39851         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
39852         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
39853         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
39854         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
39855         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39856         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39857         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39858         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39859         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39860         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
39861         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39862         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39863         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
39865 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39867         [BZ #16707]
39868         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
39869         implementation.
39870         * math/libm-test.inc (round_test_data): Add more tests.
39872         [BZ #16706]
39873         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
39874         implementation.
39875         * math/libm-test.inc (nearbyint_test_data): Add more tests.
39877         [BZ #16701]
39878         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
39879         implementation.
39880         * math/libm-test.inc (ceil_test_data): Add more tests.
39882         * math/libm-test.inc (trunc_test_data): Add more tests related to
39883         BZ#16414.
39885 2014-03-14  Roland McGrath  <roland@hack.frob.com>
39887         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
39888         with #if rather than #ifdef.
39889         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
39891 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
39893         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
39894         first.  Disable AVX-512 GCC support if assembler doesn't support
39895         it.
39896         * sysdeps/x86_64/configure: Regenerated.
39898 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
39900         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
39901         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
39902         (__old_pthread_attr_setstack): Likewise.
39903         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
39904         [!_STACK_GROWS_DOWN]: Likewise.
39906 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
39908         * config.make.in (have-bash2): Delete.
39909         * configure.ac (libc_cv_have_bash2): Delete.
39910         * configure: Regenerate.
39911         * elf/Makefile (common-ldd-rewrite): Rename to ...
39912         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
39913         (sh-ldd-rewrite): Delete.
39914         (bash-ldd-rewrite): Delete.
39915         (have-bash2): Delete checks.
39916         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
39917         ldd-rewrite.
39919         * config.make.in (have-ksh): Delete.
39920         (KSH): Delete.
39921         * configure.ac (libc_cv_have_ksh): Delete.
39922         * configure: Regenerate.
39924         * elf/Makefile: Delete $(have-ksh) check.
39925         ($(objpfx)sotruss): Change KSH to BASH.
39926         * elf/sotruss.ksh: Rename to ...
39927         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
39928         function style to match POSIX.  Drop ksh vim mode setting.
39930         * manual/time.texi (Specifying the Time Zone with TZ): Change
39931         Tuesday to Thursday.
39933         * debug/tst-longjmp_chk2.c: Update header comment.
39934         (stackoverflow_handler): Add comment.  Call assert on pass value.
39936 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
39938         [BZ #16194]
39939         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
39940         (HAVE_AVX512_ASM_SUPPORT): Likewise.
39941         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
39942         (La_x86_64_vector): Add zmm.
39943         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
39944         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
39945         ($(objpfx)tst-audit10): New target.
39946         ($(objpfx)tst-audit10.out): Likewise.
39947         (tst-audit10-ENV): New.
39948         (AVX512-CFLAGS): Likewise.
39949         (CFLAGS-tst-audit10.c): Likewise.
39950         (CFLAGS-tst-auditmod10a.c): Likewise.
39951         (CFLAGS-tst-auditmod10b.c): Likewise.
39952         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
39953         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
39954         * sysdeps/x86_64/configure: Regenerated.
39955         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
39956         AVX-512 zmm register support.
39957         (_dl_x86_64_save_sse): Likewise.
39958         (_dl_x86_64_restore_sse): Likewise.
39959         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
39960         size vector registers.
39961         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
39962         (ZMM_SIZE): Likewise.
39963         * sysdeps/x86_64/tst-audit10.c: New file.
39964         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
39965         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
39967 2014-03-13  Roland McGrath  <roland@hack.frob.com>
39969         * configure.ac (HAVE_EHDR_START): New check.
39970         * configure: Regenerated.
39971         * config.h.in (HAVE_EHDR_START): New #undef.
39972         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
39973         assuming the lowest-addressed segment maps the start of the file.
39975 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
39977         * INSTALL: Regenerated.
39979 2014-03-13  Will Newton  <will.newton@linaro.org>
39981         * manual/setjmp.texi (System V contexts): Improve
39982         clarity and grammar of documentation.
39984 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
39986         [BZ #16381]
39987         * elf/Makefile (tests): Add tst-pie2.
39988         (tests-pie): Add tst-pie2.
39989         * elf/tst-pie2.c: New file.
39990         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
39991         for ET_EXEC.
39992         * elf/rtld.c (map_doit): Load executable as lt_executable.
39993         (dl_main): Likewise.
39995 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
39997         [BZ #16642]
39998         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39999         (__ASSUME_PSELECT): Undefine.
40001 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40003         [BZ #16689]
40004         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
40005         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
40006         static build.
40007         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
40008         selector for static builds.
40010 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
40012         [BZ #16695]
40013         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
40014         key in the buffer.
40016 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40018         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
40019         IFUNC selector for static builds.
40021 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
40023         * sysdeps/mips/math_private.h [__mips_hard_float]
40024         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
40025         libc_feresetround_mips_ctx.
40026         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
40027         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
40028         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
40030         [BZ #16677]
40031         * math/s_nextafter.c (__nextafter): Do not return value from
40032         overflowing computation.
40033         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
40034         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
40035         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
40036         Likewise.
40037         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
40038         Likewise.
40039         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
40040         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
40042 2014-03-11  Roland McGrath  <roland@hack.frob.com>
40044         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
40045         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
40046         Move sfi_sp use from the load-multiple (that no longer sets sp) to
40047         the new mov targetting sp.
40049 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40051         [BZ #16683]
40052         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
40053         Define it for static builds as well.
40054         (NO_BZERO_IMPL): Likewise.
40056 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40058         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
40059         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
40060         multiarch strspn for PPC64.
40061         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
40062         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
40063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40064         (__libc_ifunc_impl_list): Likewise.
40065         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
40066         multiarch optimizations
40067         * string/strspn.c (strspn): Using macro to redefine symbol name.
40069 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
40070             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40072         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
40073         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
40074         multiarch strncat for PPC64.
40075         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
40076         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
40077         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40078         (__libc_ifunc_impl_list): Likewise.
40079         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
40080         multiarch optimizations
40082 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
40084         [BZ #16639]
40085         * nscd/nscd.service: Make service type forking.
40087 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40089         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
40090         sign in non default rounding modes.
40091         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
40093 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
40095         * math/libm-test.inc (ALL_RM_TEST): New macro.
40096         (ceil_test): Use ALL_RM_TEST.
40097         (cimag_test): Likewise.
40098         (conj_test): Likewise.
40099         (copysign_test): Likewise.
40100         (cproj_test): Likewise.
40101         (creal_test): Likewise.
40102         (fabs_test): Likewise.
40103         (floor_test): Likewise.
40104         (fmax_test): Likewise.
40105         (fmin_test): Likewise.
40106         (fmod_test): Likewise.
40107         (fpclassify_test): Likewise.
40108         (frexp_test): Likewise.
40109         (ilogb_test): Likewise.
40110         (isfinite_test): Likewise.
40111         (finite_test): Likewise.
40112         (isgreater_test): Likewise.
40113         (isgreaterequal_test): Likewise.
40114         (isinf_test): Likewise.
40115         (isless_test): Likewise.
40116         (islessequal_test): Likewise.
40117         (islessgreater_test): Likewise.
40118         (isnan_test): Likewise.
40119         (isnormal_test): Likewise.
40120         (issignaling_test): Likewise.
40121         (isunordered_test): Likewise.
40122         (logb_test): Likewise.
40123         (logb_downward_test_data): Remove.
40124         (logb_test_downward): Likewise.
40125         (lround_test): Use ALL_RM_TEST.
40126         (llround_test): Likewise.
40127         (modf_test): Likewise.
40128         (nexttoward_test): Likewise.
40129         (remainder_test): Likewise.
40130         (drem_test): Likewise.
40131         (remainder_tonearest_test_data): Likewise.
40132         (remainder_test_tonearest): Likewise.
40133         (drem_test_tonearest): Likewise.
40134         (remainder_towardzero_test_data): Likewise.
40135         (remainder_test_towardzero): Likewise.
40136         (drem_test_towardzero): Likewise.
40137         (remainder_downward_test_data): Likewise.
40138         (remainder_test_downward): Likewise.
40139         (drem_test_downward): Likewise.
40140         (remainder_upward_test_data): Likewise.
40141         (remainder_test_upward): Likewise.
40142         (drem_test_upward): Likewise.
40143         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
40144         (round_test): Use ALL_RM_TEST.
40145         (signbit_test): Likewise.
40146         (trunc_test): Likewise.
40147         (significand_test): Likewise.
40148         (main): Don't call removed functions.
40150 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40152         [BZ #16674]
40153         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
40154         || __USE_XOPEN2K8].
40155         (ILL_ILLOPN): Likewise.
40156         (ILL_ILLADR): Likewise.
40157         (ILL_ILLTRP): Likewise.
40158         (ILL_PRVOPC): Likewise.
40159         (ILL_PRVREG): Likewise.
40160         (ILL_COPROC): Likewise.
40161         (ILL_BADSTK): Likewise.
40162         (FPE_INTDIV): Likewise.
40163         (FPE_INTOVF): Likewise.
40164         (FPE_FLTDIV): Likewise.
40165         (FPE_FLTOVF): Likewise.
40166         (FPE_FLTUND): Likewise.
40167         (FPE_FLTRES): Likewise.
40168         (FPE_FLTINV): Likewise.
40169         (FPE_FLTSUB): Likewise.
40170         (SEGV_MAPERR): Likewise.
40171         (SEGV_ACCERR): Likewise.
40172         (BUS_ADRALN): Likewise.
40173         (BUS_ADRERR): Likewise.
40174         (BUS_OBJERR): Likewise.
40175         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40176         (TRAP_TRACE): Likewise.
40177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40178         __USE_XOPEN2K8].
40179         (CLD_KILLED): Likewise.
40180         (CLD_DUMPED): Likewise.
40181         (CLD_TRAPPED): Likewise.
40182         (CLD_STOPPED): Likewise.
40183         (CLD_CONTINUED): Likewise.
40184         (POLL_IN): Likewise.
40185         (POLL_OUT): Likewise.
40186         (POLL_MSG): Likewise.
40187         (POLL_ERR): Likewise.
40188         (POLL_PRI): Likewise.
40189         (POLL_HUP): Likewise.
40190         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
40191         Likewise.
40192         (ILL_ILLOPN): Likewise.
40193         (ILL_ILLADR): Likewise.
40194         (ILL_ILLTRP): Likewise.
40195         (ILL_PRVOPC): Likewise.
40196         (ILL_PRVREG): Likewise.
40197         (ILL_COPROC): Likewise.
40198         (ILL_BADSTK): Likewise.
40199         (FPE_INTDIV): Likewise.
40200         (FPE_INTOVF): Likewise.
40201         (FPE_FLTDIV): Likewise.
40202         (FPE_FLTOVF): Likewise.
40203         (FPE_FLTUND): Likewise.
40204         (FPE_FLTRES): Likewise.
40205         (FPE_FLTINV): Likewise.
40206         (FPE_FLTSUB): Likewise.
40207         (SEGV_MAPERR): Likewise.
40208         (SEGV_ACCERR): Likewise.
40209         (BUS_ADRALN): Likewise.
40210         (BUS_ADRERR): Likewise.
40211         (BUS_OBJERR): Likewise.
40212         (BUS_MCEERR_AR): Likewise.
40213         (BUS_MCEERR_AO): Likewise.
40214         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40215         (TRAP_TRACE): Likewise.
40216         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40217         __USE_XOPEN2K8].
40218         (CLD_KILLED): Likewise.
40219         (CLD_DUMPED): Likewise.
40220         (CLD_TRAPPED): Likewise.
40221         (CLD_STOPPED): Likewise.
40222         (CLD_CONTINUED): Likewise.
40223         (POLL_IN): Likewise.
40224         (POLL_OUT): Likewise.
40225         (POLL_MSG): Likewise.
40226         (POLL_ERR): Likewise.
40227         (POLL_PRI): Likewise.
40228         (POLL_HUP): Likewise.
40229         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
40230         (ILL_ILLOPN): Likewise.
40231         (ILL_ILLADR): Likewise.
40232         (ILL_ILLTRP): Likewise.
40233         (ILL_PRVOPC): Likewise.
40234         (ILL_PRVREG): Likewise.
40235         (ILL_COPROC): Likewise.
40236         (ILL_BADSTK): Likewise.
40237         (FPE_INTDIV): Likewise.
40238         (FPE_INTOVF): Likewise.
40239         (FPE_FLTDIV): Likewise.
40240         (FPE_FLTOVF): Likewise.
40241         (FPE_FLTUND): Likewise.
40242         (FPE_FLTRES): Likewise.
40243         (FPE_FLTINV): Likewise.
40244         (FPE_FLTSUB): Likewise.
40245         (SEGV_MAPERR): Likewise.
40246         (SEGV_ACCERR): Likewise.
40247         (BUS_ADRALN): Likewise.
40248         (BUS_ADRERR): Likewise.
40249         (BUS_OBJERR): Likewise.
40250         (BUS_MCEERR_AR): Likewise.
40251         (BUS_MCEERR_AO): Likewise.
40252         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40253         (TRAP_TRACE): Likewise.
40254         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40255         __USE_XOPEN2K8].
40256         (CLD_KILLED): Likewise.
40257         (CLD_DUMPED): Likewise.
40258         (CLD_TRAPPED): Likewise.
40259         (CLD_STOPPED): Likewise.
40260         (CLD_CONTINUED): Likewise.
40261         (POLL_IN): Likewise.
40262         (POLL_OUT): Likewise.
40263         (POLL_MSG): Likewise.
40264         (POLL_ERR): Likewise.
40265         (POLL_PRI): Likewise.
40266         (POLL_HUP): Likewise.
40267         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
40268         Likewise.
40269         (ILL_ILLOPN): Likewise.
40270         (ILL_ILLADR): Likewise.
40271         (ILL_ILLTRP): Likewise.
40272         (ILL_PRVOPC): Likewise.
40273         (ILL_PRVREG): Likewise.
40274         (ILL_COPROC): Likewise.
40275         (ILL_BADSTK): Likewise.
40276         (ILL_BADIADDR): Likewise.
40277         (ILL_BREAK): Likewise.
40278         (FPE_INTDIV): Likewise.
40279         (FPE_INTOVF): Likewise.
40280         (FPE_FLTDIV): Likewise.
40281         (FPE_FLTOVF): Likewise.
40282         (FPE_FLTUND): Likewise.
40283         (FPE_FLTRES): Likewise.
40284         (FPE_FLTINV): Likewise.
40285         (FPE_FLTSUB): Likewise.
40286         (FPE_DECOVF): Likewise.
40287         (FPE_DECDIV): Likewise.
40288         (FPE_DECERR): Likewise.
40289         (FPE_INVASC): Likewise.
40290         (FPE_INVDEC): Likewise.
40291         (SEGV_MAPERR): Likewise.
40292         (SEGV_ACCERR): Likewise.
40293         (SEGV_PSTKOVF): Likewise.
40294         (BUS_ADRALN): Likewise.
40295         (BUS_ADRERR): Likewise.
40296         (BUS_OBJERR): Likewise.
40297         (BUS_MCEERR_AR): Likewise.
40298         (BUS_MCEERR_AO): Likewise.
40299         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40300         (TRAP_TRACE): Likewise.
40301         (TRAP_BRANCH): Likewise.
40302         (TRAP_HWBKPT): Likewise.
40303         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40304         __USE_XOPEN2K8].
40305         (CLD_KILLED): Likewise.
40306         (CLD_DUMPED): Likewise.
40307         (CLD_TRAPPED): Likewise.
40308         (CLD_STOPPED): Likewise.
40309         (CLD_CONTINUED): Likewise.
40310         (POLL_IN): Likewise.
40311         (POLL_OUT): Likewise.
40312         (POLL_MSG): Likewise.
40313         (POLL_ERR): Likewise.
40314         (POLL_PRI): Likewise.
40315         (POLL_HUP): Likewise.
40316         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
40317         (ILL_ILLOPN): Likewise.
40318         (ILL_ILLADR): Likewise.
40319         (ILL_ILLTRP): Likewise.
40320         (ILL_PRVOPC): Likewise.
40321         (ILL_PRVREG): Likewise.
40322         (ILL_COPROC): Likewise.
40323         (ILL_BADSTK): Likewise.
40324         (FPE_INTDIV): Likewise.
40325         (FPE_INTOVF): Likewise.
40326         (FPE_FLTDIV): Likewise.
40327         (FPE_FLTOVF): Likewise.
40328         (FPE_FLTUND): Likewise.
40329         (FPE_FLTRES): Likewise.
40330         (FPE_FLTINV): Likewise.
40331         (FPE_FLTSUB): Likewise.
40332         (SEGV_MAPERR): Likewise.
40333         (SEGV_ACCERR): Likewise.
40334         (BUS_ADRALN): Likewise.
40335         (BUS_ADRERR): Likewise.
40336         (BUS_OBJERR): Likewise.
40337         (BUS_MCEERR_AR): Likewise.
40338         (BUS_MCEERR_AO): Likewise.
40339         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40340         (TRAP_TRACE): Likewise.
40341         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40342         __USE_XOPEN2K8].
40343         (CLD_KILLED): Likewise.
40344         (CLD_DUMPED): Likewise.
40345         (CLD_TRAPPED): Likewise.
40346         (CLD_STOPPED): Likewise.
40347         (CLD_CONTINUED): Likewise.
40348         (POLL_IN): Likewise.
40349         (POLL_OUT): Likewise.
40350         (POLL_MSG): Likewise.
40351         (POLL_ERR): Likewise.
40352         (POLL_PRI): Likewise.
40353         (POLL_HUP): Likewise.
40354         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
40355         (ILL_ILLOPN): Likewise.
40356         (ILL_ILLADR): Likewise.
40357         (ILL_ILLTRP): Likewise.
40358         (ILL_PRVOPC): Likewise.
40359         (ILL_PRVREG): Likewise.
40360         (ILL_COPROC): Likewise.
40361         (ILL_BADSTK): Likewise.
40362         (FPE_INTDIV): Likewise.
40363         (FPE_INTOVF): Likewise.
40364         (FPE_FLTDIV): Likewise.
40365         (FPE_FLTOVF): Likewise.
40366         (FPE_FLTUND): Likewise.
40367         (FPE_FLTRES): Likewise.
40368         (FPE_FLTINV): Likewise.
40369         (FPE_FLTSUB): Likewise.
40370         (SEGV_MAPERR): Likewise.
40371         (SEGV_ACCERR): Likewise.
40372         (BUS_ADRALN): Likewise.
40373         (BUS_ADRERR): Likewise.
40374         (BUS_OBJERR): Likewise.
40375         (BUS_MCEERR_AR): Likewise.
40376         (BUS_MCEERR_AO): Likewise.
40377         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40378         (TRAP_TRACE): Likewise.
40379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40380         __USE_XOPEN2K8].
40381         (CLD_KILLED): Likewise.
40382         (CLD_DUMPED): Likewise.
40383         (CLD_TRAPPED): Likewise.
40384         (CLD_STOPPED): Likewise.
40385         (CLD_CONTINUED): Likewise.
40386         (POLL_IN): Likewise.
40387         (POLL_OUT): Likewise.
40388         (POLL_MSG): Likewise.
40389         (POLL_ERR): Likewise.
40390         (POLL_PRI): Likewise.
40391         (POLL_HUP): Likewise.
40392         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
40393         (ILL_ILLOPN): Likewise.
40394         (ILL_ILLADR): Likewise.
40395         (ILL_ILLTRP): Likewise.
40396         (ILL_PRVOPC): Likewise.
40397         (ILL_PRVREG): Likewise.
40398         (ILL_COPROC): Likewise.
40399         (ILL_BADSTK): Likewise.
40400         (FPE_INTDIV): Likewise.
40401         (FPE_INTOVF): Likewise.
40402         (FPE_FLTDIV): Likewise.
40403         (FPE_FLTOVF): Likewise.
40404         (FPE_FLTUND): Likewise.
40405         (FPE_FLTRES): Likewise.
40406         (FPE_FLTINV): Likewise.
40407         (FPE_FLTSUB): Likewise.
40408         (SEGV_MAPERR): Likewise.
40409         (SEGV_ACCERR): Likewise.
40410         (BUS_ADRALN): Likewise.
40411         (BUS_ADRERR): Likewise.
40412         (BUS_OBJERR): Likewise.
40413         (BUS_MCEERR_AR): Likewise.
40414         (BUS_MCEERR_AO): Likewise.
40415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40416         (TRAP_TRACE): Likewise.
40417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40418         __USE_XOPEN2K8].
40419         (CLD_KILLED): Likewise.
40420         (CLD_DUMPED): Likewise.
40421         (CLD_TRAPPED): Likewise.
40422         (CLD_STOPPED): Likewise.
40423         (CLD_CONTINUED): Likewise.
40424         (POLL_IN): Likewise.
40425         (POLL_OUT): Likewise.
40426         (POLL_MSG): Likewise.
40427         (POLL_ERR): Likewise.
40428         (POLL_PRI): Likewise.
40429         (POLL_HUP): Likewise.
40430         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
40431         (ILL_ILLOPN): Likewise.
40432         (ILL_ILLADR): Likewise.
40433         (ILL_ILLTRP): Likewise.
40434         (ILL_PRVOPC): Likewise.
40435         (ILL_PRVREG): Likewise.
40436         (ILL_COPROC): Likewise.
40437         (ILL_BADSTK): Likewise.
40438         (ILL_DBLFLT): Likewise.
40439         (ILL_HARDWALL): Likewise.
40440         (FPE_INTDIV): Likewise.
40441         (FPE_INTOVF): Likewise.
40442         (FPE_FLTDIV): Likewise.
40443         (FPE_FLTOVF): Likewise.
40444         (FPE_FLTUND): Likewise.
40445         (FPE_FLTRES): Likewise.
40446         (FPE_FLTINV): Likewise.
40447         (FPE_FLTSUB): Likewise.
40448         (SEGV_MAPERR): Likewise.
40449         (SEGV_ACCERR): Likewise.
40450         (BUS_ADRALN): Likewise.
40451         (BUS_ADRERR): Likewise.
40452         (BUS_OBJERR): Likewise.
40453         (BUS_MCEERR_AR): Likewise.
40454         (BUS_MCEERR_AO): Likewise.
40455         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40456         (TRAP_TRACE): Likewise.
40457         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40458         __USE_XOPEN2K8].
40459         (CLD_KILLED): Likewise.
40460         (CLD_DUMPED): Likewise.
40461         (CLD_TRAPPED): Likewise.
40462         (CLD_STOPPED): Likewise.
40463         (CLD_CONTINUED): Likewise.
40464         (POLL_IN): Likewise.
40465         (POLL_OUT): Likewise.
40466         (POLL_MSG): Likewise.
40467         (POLL_ERR): Likewise.
40468         (POLL_PRI): Likewise.
40469         (POLL_HUP): Likewise.
40470         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
40471         (ILL_ILLOPN): Likewise.
40472         (ILL_ILLADR): Likewise.
40473         (ILL_ILLTRP): Likewise.
40474         (ILL_PRVOPC): Likewise.
40475         (ILL_PRVREG): Likewise.
40476         (ILL_COPROC): Likewise.
40477         (ILL_BADSTK): Likewise.
40478         (FPE_INTDIV): Likewise.
40479         (FPE_INTOVF): Likewise.
40480         (FPE_FLTDIV): Likewise.
40481         (FPE_FLTOVF): Likewise.
40482         (FPE_FLTUND): Likewise.
40483         (FPE_FLTRES): Likewise.
40484         (FPE_FLTINV): Likewise.
40485         (FPE_FLTSUB): Likewise.
40486         (SEGV_MAPERR): Likewise.
40487         (SEGV_ACCERR): Likewise.
40488         (BUS_ADRALN): Likewise.
40489         (BUS_ADRERR): Likewise.
40490         (BUS_OBJERR): Likewise.
40491         (BUS_MCEERR_AR): Likewise.
40492         (BUS_MCEERR_AO): Likewise.
40493         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
40494         (TRAP_TRACE): Likewise.
40495         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
40496         __USE_XOPEN2K8].
40497         (CLD_KILLED): Likewise.
40498         (CLD_DUMPED): Likewise.
40499         (CLD_TRAPPED): Likewise.
40500         (CLD_STOPPED): Likewise.
40501         (CLD_CONTINUED): Likewise.
40502         (POLL_IN): Likewise.
40503         (POLL_OUT): Likewise.
40504         (POLL_MSG): Likewise.
40505         (POLL_ERR): Likewise.
40506         (POLL_PRI): Likewise.
40507         (POLL_HUP): Likewise.
40508         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
40509         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40511         [BZ #16670]
40512         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
40513         before #include of <time.h>.
40514         [!__USE_XOPEN2K] (__need_timespec): Likewise.
40515         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
40516         (test-xfail-UNIX98/sched.h/conform): Likewise.
40518 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40520         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
40521         error absence of trapping exception support.
40522         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
40524 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
40526         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
40527         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
40528         * timezone/Makefile (testdata): Move definition above include of
40529         Rules.
40530         (test-zones): New variable.
40531         (tests-special): Add zone files.
40532         (build-testdata): Use $(evaluate-test).
40534         * elf/Makefile (tests-special): Rename tests to end with .out.
40535         ($(objpfx)noload-mem): Likewise.
40536         ($(objpfx)tst-leaks1-mem): Likewise.
40537         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
40538         * iconv/Makefile (xtests-special): Change test-iconvconfig to
40539         $(objpfx)test-iconvconfig.out.
40540         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
40541         set -e inside subshell and redirect output to file.
40542         * iconvdata/Makefile (generated): Rename tests to end with .out.
40543         Correct type.
40544         (tests-special): Rename tests to end with .out.
40545         ($(objpfx)mtrace-tst-loading): Likewise.
40546         * intl/Makefile (generated): Likewise.
40547         (tests-special): Likewise.
40548         ($(objpfx)mtrace-tst-gettext): Likewise.
40549         * misc/Makefile (generated): Likewise.
40550         (tests-special): Likewise.
40551         ($(objpfx)tst-error1-mem): Likewise.
40552         * nptl/Makefile (tests-special): Likewise.
40553         ($(objpfx)tst-stack3-mem): Likewise.
40554         (generated): Likewise.
40555         * posix/Makefile (generated): Likewise.
40556         (tests-special): Likewise.
40557         (xtests-special): Likewise.
40558         ($(objpfx)tst-fnmatch-mem): Likewise.
40559         ($(objpfx)bug-regex2-mem): Likewise.
40560         ($(objpfx)bug-regex14-mem): Likewise.
40561         ($(objpfx)bug-regex21-mem): Likewise.
40562         ($(objpfx)bug-regex31-mem): Likewise.
40563         ($(objpfx)tst-vfork3-mem): Likewise.
40564         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
40565         ($(objpfx)tst-pcre-mem): Likewise.
40566         ($(objpfx)tst-boost-mem): Likewise.
40567         ($(objpfx)bug-ga2-mem): Likewise.
40568         ($(objpfx)bug-glob2-mem): Likewise.
40569         * resolv/Makefile (generate): Likewise.
40570         (tests-special): Likewise.
40571         (xtests-special): Likewise.
40572         (generated): Likewise.
40573         ($(objpfx)mtrace-tst-leaks): Likewise.
40574         ($(objpfx)mtrace-tst-leaks2): Likewise.
40576         * scripts/merge-test-results.sh: New file.
40577         * Makefile (tests-special-notdir): New variable.
40578         (tests): Run merge-test-results.sh.
40579         (xtests): Likewise.
40580         * Rules (tests-special-notdir): New variable.
40581         (xtests-special-notdir): Likewise.
40582         (tests): Run merge-test-results.sh
40583         (xtests): Likewise.
40585         * Makeconfig (test-xfail-name): New variable.
40586         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
40587         compute variable name for expected failures.
40588         * conform/Makefile (conformtest-headers-data): New variable.
40589         (conformtest-standards): Likewise.
40590         (conformtest-headers-ISO): Likewise.
40591         (conformtest-headers-ISO99): Likewise.
40592         (conformtest-headers-ISO11): Likewise.
40593         (conformtest-headers-POSIX): Likewise.
40594         (conformtest-headers-XPG3): Likewise.
40595         (conformtest-headers-XPG4): Likewise.
40596         (conformtest-headers-UNIX98): Likewise.
40597         (conformtest-headers-XOPEN2K): Likewise.
40598         (conformtest-headers-POSIX2008): Likewise.
40599         (conformtest-headers-XOPEN2K8): Likewise.
40600         (conformtest-header-list-base): Likewise.
40601         (conformtest-header-list-tests): Likewise.
40602         (conformtest-header-base): Likewise.
40603         (conformtest-header-tests): Likewise.
40604         (tests-special): Add $(conformtest-header-list-tests).  If
40605         [$(fast-check) && !$(cross-compiling)], add
40606         $(conformtest-header-tests) instead of
40607         $(objpfx)run-conformtest.out.
40608         (generated): Add $(conformtest-header-list-base).  If
40609         [$(fast-check) && !$(cross-compiling)], add
40610         $(conformtest-header-base).  Remove previous setting.
40611         ($(conformtest-header-list-tests)): New target.
40612         (test-xfail-run-conformtest): Remove variable.
40613         ($(objpfx)run-conformtest.out): Remove target.
40614         (test-xfail-ISO11/complex.h/conform): New variable.
40615         (test-xfail-ISO11/stdalign.h/conform): Likewise.
40616         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
40617         (test-xfail-XPG3/varargs.h/conform): Likewise.
40618         (test-xfail-XPG4/varargs.h/conform): Likewise.
40619         (test-xfail-UNIX98/varargs.h/conform): Likewise.
40620         (test-xfail-XPG4/ndbm.h/conform): Likewise.
40621         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
40622         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
40623         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
40624         (test-xfail-XPG3/fcntl.h/conform): Likewise.
40625         (test-xfail-XPG3/ftw.h/conform): Likewise.
40626         (test-xfail-XPG3/grp.h/conform): Likewise.
40627         (test-xfail-XPG3/langinfo.h/conform): Likewise.
40628         (test-xfail-XPG3/limits.h/conform): Likewise.
40629         (test-xfail-XPG3/pwd.h/conform): Likewise.
40630         (test-xfail-XPG3/search.h/conform): Likewise.
40631         (test-xfail-XPG3/signal.h/conform): Likewise.
40632         (test-xfail-XPG3/stdio.h/conform): Likewise.
40633         (test-xfail-XPG3/stdlib.h/conform): Likewise.
40634         (test-xfail-XPG3/string.h/conform): Likewise.
40635         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
40636         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
40637         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
40638         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
40639         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
40640         (test-xfail-XPG3/sys/types.h/conform): Likewise.
40641         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
40642         (test-xfail-XPG3/termios.h/conform): Likewise.
40643         (test-xfail-XPG3/time.h/conform): Likewise.
40644         (test-xfail-XPG3/unistd.h/conform): Likewise.
40645         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
40646         (test-xfail-XPG4/fcntl.h/conform): Likewise.
40647         (test-xfail-XPG4/langinfo.h/conform): Likewise.
40648         (test-xfail-XPG4/netdb.h/conform): Likewise.
40649         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
40650         (test-xfail-XPG4/signal.h/conform): Likewise.
40651         (test-xfail-XPG4/stdio.h/conform): Likewise.
40652         (test-xfail-XPG4/stdlib.h/conform): Likewise.
40653         (test-xfail-XPG4/stropts.h/conform): Likewise.
40654         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
40655         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
40656         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
40657         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
40658         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
40659         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
40660         (test-xfail-XPG4/sys/time.h/conform): Likewise.
40661         (test-xfail-XPG4/sys/types.h/conform): Likewise.
40662         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
40663         (test-xfail-XPG4/termios.h/conform): Likewise.
40664         (test-xfail-XPG4/ucontext.h/conform): Likewise.
40665         (test-xfail-XPG4/unistd.h/conform): Likewise.
40666         (test-xfail-XPG4/utmpx.h/conform): Likewise.
40667         (test-xfail-POSIX/sched.h/conform): Likewise.
40668         (test-xfail-POSIX/signal.h/conform): Likewise.
40669         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
40670         (test-xfail-POSIX/tar.h/conform): Likewise.
40671         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
40672         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
40673         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
40674         (test-xfail-UNIX98/netdb.h/conform): Likewise.
40675         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
40676         (test-xfail-UNIX98/sched.h/conform): Likewise.
40677         (test-xfail-UNIX98/signal.h/conform): Likewise.
40678         (test-xfail-UNIX98/stdio.h/conform): Likewise.
40679         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
40680         (test-xfail-UNIX98/stropts.h/conform): Likewise.
40681         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
40682         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
40683         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
40684         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
40685         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
40686         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
40687         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
40688         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
40689         (test-xfail-UNIX98/unistd.h/conform): Likewise.
40690         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
40691         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
40692         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
40693         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
40694         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
40695         (test-xfail-XOPEN2K/math.h/conform): Likewise.
40696         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
40697         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
40698         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
40699         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
40700         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
40701         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
40702         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
40703         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
40704         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
40705         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
40706         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
40707         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
40708         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
40709         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
40710         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
40711         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
40712         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
40713         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
40714         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
40715         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
40716         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
40717         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
40718         (test-xfail-POSIX2008/signal.h/conform): Likewise.
40719         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
40720         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
40721         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
40722         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
40723         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
40724         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
40725         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
40726         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
40727         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
40728         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
40729         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
40730         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
40731         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
40732         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
40733         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
40734         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
40735         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
40736         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
40737         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
40738         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
40739         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
40740         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
40741         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
40742         (conformtest-cc-flags): Likewise.
40743         ($(conformtest-header-tests): New target.
40744         * conform/check-header-lists.sh: New file.
40745         * conform/run-conformtest.sh: Remove.
40747         * conform/conformtest.pl: Allow ' and \ in values given for
40748         constants.
40749         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
40750         inclusion.
40751         [POSIX] (sys/types.h): Likewise.
40752         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
40753         inclusion.
40754         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
40755         inclusion.
40756         * conform/data/signal.h-data (SIGIO): Remove expectation.
40757         [XPG3] (SIGBUS): Do not expect.
40758         [POSIX || XPG3] (SIGPOLL): Likewise.
40759         [POSIX || XPG3] (SIGPROF): Likewise.
40760         [POSIX || XPG3] (SIGSYS): Likewise.
40761         [XPG3] (SIGTRAP): Likewise.
40762         [POSIX || XPG3] (SIGURG): Likewise.
40763         [POSIX || XPG3] (SIGVTALRM): Likewise.
40764         [POSIX || XPG3] (SIGXCPU): Likewise.
40765         [POSIX || XPG3] (SIGXFSZ): Likewise.
40766         [POSIX] (SA_SIGINFO): Expect.
40767         [XPG3] (siginfo_t): Do not expect type or contents.
40768         [POSIX] (si_pid): Do not expect element.
40769         [POSIX] (si_uid): Likewise.
40770         [POSIX] (si_addr): Likewise.
40771         [POSIX] (si_status): Likewise.
40772         [POSIX] (si_band): Likewise.
40773         [XPG4] (si_value): Likewise.
40774         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
40775         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
40776         [POSIX || XPG3] (ILL_ILLADR): Likewise.
40777         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
40778         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
40779         [POSIX || XPG3] (ILL_PRVREG): Likewise.
40780         [POSIX || XPG3] (ILL_COPROC): Likewise.
40781         [POSIX || XPG3] (ILL_BADSTK): Likewise.
40782         [POSIX || XPG3] (FPE_INTDIV): Likewise.
40783         [POSIX || XPG3] (FPE_INTOVF): Likewise.
40784         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
40785         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
40786         [POSIX || XPG3] (FPE_FLTUND): Likewise.
40787         [POSIX || XPG3] (FPE_FLTRES): Likewise.
40788         [POSIX || XPG3] (FPE_FLTINV): Likewise.
40789         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
40790         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
40791         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
40792         [POSIX || XPG3] (BUS_ADRALN): Likewise.
40793         [POSIX || XPG3] (BUS_ADRERR): Likewise.
40794         [POSIX || XPG3] (BUS_OBJERR): Likewise.
40795         [POSIX || XPG3] (CLD_EXITED): Likewise.
40796         [POSIX || XPG3] (CLD_KILLED): Likewise.
40797         [POSIX || XPG3] (CLD_DUMPED): Likewise.
40798         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
40799         [POSIX || XPG3] (CLD_STOPPED): Likewise.
40800         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
40801         [POSIX || XPG3] (POLL_IN): Likewise.
40802         [POSIX || XPG3] (POLL_OUT): Likewise.
40803         [POSIX || XPG3] (POLL_MSG): Likewise.
40804         [POSIX || XPG3] (POLL_ERR): Likewise.
40805         [POSIX || XPG3] (POLL_PRI): Likewise.
40806         [POSIX || XPG3] (POLL_HUP): Likewise.
40807         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
40808         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
40809         (SIG*): Do not allow.
40810         [XPG3] (si_*): Likewise.
40811         [XPG3] (SI_*): Likewise.
40812         [XPG3 || XPG4] (sigev_*): Likewise.
40813         [XPG3 || XPG4] (SIGEV_*): Likewise.
40814         [XPG3 || XPG4] (sival_*): Likewise.
40815         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
40816         [POSIX || XPG3] (BUS_*): Likewise.
40817         [POSIX || XPG3] (CLD_*): Likewise.
40818         [POSIX || XPG3] (FPE_*): Likewise.
40819         [POSIX || XPG3] (ILL_*): Likewise.
40820         [POSIX || XPG3] (POLL_*): Likewise.
40821         [POSIX || XPG3] (SEGV_*): Likewise.
40822         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
40823         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
40824         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
40825         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
40826         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
40827         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
40828         Specify type and value.
40829         (TVERSLEN): Likewise.
40830         (REGTYPE): Likewise.
40831         (AREGTYPE): Likewise.
40832         (LNKTYPE): Likewise.
40833         (SYMTYPE): Likewise.
40834         (CHRTYPE): Likewise.
40835         (BLKTYPE): Likewise.
40836         (DIRTYPE): Likewise.
40837         (FIFOTYPE): Likewise.
40838         (CONTTYPE): Likewise.
40839         (TSUID): Likewise.
40840         (TSGID): Likewise.
40841         (TSVTX): Likewise.
40842         (TUREAD): Likewise.
40843         (TUWRITE): Likewise.
40844         (TUEXEC): Likewise.
40845         (TGREAD): Likewise.
40846         (TGWRITE): Likewise.
40847         (TGEXEC): Likewise.
40848         (TOREAD): Likewise.
40849         (TOWRITE): Likewise.
40850         (TOEXEC): Likewise.
40851         [POSIX] (TSVTX): Expect constant.
40853 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
40855         * Makefile (tests): Change dependencies to ....
40856         (tests-special): ... additions to this variable.
40857         (tests): Depend on $(tests-special).
40858         * Makerules (check-abi-list): New variable.
40859         (check-abi): Depend on $(check-abi-list).
40860         [$(subdir) = elf] (tests-special): Add
40861         $(objpfx)check-abi-libc.out.
40862         [$(build-shared) = yes && subdir] (tests-special): Add
40863         $(check-abi-list).
40864         [$(build-shared) = yes && subdir] (tests): Do not depend on
40865         check-abi.
40866         * Rules (tests): Depend on $(tests-special).
40867         (xtests): Depend on $(xtests-special).
40868         * catgets/Makefile (tests): Change dependencies to ....
40869         (tests-special): ... additions to this variable.
40870         * conform/Makefile (tests): Change dependencies to ....
40871         (tests-special): ... additions to this variable.
40872         * elf/Makefile (tests): Change dependencies to ....
40873         (tests-special): ... additions to this variable.
40874         * grp/Makefile (tests): Change dependencies to ....
40875         (tests-special): ... additions to this variable.
40876         * iconv/Makefile (xtests): Change dependencies to ....
40877         (xtests-special): ... additions to this variable.
40878         * iconvdata/Makefile (tests): Change dependencies to ....
40879         (tests-special): ... additions to this variable.
40880         * intl/Makefile (tests): Change dependencies to ....
40881         (tests-special): ... additions to this variable.  Also add
40882         $(objpfx)tst-gettext.out.
40883         * io/Makefile (tests): Change dependencies to ....
40884         (tests-special): ... additions to this variable.
40885         * libio/Makefile (tests): Change dependencies to ....
40886         (tests-special): ... additions to this variable.
40887         * malloc/Makefile (tests): Change dependencies to ....
40888         (tests-special): ... additions to this variable.
40889         * misc/Makefile (tests): Change dependencies to ....
40890         (tests-special): ... additions to this variable.
40891         * nptl/Makefile (tests): Change dependencies to ....
40892         (tests-special): ... additions to this variable.
40893         * nptl_db/Makefile (tests): Change dependencies to ....
40894         (tests-special): ... additions to this variable.
40895         * posix/Makefile (tests): Change dependencies to ....
40896         (tests-special): ... additions to this variable.
40897         (xtests): Change dependencies to ....
40898         (xtests-special): ... additions to this variable.
40899         * resolv/Makefile (tests): Change dependencies to ....
40900         (tests-special): ... additions to this variable.
40901         (xtests): Change dependencies to ....
40902         (xtests-special): ... additions to this variable.
40903         * stdio-common/Makefile (tests): Change dependencies to ....
40904         (tests-special): ... additions to this variable.
40905         (do-tst-unbputc): Remove target.
40906         (do-tst-printf): Likewise.
40907         * stdlib/Makefile (tests): Change dependencies to ....
40908         (tests-special): ... additions to this variable.
40909         * string/Makefile (tests): Change dependencies to ....
40910         (tests-special): ... additions to this variable.
40911         * sysdeps/x86/Makefile (tests): Change dependencies to ....
40912         (tests-special): ... additions to this variable.
40914         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
40915         whole file.
40916         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
40917         whole file.
40918         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
40919         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
40921         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
40922         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
40923         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
40924         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
40925         * conform/data/libgen.h-data [XPG3]: Likewise.
40926         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
40927         * conform/data/ndbm.h-data [XPG3]: Likewise.
40928         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40929         * conform/data/netdb.h-data [XPG3]: Likewise.
40930         * conform/data/netinet/in.h-data [XPG3]: Likewise.
40931         * conform/data/poll.h-data [XPG3]: Likewise.
40932         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
40933         * conform/data/strings.h-data [XPG3]: Likewise.
40934         * conform/data/stropts.h-data [XPG3]: Likewise.
40935         * conform/data/sys/mman.h-data [XPG3]: Likewise.
40936         * conform/data/sys/resource.h-data [XPG3]: Likewise.
40937         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
40938         Likewise.
40939         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
40940         * conform/data/sys/time.h-data [XPG3]: Likewise.
40941         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
40942         * conform/data/sys/uio.h-data [XPG3]: Likewise.
40943         * conform/data/sys/un.h-data [XPG3]: Likewise.
40944         * conform/data/syslog.h-data [XPG3]: Likewise.
40945         * conform/data/ucontext.h-data [XPG3]: Likewise.
40946         * conform/data/utmpx.h-data [XPG3]: Likewise.
40947         * conform/data/varargs.h-data [UNIX98]: Enable file.
40949         * manual/Makefile (INSTALL_INFO): Remove variable setting.
40951         * math/libm-test.inc (struct test_f_f_data): Move expected results
40952         into structure for each rounding mode.
40953         (struct test_ff_f_data): Likewise.
40954         (struct test_ff_f_data_nexttoward): Likewise.
40955         (struct test_fi_f_data): Likewise.
40956         (struct test_fl_f_data): Likewise.
40957         (struct test_if_f_data): Likewise.
40958         (struct test_fff_f_data): Likewise.
40959         (struct test_c_f_data): Likewise.
40960         (struct test_f_f1_data): Likewise.
40961         (struct test_fF_f1_data): Likewise.
40962         (struct test_ffI_f1_data): Likewise.
40963         (struct test_c_c_data): Likewise.
40964         (struct test_cc_c_data): Likewise.
40965         (struct test_f_i_data): Likewise.
40966         (struct test_ff_i_data): Likewise.
40967         (struct test_f_l_data): Likewise.
40968         (struct test_f_L_data): Likewise.
40969         (struct test_fFF_11_data): Likewise.
40970         (RM_): New macro.
40971         (RM_FE_DOWNWARD): Likewise.
40972         (RM_FE_TONEAREST): Likewise.
40973         (RM_FE_TOWARDZERO): Likewise.
40974         (RM_FE_UPWARD): Likewise.
40975         (RUN_TEST_LOOP_f_f): Update references to expected results.
40976         (RUN_TEST_LOOP_2_f): Likewise.
40977         (RUN_TEST_LOOP_fff_f): Likewise.
40978         (RUN_TEST_LOOP_c_f): Likewise.
40979         (RUN_TEST_LOOP_f_f1): Likewise.
40980         (RUN_TEST_LOOP_fF_f1): Likewise.
40981         (RUN_TEST_LOOP_fI_f1): Likewise.
40982         (RUN_TEST_LOOP_ffI_f1): Likewise.
40983         (RUN_TEST_LOOP_c_c): Likewise.
40984         (RUN_TEST_LOOP_cc_c): Likewise.
40985         (RUN_TEST_LOOP_f_i): Likewise.
40986         (RUN_TEST_LOOP_f_i_tg): Likewise.
40987         (RUN_TEST_LOOP_ff_i_tg): Likewise.
40988         (RUN_TEST_LOOP_f_b): Likewise.
40989         (RUN_TEST_LOOP_f_b_tg): Likewise.
40990         (RUN_TEST_LOOP_f_l): Likewise.
40991         (RUN_TEST_LOOP_f_L): Likewise.
40992         (RUN_TEST_LOOP_fFF_11): Likewise.
40993         * math/gen-libm-test.pl (parse_args): Output four copies of
40994         expected results for each test.
40996         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
40997         (__ASSUME_UTIMES): Remove.
40998         * sysdeps/unix/sysv/linux/tile/kernel-features.h
40999         (__ASSUME_UTIMES): Likewise.
41001         * math/gen-auto-libm-tests.c: Update comment on output format.
41002         (output_for_one_input_case): Generate before-rounding and
41003         after-rounding information as conditions on output flags not
41004         floating-point format.
41005         * math/auto-libm-test-out: Regenerated.
41006         * math/gen-libm-test.pl (cond_value): New function.
41007         (or_cond_value): Use cond_value.
41008         (generate_testfile): Handle conditional exceptions.
41010 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
41012         * math/libm-test.inc (max_valid_error): New variable.
41013         (init_max_error): Take new argument specifying whether function
41014         results are exactly determined.  Set max_valid_error and bound
41015         other variables for errors based on this argument.
41016         (set_max_error): Do not record results above max_valid_error.
41017         (check_float_internal): Only accept errors of up to 0.5ulps if
41018         also at most max_valid_error.
41019         (START): Take new argument EXACT and pass it to init_max_error.
41020         (acos_test): Update call to START.
41021         (acos_test_tonearest): Likewise.
41022         (acos_test_towardzero): Likewise.
41023         (acos_test_downward): Likewise.
41024         (acos_test_upward): Likewise.
41025         (acosh_test): Likewise.
41026         (asin_test): Likewise.
41027         (asin_test_tonearest): Likewise.
41028         (asin_test_towardzero): Likewise.
41029         (asin_test_downward): Likewise.
41030         (asin_test_upward): Likewise.
41031         (asinh_test): Likewise.
41032         (atan_test): Likewise.
41033         (atanh_test): Likewise.
41034         (atan2_test): Likewise.
41035         (cabs_test): Likewise.
41036         (cacos_test): Likewise.
41037         (cacosh_test): Likewise.
41038         (carg_test): Likewise.
41039         (casin_test): Likewise.
41040         (casinh_test): Likewise.
41041         (catan_test): Likewise.
41042         (catanh_test): Likewise.
41043         (cbrt_test): Likewise.
41044         (ccos_test): Likewise.
41045         (ccosh_test): Likewise.
41046         (ceil_test): Likewise.
41047         (cexp_test): Likewise.
41048         (cimag_test): Likewise.
41049         (clog_test): Likewise.
41050         (clog10_test): Likewise.
41051         (conj_test): Likewise.
41052         (copysign_test): Likewise.
41053         (cos_test): Likewise.
41054         (cos_test_tonearest): Likewise.
41055         (cos_test_towardzero): Likewise.
41056         (cos_test_downward): Likewise.
41057         (cos_test_upward): Likewise.
41058         (cosh_test): Likewise.
41059         (cosh_test_tonearest): Likewise.
41060         (cosh_test_towardzero): Likewise.
41061         (cosh_test_downward): Likewise.
41062         (cosh_test_upward): Likewise.
41063         (cpow_test): Likewise.
41064         (cproj_test): Likewise.
41065         (creal_test): Likewise.
41066         (csin_test): Likewise.
41067         (csinh_test): Likewise.
41068         (csqrt_test): Likewise.
41069         (ctan_test): Likewise.
41070         (ctan_test_tonearest): Likewise.
41071         (ctan_test_towardzero): Likewise.
41072         (ctan_test_downward): Likewise.
41073         (ctan_test_upward): Likewise.
41074         (ctanh_test): Likewise.
41075         (ctanh_test_tonearest): Likewise.
41076         (ctanh_test_towardzero): Likewise.
41077         (ctanh_test_downward): Likewise.
41078         (ctanh_test_upward): Likewise.
41079         (erf_test): Likewise.
41080         (erfc_test): Likewise.
41081         (exp_test): Likewise.
41082         (exp_test_tonearest): Likewise.
41083         (exp_test_towardzero): Likewise.
41084         (exp_test_downward): Likewise.
41085         (exp_test_upward): Likewise.
41086         (exp10_test): Likewise.
41087         (exp10_test_tonearest): Likewise.
41088         (exp10_test_towardzero): Likewise.
41089         (exp10_test_downward): Likewise.
41090         (exp10_test_upward): Likewise.
41091         (pow10_test): Likewise.
41092         (exp2_test): Likewise.
41093         (expm1_test): Likewise.
41094         (expm1_test_tonearest): Likewise.
41095         (expm1_test_towardzero): Likewise.
41096         (expm1_test_downward): Likewise.
41097         (expm1_test_upward): Likewise.
41098         (fabs_test): Likewise.
41099         (fdim_test): Likewise.
41100         (floor_test): Likewise.
41101         (fma_test): Likewise.
41102         (fma_test_towardzero): Likewise.
41103         (fma_test_downward): Likewise.
41104         (fma_test_upward): Likewise.
41105         (fmax_test): Likewise.
41106         (fmin_test): Likewise.
41107         (fmod_test): Likewise.
41108         (fpclassify_test): Likewise.
41109         (frexp_test): Likewise.
41110         (hypot_test): Likewise.
41111         (ilogb_test): Likewise.
41112         (isfinite_test): Likewise.
41113         (finite_test): Likewise.
41114         (isgreater_test): Likewise.
41115         (isgreaterequal_test): Likewise.
41116         (isinf_test): Likewise.
41117         (isless_test): Likewise.
41118         (islessequal_test): Likewise.
41119         (islessgreater_test): Likewise.
41120         (isnan_test): Likewise.
41121         (isnormal_test): Likewise.
41122         (issignaling_test): Likewise.
41123         (isunordered_test): Likewise.
41124         (j0_test): Likewise.
41125         (j1_test): Likewise.
41126         (jn_test): Likewise.
41127         (ldexp_test): Likewise.
41128         (lgamma_test): Likewise.
41129         (gamma_test): Likewise.
41130         (lrint_test): Likewise.
41131         (lrint_test_tonearest): Likewise.
41132         (lrint_test_towardzero): Likewise.
41133         (lrint_test_downward): Likewise.
41134         (lrint_test_upward): Likewise.
41135         (llrint_test): Likewise.
41136         (llrint_test_tonearest): Likewise.
41137         (llrint_test_towardzero): Likewise.
41138         (llrint_test_downward): Likewise.
41139         (llrint_test_upward): Likewise.
41140         (log_test): Likewise.
41141         (log10_test): Likewise.
41142         (log1p_test): Likewise.
41143         (log2_test): Likewise.
41144         (logb_test): Likewise.
41145         (logb_test_downward): Likewise.
41146         (lround_test): Likewise.
41147         (llround_test): Likewise.
41148         (modf_test): Likewise.
41149         (nearbyint_test): Likewise.
41150         (nextafter_test): Likewise.
41151         (nexttoward_test): Likewise.
41152         (pow_test): Likewise.
41153         (pow_test_tonearest): Likewise.
41154         (pow_test_towardzero): Likewise.
41155         (pow_test_downward): Likewise.
41156         (pow_test_upward): Likewise.
41157         (remainder_test): Likewise.
41158         (drem_test): Likewise.
41159         (remainder_test_tonearest): Likewise.
41160         (drem_test_tonearest): Likewise.
41161         (remainder_test_towardzero): Likewise.
41162         (drem_test_towardzero): Likewise.
41163         (remainder_test_downward): Likewise.
41164         (drem_test_downward): Likewise.
41165         (remainder_test_upward): Likewise.
41166         (drem_test_upward): Likewise.
41167         (remquo_test): Likewise.
41168         (rint_test): Likewise.
41169         (rint_test_tonearest): Likewise.
41170         (rint_test_towardzero): Likewise.
41171         (rint_test_downward): Likewise.
41172         (rint_test_upward): Likewise.
41173         (round_test): Likewise.
41174         (scalb_test): Likewise.
41175         (scalbn_test): Likewise.
41176         (scalbln_test): Likewise.
41177         (signbit_test): Likewise.
41178         (sin_test): Likewise.
41179         (sin_test_tonearest): Likewise.
41180         (sin_test_towardzero): Likewise.
41181         (sin_test_downward): Likewise.
41182         (sin_test_upward): Likewise.
41183         (sincos_test): Likewise.
41184         (sinh_test): Likewise.
41185         (sinh_test_tonearest): Likewise.
41186         (sinh_test_towardzero): Likewise.
41187         (sinh_test_downward): Likewise.
41188         (sinh_test_upward): Likewise.
41189         (sqrt_test): Likewise.
41190         (sqrt_test_tonearest): Likewise.
41191         (sqrt_test_towardzero): Likewise.
41192         (sqrt_test_downward): Likewise.
41193         (sqrt_test_upward): Likewise.
41194         (tan_test): Likewise.
41195         (tan_test_tonearest): Likewise.
41196         (tan_test_towardzero): Likewise.
41197         (tan_test_downward): Likewise.
41198         (tan_test_upward): Likewise.
41199         (tanh_test): Likewise.
41200         (tgamma_test): Likewise.
41201         (trunc_test): Likewise.
41202         (y0_test): Likewise.
41203         (y1_test): Likewise.
41204         (yn_test): Likewise.
41205         (significand_test): Likewise.
41207         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
41208         individual tests in comment.
41209         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
41210         (prev_max_error): New variable.
41211         (prev_real_max_error): Likewise.
41212         (prev_imag_max_error): Likewise.
41213         (compare_ulp_data): Don't refer to test names in comment.
41214         (find_test_ulps): Remove function.
41215         (find_function_ulps): Likewise.
41216         (find_complex_function_ulps): Likewise.
41217         (init_max_error): Take function name as argument.  Look up ulps
41218         for that function.
41219         (print_ulps): Remove function.
41220         (print_max_error): Use prev_max_error instead of calling
41221         find_function_ulps.
41222         (print_complex_max_error): Use prev_real_max_error and
41223         prev_imag_max_error instead of calling find_complex_function_ulps.
41224         (check_float_internal): Take max_ulp parameter instead of calling
41225         find_test_ulps.  Don't call print_ulps.
41226         (check_float): Update call to check_float_internal.
41227         (check_complex): Update calls to check_float_internal.
41228         (START): Pass argument to init_max_error.
41229         * math/gen-libm-test.pl (%results): Don't include "kind"
41230         information.
41231         (parse_ulps): Don't handle ulps of individual tests.
41232         (print_ulps_file): Likewise.
41233         (output_ulps): Likewise.
41234         * math/README.libm-test: Update.
41235         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
41236         individual tests.
41237         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
41238         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
41239         * sysdeps/arm/libm-test-ulps: Likewise.
41240         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
41241         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
41242         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
41243         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
41244         * sysdeps/microblaze/libm-test-ulps: Likewise.
41245         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
41246         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
41247         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41248         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
41249         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41250         * sysdeps/sh/libm-test-ulps: Likewise.
41251         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41252         * sysdeps/tile/libm-test-ulps: Likewise.
41253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41255 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
41257         * math/libm-test.inc (print_complex_max_error): Check separately
41258         whether real and imaginary errors are within allowed range and
41259         pass 0 to print_complex_function_ulps instead of value within
41260         allowed range.
41262 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
41264         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
41265         formatting.
41266         (get_handles_fopen): Likewise.
41267         (do_write_test): Likewise.
41269         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
41271         * libio/fileops.c (do_ftell): Use cached offset when
41272         available.
41273         * libio/iofwide.c (do_ftell_wide): Likewise.
41274         * libio/iofdopen.c (_IO_new_fdopen): Don't use
41275         _IO_file_attach.
41276         * libio/wfileops.c (_IO_fwide): Don't cache offset.
41278         [BZ #16532]
41279         * libio/libioP.h (get_file_offset): New function.
41280         * libio/fileops.c (get_file_offset): Likewise.
41281         (do_ftell): Likewise.
41282         (_IO_new_file_seekoff): Split out ftell logic.
41283         * libio/wfileops.c (do_ftell_wide): Likewise.
41284         (_IO_wfile_seekoff): Split out ftell logic.
41285         * libio/tst-ftell-active-handler.c: New test case.
41286         * libio/Makefile (tests): Add it.
41288 2014-03-03  Roland McGrath  <roland@hack.frob.com>
41290         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
41291         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
41293 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
41295         [BZ #16639]
41296         * nscd/connections.c (nscd_init): Call do_exit.
41297         (start_threads): Call do_exit and notify_parent.
41298         (begin_drop_privileges): Call do_exit.
41299         (finish_drop_privileges): Likewise.
41300         * nscd/selinux.c (preserve_capabilities): Likewise.
41301         (install_real_capabilities): Likewise.
41302         (nscd_selinux_enabled): Likewise.
41303         (avc_create_thread): Likewise.
41304         (avc_alloc_lock): Likewise.
41305         (nscd_avc_init): Likewise.
41306         * nscd/nscd.c (parent_fd): New static variable.
41307         (main): Create a pipe between parent and child processes.
41308         Skip closing parent_fd.
41309         (monitor_child): New function.
41310         (do_exit): Likewise.
41311         (notify_parent): Likewise.
41312         * nscd/nscd.h (notify_parent): Likewise.
41313         (do_exit): Likewise.
41315 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
41317         * malloc/malloc.c (__libc_calloc): Revert last change.
41319 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41323 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
41325         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
41326         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
41327         implementation.
41328         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
41329         (__libc_ifunc_impl_list): Likewise.
41330         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
41331         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
41332         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
41333         * string/strrchr.c: Define STRRCHR.
41335 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
41337         * benchtest/bench-strtok.c (simple_strtok): Delete.
41338         (strtok_string): Use as benchmark.
41339         * string/strtok (STRTOK): New macro.
41341 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
41343         * manual/threads.texi: Add header and standard comments to all
41344         functions.
41346         * elf/dl-lookup.c (check_match): New function.
41347         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
41348         (do_lookup_x): Remove nested function check_match. Use non-nested
41349         function check_match.
41351 2014-02-28  Roland McGrath  <roland@hack.frob.com>
41353         * csu/Makefile (generated, before-compile): Use += rather than =.
41354         * catgets/Makefile (generated, generated-dirs): Likewise.
41355         * debug/Makefile (generated): Likewise.
41356         * dlfcn/Makefile (generated): Likewise.
41357         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
41358         * iconvdata/Makefile (before-compile, generated): Likewise.
41359         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
41360         * libio/Makefile (generated): Likewise.
41361         * malloc/Makefile (generated): Likewise.
41362         * manual/Makefile (generated, generated-dirs): Likewise.
41363         * misc/Makefile (generated): Likewise.
41364         * posix/Makefile (generated): Likewise.
41365         * resolv/Makefile (generated): Likewise.
41366         * sunrpc/Makefile (generated, generated-dirs): Likewise.
41367         * timezone/Makefile (generated, generated-dirs): Likewise.
41369         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
41371 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
41374         power8 implementation.
41375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
41376         file: POWER8 llround ifunc implementation.
41377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
41378         (__lllround): Add POWER8 implementation.
41379         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
41380         POWER8 llround implementation.
41382         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
41383         power8 implementation.
41384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
41385         file: POWER8 llrint ifunc implementation.
41386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
41387         Add POWER8 implementation.
41388         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
41389         POWER8 llrint implementation.
41391         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
41392         power8 implementation.
41393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
41394         file: POWER8 finite ifunc implementation.
41395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
41396         Add POWER8 implementation.
41397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
41398         Likewise.
41399         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
41400         POWER8 finite implementation.
41401         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
41403         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
41404         power8 implementation.
41405         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
41406         file: POWER8 isinf ifunc implementation.
41407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
41408         POWER8 implementation.
41409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
41410         Likewise.
41411         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
41412         isinf implementation.
41413         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
41415         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
41416         (INIT_ARCH): Add hwcap2 initialization.
41417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
41418         power8 implementation.
41419         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
41420         file: POWER8 isnan ifunc implementation.
41421         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
41422         POWER8 implementation.
41423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
41424         Likewise.
41425         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
41426         isnan implementation.
41427         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
41429 2014-02-27  Joey Ye  <joey.ye@arm.com>
41431         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41432         (_FP_NANFRAC_Q): Set to zero.
41434 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41436         [BZ #16623]
41437         * math/auto-libm-test-in: New test inputs.
41438         * math/auto-libm-test-out: Regenerate.
41439         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
41440         and DA.
41441         (__cos): Likewise.
41442         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
41444 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
41446         * scripts/evaluate-test.sh: Take new argument indicating whether
41447         failure is expected.
41448         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
41449         indicating whether failure is expected.
41450         * conform/Makefile (test-xfail-run-conformtest): New variable.
41451         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
41452         level.
41453         * posix/Makefile (test-xfail-annexc): New variable.
41454         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
41456 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
41458         * argp/Makefile: Include Makeconfig immediately after defining
41459         subdir.
41460         * assert/Makefile: Likewise.
41461         * benchtests/Makefile: Likewise.
41462         * catgets/Makefile: Likewise.
41463         * conform/Makefile: Likewise.
41464         * crypt/Makefile: Likewise.
41465         * csu/Makefile: Likewise.
41466         (all): Remove target.
41467         * ctype/Makefile: Include Makeconfig immediately after defining
41468         subdir.
41469         * debug/Makefile: Likewise.
41470         * dirent/Makefile: Likewise.
41471         * dlfcn/Makefile: Likewise.
41472         * gmon/Makefile: Likewise.
41473         * gnulib/Makefile: Likewise.
41474         * grp/Makefile: Likewise.
41475         * gshadow/Makefile: Likewise.
41476         * hesiod/Makefile: Likewise.
41477         * hurd/Makefile: Likewise.
41478         (all): Remove target.
41479         * iconvdata/Makefile: Include Makeconfig immediately after
41480         defining subdir.
41481         * inet/Makefile: Likewise.
41482         * intl/Makefile: Likewise.
41483         * io/Makefile: Likewise.
41484         * libio/Makefile: Likewise.
41485         (all): Remove target.
41486         * locale/Makefile: Include Makeconfig immediately after defining
41487         subdir.
41488         * login/Makefile: Likewise.
41489         * mach/Makefile: Likewise.
41490         (all): Remove target.
41491         * malloc/Makefile: Include Makeconfig immediately after defining
41492         subdir.
41493         (all): Remove target.
41494         * manual/Makefile: Include Makeconfig immediately after defining
41495         subdir.
41496         * math/Makefile: Likewise.
41497         * misc/Makefile: Likewise.
41498         * nis/Makefile: Likewise.
41499         * nss/Makefile: Likewise.
41500         * po/Makefile: Likewise.
41501         (all): Remove target.
41502         * posix/Makefile: Include Makeconfig immediately after defining
41503         subdir.
41504         * pwd/Makefile: Likewise.
41505         * resolv/Makefile: Likewise.
41506         * resource/Makefile: Likewise.
41507         * rt/Makefile: Likewise.
41508         * setjmp/Makefile: Likewise.
41509         * shadow/Makefile: Likewise.
41510         * signal/Makefile: Likewise.
41511         * socket/Makefile: Likewise.
41512         * soft-fp/Makefile: Likewise.
41513         * stdio-common/Makefile: Likewise.
41514         * stdlib/Makefile: Likewise.
41515         * streams/Makefile: Likewise.
41516         * string/Makefile: Likewise.
41517         * sunrpc/Makefile: Likewise.
41518         (all): Remove target.
41519         * sysvipc/Makefile: Include Makeconfig immediately after defining
41520         subdir.
41521         * termios/Makefile: Likewise.
41522         * time/Makefile: Likewise.
41523         * timezone/Makefile: Likewise.
41524         (all): Remove target.
41525         * wcsmbs/Makefile: Include Makeconfig immediately after defining
41526         subdir.
41527         * wctype/Makefile: Likewise.
41529 2014-02-26  Steve Ellcey  <sellcey@mips.com>
41531         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
41532         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
41533         (libc_feholdexcept_setround_mips): Ditto.
41534         (libc_feholdsetround): New.
41535         (libc_feholdsetroundf): New.
41536         (libc_feholdsetroundl): New.
41537         (libc_feupdateenv_test_mips): New.
41538         (libc_feupdateenv_test): New.
41539         (libc_feupdateenv_testf): New.
41540         (libc_feupdateenv_testl): New.
41541         (libc_feresetround): New.
41542         (libc_feresetroundf): New.
41543         (libc_feresetroundl): New.
41544         (libc_fetestexcept_mips): New.
41545         (libc_fetestexcept): New.
41546         (libc_fetestexceptf): New.
41547         (libc_fetestexceptl): New.
41548         (HAVE_RM_CTX): New.
41549         (libc_feholdexcept_setround_mips_ctx): New.
41550         (libc_feholdexcept_setround_ctx): New.
41551         (libc_feholdexcept_setroundf_ctx): New.
41552         (libc_feholdexcept_setroundl_ctx): New.
41553         (libc_fesetenv_mips_ctx): New.
41554         (libc_fesetenv_ctx): New.
41555         (libc_fesetenv_ctxf): New.
41556         (libc_fesetenv_ctxl): New.
41557         (libc_feupdateenv_mips_ctx): New.
41558         (libc_feupdateenv_ctx): New.
41559         (libc_feupdateenvf_ctx): New.
41560         (libc_feupdateenvl_ctx): New.
41561         (libc_feholdsetround_mips_ctx): New.
41562         (libc_feholdsetround_ctx): New.
41563         (libc_feholdsetroundf_ctx): New.
41564         (libc_feholdsetroundl_ctx): New.
41565         (libc_feresetround_mips_ctx): New.
41566         (libc_feresetround_ctx): New.
41567         (libc_feresetroundf_ctx): New.
41568         (libc_feresetroundl_ctx): New.
41570 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
41572         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
41574         * manual/ipc.texi: New file.
41575         * manual/Makefile (chapters): Add ipc.
41576         * manual/job.texi: Add "Inter-Process Communication" to next.
41577         * manual/process.texi: Add "Inter-Process Communication" to prev.
41579 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41581         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41583 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
41585         * malloc/malloc.c (__libc_calloc): Simplify implementation.
41587         * manual/arith.texi: Fix spaces after sentences.
41588         * manual/charset.texi: Likewise.
41589         * manual/errno.texi: Likewise.
41590         * manual/install.texi: Likewise.
41591         * manual/llio.texi: Likewise.
41592         * manual/locale.texi: Likewise.
41593         * manual/maint.texi: Likewise.
41594         * manual/math.texi: Likewise.
41595         * manual/memory.texi: Likewise.
41596         * manual/message.texi: Likewise.
41597         * manual/probes.texi: Likewise.
41598         * manual/resource.texi: Likewise.
41599         * manual/signal.texi: Likewise.
41600         * manual/socket.texi: Likewise.
41601         * manual/stdio.texi: Likewise.
41602         * manual/string.texi: Likewise.
41603         * manual/time.texi: Likewise.
41604         * manual/users.texi: Likewise.
41606 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
41608         [BZ #16632]
41609         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
41610         _DEFAULT_SOURCE is defined.
41612 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
41613             Carlos O'Donell  <carlos@redhat.com>
41615         [BZ #16613]
41616         * elf/dl-tls.c (_dl_count_modids): New function.
41617         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
41618         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
41619         audit library and increment generation counter.
41620         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
41621         * elf/tst-audit9.c: New file.
41622         * elf/tst-auditmod9a.c: New file.
41623         * elf/tst-auditmod9b.c: New file.
41624         * elf/Makefile: Add rules to build and run tst-audit9.
41626 2014-02-25  Florian Weimer  <fweimer@redhat.com>
41628         [BZ #15347]
41629         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
41631 2014-02-25  Will Newton  <will.newton@linaro.org>
41633         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
41634         (__longjmp): Restore sp and lr before restoring callee
41635         saved registers.  Add longjmp and longjmp_target
41636         SystemTap probe point.
41637         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
41638         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
41639         Define to zero to match jmpbuf layout.
41640         * sysdeps/arm/setjmp.S: Include stap-probe.h.
41641         (__sigsetjmp): Save sp and lr before saving callee
41642         saved registers.  Add setjmp SystemTap probe point.
41644 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
41646         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41648 2014-02-24  Andreas Schwab  <schwab@suse.de>
41650         [BZ #15804]
41651         * elf/pldd.c (wait_for_ptrace_stop): New function.
41652         (main): Call it after attaching.
41654 2014-02-22  Roland McGrath  <roland@hack.frob.com>
41656         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
41657         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
41658         Versions files is now verboten.
41659         * hurd/Versions (libc: GLIBC_2.0):
41660         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
41661         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
41662         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
41663         * mach/Versions: Likewise.
41665         * csu/Versions: Remove unused %include.
41666         * resolv/Versions: Likewise.
41668 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
41670         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
41671         ($(objpfx)check-local-headers.out): Likewise.
41672         ($(objpfx)begin-end-check.out): Likewise.
41673         * Makerules (check-abi-%.out): Likewise.
41674         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
41675         ($(objpfx)test2.cat): Likewise.
41676         ($(objpfx)de/libc.cat): Likewise.
41677         ($(objpfx)test-gencat.out): Likewise.
41678         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
41679         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
41680         ($(objpfx)noload-mem): Likewise.
41681         ($(objpfx)tst-pathopt.out): Likewise.
41682         ($(objpfx)tst-rtld-load-self.out): Likewise.
41683         ($(objpfx)tst-array1-cmp.out): Likewise.
41684         ($(objpfx)tst-array1-static-cmp.out): Likewise.
41685         ($(objpfx)tst-array2-cmp.out): Likewise.
41686         ($(objpfx)tst-array3-cmp.out): Likewise.
41687         ($(objpfx)tst-array4-cmp.out): Likewise.
41688         ($(objpfx)tst-array5-cmp.out): Likewise.
41689         ($(objpfx)tst-array5-static-cmp.out): Likewise.
41690         ($(objpfx)check-textrel.out): Likewise.
41691         ($(objpfx)check-execstack.out): Likewise.
41692         ($(objpfx)check-localplt.out): Likewise.
41693         ($(objpfx)order2-cmp.out): Likewise.
41694         ($(objpfx)tst-leaks1-mem): Likewise.
41695         ($(objpfx)tst-leaks1-static-mem): Likewise.
41696         ($(objpfx)tst-initorder-cmp.out): Likewise.
41697         ($(objpfx)tst-initorder2-cmp.out): Likewise.
41698         ($(objpfx)tst-unused-dep.out): Likewise.
41699         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
41700         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
41701         * iconv/Makefile (test-iconvconfig): Likewise.
41702         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
41703         ($(objpfx)iconv-test.out): Likewise.
41704         ($(objpfx)tst-tables.out): Likewise.
41705         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
41706         ($(objpfx)tst-gettext.out): Likewise.
41707         ($(objpfx)tst-translit.out): Likewise.
41708         ($(objpfx)tst-gettext2.out): Likewise.
41709         ($(objpfx)tst-gettext4.out): Likewise.
41710         ($(objpfx)tst-gettext6.out): Likewise.
41711         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
41712         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
41713         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
41714         ($(objpfx)tst-fopenloc-mem.out): Likewise.
41715         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
41716         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
41717         * posix/Makefile ($(objpfx)globtest.out): Likewise.
41718         ($(objpfx)wordexp-tst.out): Likewise.
41719         ($(objpfx)annexc.out): Likewise.
41720         ($(objpfx)tst-fnmatch-mem): Likewise.
41721         ($(objpfx)bug-regex2-mem): Likewise.
41722         ($(objpfx)bug-regex14-mem): Likewise.
41723         ($(objpfx)bug-regex21-mem): Likewise.
41724         ($(objpfx)bug-regex31-mem): Likewise.
41725         ($(objpfx)tst-vfork3-mem): Likewise.
41726         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
41727         ($(objpfx)tst-pcre-mem): Likewise.
41728         ($(objpfx)tst-boost-mem): Likewise.
41729         ($(objpfx)tst-getconf.out): Likewise.
41730         ($(objpfx)bug-ga2-mem): Likewise.
41731         ($(objpfx)bug-glob2-mem): Likewise.
41732         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
41733         ($(objpfx)mtrace-tst-leaks2): Likewise.
41734         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
41735         ($(objpfx)tst-printf.out): Likewise.
41736         ($(objpfx)tst-setvbuf1.out): Likewise.
41737         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
41738         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
41739         ($(objpfx)tst-fmtmsg.out): Likewise.
41740         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
41741         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
41743         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
41744         * bits/sigaction.h [__USE_MISC]: Likewise.
41745         * bits/waitstatus.h: Update #endif comments.
41746         * ctype/ctype.h: Likewise.
41747         * dirent/dirent.h: Likewise.
41748         [__USE_MISC]: Remove redundant conditionals.
41749         * grp/grp.h: Update #endif comments.
41750         [__USE_GNU]: Remove redundant conditionals.
41751         [__USE_MISC]: Likewise.
41752         * inet/netinet/in.h [__USE_GNU]: Likewise.
41753         * io/sys/stat.h [__USE_MISC]: Likewise.
41754         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
41755         * libio/bits/stdio.h: Update #endif comments.
41756         [__USE_MISC]: Remove redundant conditionals.
41757         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
41758         * libio/stdio.h: Update #endif comments.
41759         [__USE_MISC]: Remove redundant conditionals.
41760         * math/bits/math-finite.h [__USE_MISC]: Likewise.
41761         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
41762         * math/math.h: Update #else and #endif comments.
41763         [__USE_MISC]: Remove redundant conditionals.
41764         * misc/sys/uio.h: Update #endif comments.
41765         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
41766         * posix/glob.h [__USE_MISC]: Likewise.
41767         * posix/sys/types.h: Update #endif comments.
41768         [__USE_MISC]: Remove redundant conditionals.
41769         * posix/sys/wait.h: Update #endif comments.
41770         [__USE_MISC]: Remove redundant conditionals.
41771         * posix/unistd.h: Update #endif comments.
41772         [__USE_MISC]: Remove redundant conditionals.
41773         * pwd/pwd.h [__USE_GNU]: Likewise.
41774         [__USE_MISC]: Likewise.
41775         * resolv/netdb.h [__USE_GNU]: Likewise.
41776         * signal/signal.h: Update #endif comments.
41777         [__USE_MISC]: Remove redundant conditionals.
41778         * stdlib/stdlib.h: Update #else and #endif comments.
41779         [__USE_MISC]: Remove redundant conditionals.
41780         [__USE_GNU]: Likewise.
41781         * string/bits/string2.h [__USE_MISC]: Likewise.
41782         * string/string.h: Update #endif comments.
41783         [__USE_MISC]: Remove redundant conditionals.
41784         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
41785         Likewise.
41786         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
41787         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
41788         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
41789         Likewise.
41790         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
41791         Likewise.
41792         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
41793         comments.
41794         [__USE_MISC]: Remove redundant conditionals.
41795         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
41796         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
41797         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
41798         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
41799         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
41800         Likewise.
41801         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
41802         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
41803         Likewise.
41804         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
41805         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
41806         Likewise.
41807         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
41808         Likewise.
41809         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
41810         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
41811         Likewise.
41812         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
41813         Likewise.
41814         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
41815         * sysdeps/x86/bits/string.h: Update #endif comments.
41816         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
41817         conditionals.
41818         * time/sys/time.h: Update #endif comments.
41819         * time/time.h: Likewise.
41820         [__USE_MISC]: Remove redundant conditionals.
41822 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
41824         [BZ #16600]
41825         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
41827 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
41829         * Versions.def (librt): Add GLIBC_2.17.
41831 2014-02-21  Adam Conrad  <adconrad@0c3.net>
41833         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
41834         synonym for _SYS_AUXV_H to allow direct inclusion.
41835         * sysdeps/sparc/bits/hwcap.h: Likewise.
41836         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
41837         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
41838         * sysdeps/sparc/sysdep.h: Likewise.
41840 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
41842         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
41844 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
41846         * benchtests/bench-strrchr.c: Print length instead of position.
41848 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
41850         [BZ #16611]
41851         * sysdeps/unix/sysv/linux/kernel-features.h
41852         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
41853         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
41854         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
41855         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
41856         Likewise.
41857         [__i386__ || __powerpc__ || __sh__ || __sparc__]
41858         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41859         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
41860         (__ASSUME_SENDMMSG): Define instead of using previous
41861         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
41862         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41863         (__ASSUME_SENDMMSG_SYSCALL): Define.
41864         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41865         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
41866         Likewise.
41867         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41868         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41869         Likewise.
41870         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41871         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41872         Likewise.
41873         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
41874         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41875         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41876         [__ASSUME_SENDMMSG]: Change conditionals to
41877         [__ASSUME_SENDMMSG_SOCKETCALL].
41878         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41879         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
41880         Define.
41881         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41882         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
41883         Likewise.
41884         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
41885         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
41886         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
41887         [!__ASSUME_SENDMMSG]: Change conditional to
41888         [!__ASSUME_SENDMMSG_SOCKETCALL].
41889         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41890         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
41891         Define.
41893         [BZ #16610]
41894         * sysdeps/unix/sysv/linux/kernel-features.h
41895         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
41896         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
41897         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
41898         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
41899         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
41900         [__i386__ || __sparc__]
41901         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41902         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
41903         (__ASSUME_RECVMMSG): Define instead of using previous
41904         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
41905         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41906         (__ASSUME_RECVMMSG_SYSCALL): Define.
41907         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41908         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41909         Likewise.
41910         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41911         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41912         Likewise.
41913         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41914         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41915         Likewise.
41916         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
41917         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41918         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41919         [__ASSUME_RECVMMSG]: Change condition to
41920         [__ASSUME_RECVMMSG_SOCKETCALL].
41921         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41922         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41923         Define.
41924         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
41925         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41926         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
41927         Likewise.
41928         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
41929         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
41930         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
41931         [!__ASSUME_RECVMMSG]: Change condition to
41932         [!__ASSUME_RECVMMSG_SOCKETCALL].
41933         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41934         (__ASSUME_RECVMMSG_SYSCALL): Define.
41936         [BZ #16609]
41937         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
41938         __powerpc__ || __s390__ || __sh__ || __sparc__]
41939         (__ASSUME_SOCKETCALL): Define.
41940         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
41941         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
41942         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
41943         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
41944         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
41945         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
41946         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
41947         (__ASSUME_ACCEPT4): Define instead of using previous
41948         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
41949         __powerpc__ || __sparc__ || __s390__)] condition.
41950         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
41951         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41952         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
41953         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41954         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41955         [!__ASSUME_ACCEPT4]: Change condition to
41956         [!__ASSUME_ACCEPT4_SOCKETCALL].
41957         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
41958         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
41959         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
41960         * sysdeps/unix/sysv/linux/arm/kernel-features.h
41961         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
41962         __ASSUME_ACCEPT4_SYSCALL.
41963         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
41964         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
41965         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
41966         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
41967         __ASSUME_ACCEPT4_SYSCALL.
41968         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
41969         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
41970         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
41971         [__ASSUME_ACCEPT4]: Change condition to
41972         [__ASSUME_ACCEPT4_SOCKETCALL].
41973         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
41974         (__ASSUME_SOCKETCALL): Define.
41975         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
41976         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
41977         (__ASSUME_SOCKETCALL): Define.
41978         (__ASSUME_ACCEPT4): Remove.
41979         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
41980         Define.
41981         * sysdeps/unix/sysv/linux/mips/kernel-features.h
41982         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
41983         Likewise.
41984         * sysdeps/unix/sysv/linux/tile/kernel-features.h
41985         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
41987         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
41988         macro.
41989         (HWCAP_ARM_LPAE): Likewise.
41990         (HWCAP_ARM_EVTSTRM): Likewise.
41991         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
41992         Add vpfd32, lpae and evtstrm.
41993         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
41994         Increase to 22.
41996 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
41998         * math/auto-libm-test-in: Add tests of clog10.
41999         * math/auto-libm-test-out: Regenerated.
42000         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
42001         * sysdeps/i386/fpu/libm-test-ulps: Update.
42002         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42004 2014-02-18  Andreas Schwab  <schwab@suse.de>
42006         [BZ #16574]
42007         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
42008         Store non-zero if the second buffer was newly allocated.
42009         (send_dg): Likewise.
42010         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
42011         to send_vc and send_dg.
42012         (res_nsend): Pass NULL for ansp2_malloced.
42013         * resolv/res_query.c (__libc_res_nquery): Add parameter
42014         answerp2_malloced and pass it down to __libc_res_nsend.
42015         (res_nquery): Pass additional NULL to __libc_res_nquery.
42016         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
42017         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
42018         second answer buffer if answerp2_malloced was set.
42019         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
42020         (__libc_res_nquerydomain): Add parameter
42021         answerp2_malloced and pass it down to __libc_res_nquery.
42022         (res_nquerydomain): Pass additional NULL to
42023         __libc_res_nquerydomain.
42024         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
42025         additional NULL to __libc_res_nsend and __libc_res_nquery.
42026         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
42027         additional NULL to __libc_res_nsearch.
42028         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
42029         parameter of __libc_res_nsearch to check for separately allocated
42030         second buffer.
42031         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
42032         __libc_res_nquery.
42033         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
42034         additional NULL to __libc_res_nquery.
42035         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
42036         __libc_res_nsearch.
42037         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
42038         * include/resolv.h: Update prototypes of __libc_res_nquery,
42039         __libc_res_nsearch, __libc_res_nsend.
42041 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
42043         * math/auto-libm-test-in: Add tests of fma.
42044         * math/auto-libm-test-out: Regenerated.
42045         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
42046         (fma_towardzero_test_data): Likewise.
42047         (fma_downward_test_data): Likewise.
42048         (fma_upward_test_data): Likewise.
42049         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
42050         mpc_mode.
42051         (rounding_modes): Add values for new field.
42052         (func_calc_method): Add value mpfr_fff_f.
42053         (func_calc_desc): Add mpfr_fff_f union field.
42054         (test_function): Add field exact_args.
42055         (FUNC): Add macro argument EXACT_ARGS.
42056         (FUNC_mpfr_f_f): Update call to FUNC.
42057         (FUNC_mpfr_f_f): Likewise.
42058         (FUNC_mpfr_ff_f): Likewise.
42059         (FUNC_mpfr_if_f): Likewise.
42060         (FUNC_mpc_c_f): Likewise.
42061         (FUNC_mpc_c_c): Likewise.
42062         (test_functions): Add fma.  Update calls to FUNC.
42063         (handle_input_arg): Add argument exact_args.
42064         (add_test): Update call to handle_input_arg.
42065         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
42066         (output_for_one_input_case): Update call to calc_generic_results.
42067         Recalculate exact zero results in each rounding mode.
42069         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
42070         non-negative before setting low bit.
42071         * math/auto-libm-test-in: Mark one asin test possibly having
42072         spurious underflow.
42073         * math/auto-libm-test-out: Regenerated.
42074         * sysdeps/i386/fpu/libm-test-ulps: Update.
42075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42077 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
42079         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
42080         * sysdeps/unix/sysv/linux/microblaze: Move directory from
42081         ports/sysdeps/unix/sysv/linux/microblaze.
42082         * README: Add missing listing for microblaze*-*-linux-gnu.
42084 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
42086         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
42087         duplicate code
42089 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
42091         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
42092         * sysdeps/unix/sysv/linux/ia64: Move directory from
42093         ports/sysdeps/unix/sysv/linux/ia64.
42094         * README: Update listing for ia64-*-linux-gnu.
42096 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
42097             Joseph Myers  <joseph@codesourcery.com>
42099         * Makeconfig (test-name): New variable.
42100         (evaluate-test): Likewise.
42101         * Makerules (do-test-clean): Remove .test-result files.
42102         (common-mostlyclean): Likewise.
42103         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
42104         * scripts/evaluate-test.sh: New file.
42106 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
42108         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
42109         separate $(objpfx)tst-fopenloc-cmp.out and
42110         $(objpfx)tst-fopenloc-mem.out targets.
42111         (tests): Update dependencies.
42112         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
42113         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
42114         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
42115         (tst-rxspencer-no-utf8-ARGS): New variable.
42116         (tst-rxspencer-no-utf8-ENV): Likewise.
42117         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
42118         instead of $(objpfx)tst-rxspencer-mem.
42119         ($(objpfx)tst-rxspencer-mem): Change target to
42120         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
42121         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
42122         * posix/tst-rxspencer-no-utf8.c: New file.
42124         * elf/Makefile ($(objpfx)order.out): Remove rule.
42125         [$(run-built-tests) = yes] (tests): Depend on
42126         $(objpfx)order-cmp.out.
42127         ($(objpfx)order-cmp.out): New rule.
42128         [$(run-built-tests) = yes] (tests): Depend on
42129         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
42130         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
42131         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
42132         $(objpfx)tst-array5-static-cmp.out.
42133         ($(objpfx)tst-array1.out): Remove rule.
42134         ($(objpfx)tst-array1-cmp.out): New rule.
42135         ($(objpfx)tst-array1-static.out): Remove rule.
42136         ($(objpfx)tst-array1-static-cmp.out): New rule.
42137         ($(objpfx)tst-array2.out): Remove rule.
42138         ($(objpfx)tst-array2-cmp.out): New rule.
42139         ($(objpfx)tst-array3.out): Remove rule.
42140         ($(objpfx)tst-array3-cmp.out): New rule.
42141         ($(objpfx)tst-array4.out): Remove rule.
42142         ($(objpfx)tst-array4-cmp.out): New rule.
42143         ($(objpfx)tst-array5.out): Remove rule.
42144         ($(objpfx)tst-array5-cmp.out): New rule.
42145         ($(objpfx)tst-array5-static.out): Remove rule.
42146         ($(objpfx)tst-array5-static-cmp.out): New rule.
42147         [$(run-built-tests) = yes] (tests): Depend on
42148         $(objpfx)order2-cmp.out.
42149         ($(objpfx)order2.out): Remove rule.
42150         ($(objpfx)order2-cmp.out): New rule.
42151         ($(objpfx)tst-initorder.out): Remove rule.
42152         [$(run-built-tests) = yes] (tests): Depend on
42153         $(objpfx)tst-initorder-cmp.out.
42154         ($(objpfx)tst-initorder-cmp.out): New rule.
42155         ($(objpfx)tst-initorder2.out): Remove rule.
42156         [$(run-built-tests) = yes] (tests): Depend on
42157         $(objpfx)tst-initorder2-cmp.out.
42158         ($(objpfx)tst-initorder2-cmp.out): New rule.
42159         [$(run-built-tests) = yes] (tests): Depend on
42160         $(objpfx)tst-unused-dep-cmp.out.
42161         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
42162         ($(objpfx)tst-unused-dep-cmp.out): New rule.
42163         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
42164         on $(objpfx)tst-setvbuf1-cmp.out.
42165         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
42166         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
42167         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
42168         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
42169         ($(objpfx)tst-svc.out): Remove rule.
42170         ($(objpfx)tst-svc-cmp.out): New rule.
42172 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
42174         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
42175         * ctype/ctype.h [__USE_MISC]: Likewise.
42176         * dirent/dirent.h [__USE_MISC]: Likewise.
42177         * grp/grp.h [__USE_MISC]: Likewise.
42178         * io/fcntl.h [__USE_MISC]: Likewise.
42179         * io/sys/stat.h [__USE_MISC]: Likewise.
42180         * libio/stdio.h [__USE_MISC]: Likewise.
42181         * posix/unistd.h [__USE_MISC]: Likewise.
42182         * pwd/pwd.h [__USE_MISC]: Likewise.
42183         * stdlib.h [__USE_MISC]: Likewise.
42184         * string/bits/string2.h [__USE_MISC]: Likewise.
42185         * string/string.h [__USE_MISC]: Likewise.
42186         * time/time.h [__USE_MISC]: Likewise.
42188 2014-02-13  Andreas Schwab  <schwab@suse.de>
42190         [BZ #16574]
42191         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
42192         second answer buffer if it was separately allocated.
42194 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
42196         * sysdeps/mips/math-tests.h: Include <features.h>.
42197         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42198         (ROUNDING_TESTS_long_double): Do not define.
42199         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
42200         (EXCEPTION_TESTS_long_double): Likewise.
42201         * sysdeps/mips/mips64/libm-test-ulps: Update.
42203         * include/features.h (__USE_BSD): Remove macro definitions.
42204         (__USE_SVID): Likewise.
42205         (_BSD_SOURCE): Likewise.
42206         (_SVID_SOURCE): Likewise.
42207         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
42208         from definition of _DEFAULT_SOURCE.
42209         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
42210         [_DEFAULT_SOURCE].
42211         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
42212         * bits/mman.h [__USE_BSD]: Likewise.
42213         * bits/termios.h [__USE_BSD]: Likewise.
42214         * bits/waitstatus.h [__USE_BSD]: Likewise.
42215         * ctype/ctype.h [__USE_SVID]: Likewise.
42216         * dirent/dirent.h [__USE_BSD]: Likewise.
42217         * grp/grp.h [__USE_SVID]: Likewise.
42218         [__USE_BSD]: Likewise.
42219         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
42220         * io/fcntl.h [__USE_BSD]: Likewise.
42221         * io/ftw.h [__USE_BSD]: Likewise.
42222         * io/sys/stat.h [__USE_BSD]: Likewise.
42223         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
42224         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
42225         * libio/stdio.h [__USE_SVID]: Likewise.
42226         [__USE_BSD]: Likewise.
42227         * math/math.h [__USE_SVID]: Likewise.
42228         [__USE_BSD]: Likewise.
42229         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
42230         * misc/bits/syslog.h [__USE_BSD]: Likewise.
42231         * misc/search.h [__USE_SVID]: Likewise.
42232         * misc/sys/mman.h [__USE_BSD]: Likewise.
42233         * misc/sys/syslog.h [__USE_BSD]: Likewise.
42234         * misc/sys/uio.h [__USE_BSD]: Likewise.
42235         * posix/bits/unistd.h [__USE_BSD]: Likewise.
42236         * posix/glob.h [__USE_BSD]: Likewise.
42237         * posix/regex.h [__USE_BSD]: Likewise.
42238         * posix/sys/types.h [__USE_BSD]: Likewise.
42239         [__USE_SVID]: Likewise.
42240         * posix/sys/utsname.h [__USE_SVID]: Likewise.
42241         * posix/sys/wait.h [__USE_BSD]: Likewise.
42242         [__USE_SVID]: Likewise.
42243         * posix/unistd.h [__USE_BSD]: Likewise.
42244         [__USE_SVID]: Likewise.
42245         * pwd/pwd.h [__USE_SVID]: Likewise.
42246         * resolv/netdb.h [__USE_BSD]: Likewise.
42247         * setjmp/setjmp.h [__USE_BSD]: Likewise.
42248         * signal/signal.h [__USE_BSD]: Likewise.
42249         [__USE_SVID]: Likewise.
42250         * socket/sys/socket.h [__USE_BSD]: Likewise.
42251         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
42252         * stdlib/stdlib.h [__USE_BSD]: Likewise.
42253         [__USE_SVID]: Likewise.
42254         * string/bits/string2.h [__USE_BSD]: Likewise.
42255         [__USE_SVID]: Likewise.
42256         * string/bits/string3.h [__USE_BSD]: Likewise.
42257         * string/endian.h [__USE_BSD]: Likewise.
42258         * string/string.h [__USE_SVID]: Likewise.
42259         [__USE_BSD]: Likewise.
42260         * string/strings.h [__USE_BSD]: Likewise.
42261         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
42262         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
42263         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
42264         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
42265         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
42266         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
42267         Likewise.
42268         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
42269         Likewise.
42270         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
42271         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
42272         Likewise.
42273         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
42274         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
42275         Likewise.
42276         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
42277         Likewise.
42278         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
42279         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
42280         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
42281         Likewise.
42282         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
42283         Likewise.
42284         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
42285         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
42286         * termios/termios.h [__USE_BSD]: Likewise.
42287         * time/sys/time.h [__USE_BSD]: Likewise.
42288         * time/time.h [__USE_BSD]: Likewise.
42289         [__USE_SVID]: Likewise.
42291         * Makefile (subdir_targets): Remove subdir_lint.out.
42293         * stdio-common/Makefile (do-tst-unbputc): Remove target.
42294         (do-tst-printf): Likewise.
42295         (tests): Depend directly on $(objpfx)tst-unbputc.out and
42296         $(objpfx)tst-printf.out.
42298         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
42300         * Makerules (check-abi-%): Change target to
42301         $(objpfx)check-abi-%.out.
42302         (check-abi target): Update dependencies.
42303         (check-abi-pattern variable): Redirect output of diff to $@.
42304         (check-abi variable): Likewise.
42305         * elf/Makefile (check-abi): Update dependencies.
42307         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
42308         unused.
42309         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
42310         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
42311         subnormal range.
42312         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
42313         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
42314         value has largest subnormal exponent.
42315         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
42316         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
42317         * sysdeps/aarch64/soft-fp/sfp-machine.h
42318         (_FP_TININESS_AFTER_ROUNDING): New macro.
42319         * sysdeps/alpha/soft-fp/sfp-machine.h
42320         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42321         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42322         Likewise.
42323         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
42324         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42325         * sysdeps/mips/soft-fp/sfp-machine.h
42326         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42327         * sysdeps/powerpc/soft-fp/sfp-machine.h
42328         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42329         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42330         Likewise.
42331         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
42332         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42333         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
42334         (_FP_TININESS_AFTER_ROUNDING): Likewise.
42335         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
42336         Likewise.
42338 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
42340         [BZ #16545]
42341         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
42342         model 1.
42344 2014-02-12  Richard Henderson  <rth@redhat.com>
42346         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
42347         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
42348         * sysdeps/unix/sysv/linux/alpha: Move directory from
42349         ports/sysdeps/unix/sysv/linux/alpha.
42350         * README: Update listing for alpha-*-linux-gnu.
42352 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
42354         * include/features.h: Update comment documenting feature test
42355         macros.
42356         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
42357         _DEFAULT_SOURCE.
42358         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
42359         (_SVID_SOURCE): Likewise.
42360         (_DEFAULT_SOURCE): Update description of default features.
42361         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
42362         with _GNU_SOURCE.
42363         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
42364         (S_ISVTX): Likewise.
42365         * manual/math.texi (Mathematical Constants): Likewise.
42366         * manual/signal.texi (Interrupted Primitives): Likewise.
42367         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
42368         * math/test-matherr.c (_SVID_SOURCE): Do not define.
42369         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
42370         Don't refer to _SVID_SOURCE in warning text.
42372         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42374         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
42375         already defined.
42376         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
42377         * sysdeps/mips/dl-lookup.c: Remove.
42378         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
42380 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
42382         [BZ #16447]
42383         * math/auto-libm-test-in: Add testcase for expl.
42384         * math/auto-libm-test-out: Regenerate.
42385         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
42386         calculation of unsafe.
42387         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
42389 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
42391         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
42392         * sysdeps/unix/sysv/linux/aarch64: Move directory from
42393         ports/sysdeps/unix/sysv/linux/aarch64.
42394         * README: Update listing for aarch64*-*-linux-gnu.
42396 2014-02-11  Will Newton  <will.newton@linaro.org>
42398         * manual/probes.texi (Mathematical Function Probes): Use
42399         "triggered" instead of "hit".
42401         * manual/probes.texi (Internal Probes): Add documentation
42402         of setjmp, longjmp and longjmp_target probes.
42404         * include/stap-probe.h: Add comment about probe argument
42405         format.
42407         * malloc/mtrace.c (attribute_hidden): Remove unused macro
42408         definition.  (tr_where, tr_freehook, tr_mallochook,
42409         tr_reallochook, tr_memalignhook): Use ANSI protoype.
42411 2014-02-11  David S. Miller  <davem@davemloft.net>
42413         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
42414         processing int_tests.
42416 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
42418         * sysdeps/mips: Move directory from ports/sysdeps/mips.
42419         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
42420         * sysdeps/unix/sysv/linux/mips: Move directory from
42421         ports/sysdeps/unix/sysv/linux/mips.
42422         * README: Update listing for mips-*-linux-gnu and
42423         mips64-*-linux-gnu.
42425 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
42427         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
42428         * sysdeps/unix/sysv/linux/m68k: Move directory from
42429         ports/sysdeps/unix/sysv/linux/m68k.
42430         * README: Update listing for m68k-*-linux-gnu.
42432 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
42434         * sysdeps/tile: Move directory from ports/sysdeps/tile.
42435         * sysdeps/unix/sysv/linux/generic: Move directory from
42436         ports/sysdeps/unix/sysv/linux/generic.
42437         * sysdeps/unix/sysv/linux/tile: Move directory from
42438         ports/sysdeps/unix/sysv/linux/tile.
42439         * README: Update listing for tile*-*-linux-gnu.
42441 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
42443         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
42444         __builtin_expect.
42445         * benchtests/bench-memmem.c (simple_memmem): Likewise.
42446         * catgets/open_catalog.c (__open_catalog): Likewise.
42447         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
42448         * debug/confstr_chk.c: Likewise.
42449         * debug/fread_chk.c (__fread_chk): Likewise.
42450         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
42451         * debug/getgroups_chk.c: Likewise.
42452         * debug/mbsnrtowcs_chk.c: Likewise.
42453         * debug/mbsrtowcs_chk.c: Likewise.
42454         * debug/mbstowcs_chk.c: Likewise.
42455         * debug/memcpy_chk.c: Likewise.
42456         * debug/memmove_chk.c: Likewise.
42457         * debug/mempcpy_chk.c: Likewise.
42458         * debug/memset_chk.c: Likewise.
42459         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
42460         * debug/strcat_chk.c (__strcat_chk): Likewise.
42461         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
42462         * debug/strncat_chk.c (__strncat_chk): Likewise.
42463         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
42464         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
42465         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
42466         * debug/wcpncpy_chk.c: Likewise.
42467         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
42468         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
42469         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
42470         * debug/wcsncpy_chk.c: Likewise.
42471         * debug/wcsnrtombs_chk.c: Likewise.
42472         * debug/wcsrtombs_chk.c: Likewise.
42473         * debug/wcstombs_chk.c: Likewise.
42474         * debug/wmemcpy_chk.c: Likewise.
42475         * debug/wmemmove_chk.c: Likewise.
42476         * debug/wmempcpy_chk.c: Likewise.
42477         * debug/wmemset_chk.c: Likewise.
42478         * dirent/scandirat.c (SCANDIRAT): Likewise.
42479         * dlfcn/dladdr1.c (dladdr1): Likewise.
42480         * dlfcn/dladdr.c (dladdr): Likewise.
42481         * dlfcn/dlclose.c (dlclose_doit): Likewise.
42482         * dlfcn/dlerror.c (__dlerror): Likewise.
42483         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
42484         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
42485         * dlfcn/dlopen.c (dlopen_doit): Likewise.
42486         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
42487         * dlfcn/dlsym.c (dlsym_doit): Likewise.
42488         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
42489         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
42490         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
42491         Likewise.
42492         * elf/dl-conflict.c: Likewise.
42493         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
42494         * elf/dl-dst.h: Likewise.
42495         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
42496         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
42497         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
42498         * elf/dl-init.c (call_init, _dl_init): Likewise.
42499         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
42500         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
42501         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
42502         Likewise.
42503         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
42504         Likewise.
42505         * elf/dl-minimal.c (__libc_memalign): Likewise.
42506         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
42507         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
42508         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
42509         * elf/dl-sym.c (do_sym): Likewise.
42510         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
42511         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
42512         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
42513         * elf/dl-writev.h (_dl_writev): Likewise.
42514         * elf/ldconfig.c (search_dir): Likewise.
42515         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
42516         (dl_main): Likewise.
42517         * elf/setup-vdso.h (setup_vdso): Likewise.
42518         * grp/compat-initgroups.c (compat_call): Likewise.
42519         * grp/fgetgrent.c (fgetgrent): Likewise.
42520         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
42521         * grp/putgrent.c (putgrent): Likewise.
42522         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
42523         Likewise.
42524         * hurd/hurdinit.c: Likewise.
42525         * iconvdata/8bit-gap.c (struct): Likewise.
42526         * iconvdata/ansi_x3.110.c : Likewise.
42527         * iconvdata/big5.c : Likewise.
42528         * iconvdata/big5hkscs.c : Likewise.
42529         * iconvdata/cp1255.c: Likewise.
42530         * iconvdata/cp1258.c : Likewise.
42531         * iconvdata/cp932.c : Likewise.
42532         * iconvdata/euc-cn.c: Likewise.
42533         * iconvdata/euc-jisx0213.c : Likewise.
42534         * iconvdata/euc-jp.c: Likewise.
42535         * iconvdata/euc-jp-ms.c : Likewise.
42536         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
42537         * iconvdata/gb18030.c : Likewise.
42538         * iconvdata/gbbig5.c (const): Likewise.
42539         * iconvdata/gbgbk.c: Likewise.
42540         * iconvdata/gbk.c : Likewise.
42541         * iconvdata/ibm1364.c : Likewise.
42542         * iconvdata/ibm930.c : Likewise.
42543         * iconvdata/ibm932.c: Likewise.
42544         * iconvdata/ibm933.c : Likewise.
42545         * iconvdata/ibm935.c : Likewise.
42546         * iconvdata/ibm937.c : Likewise.
42547         * iconvdata/ibm939.c : Likewise.
42548         * iconvdata/ibm943.c: Likewise.
42549         * iconvdata/iso_11548-1.c: Likewise.
42550         * iconvdata/iso-2022-cn.c : Likewise.
42551         * iconvdata/iso-2022-cn-ext.c : Likewise.
42552         * iconvdata/iso-2022-jp-3.c: Likewise.
42553         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
42554         * iconvdata/iso-2022-kr.c : Likewise.
42555         * iconvdata/iso646.c (gconv_end): Likewise.
42556         * iconvdata/iso_6937-2.c : Likewise.
42557         * iconvdata/iso_6937.c : Likewise.
42558         * iconvdata/iso8859-1.c: Likewise.
42559         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
42560         * iconvdata/shift_jisx0213.c : Likewise.
42561         * iconvdata/sjis.c : Likewise.
42562         * iconvdata/t.61.c : Likewise.
42563         * iconvdata/tcvn5712-1.c : Likewise.
42564         * iconvdata/tscii.c: Likewise.
42565         * iconvdata/uhc.c : Likewise.
42566         * iconvdata/unicode.c (gconv_end): Likewise.
42567         * iconvdata/utf-16.c (gconv_end): Likewise.
42568         * iconvdata/utf-32.c (gconv_end): Likewise.
42569         * iconvdata/utf-7.c (base64): Likewise.
42570         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
42571         * iconv/gconv_close.c (__gconv_close): Likewise.
42572         * iconv/gconv_open.c (__gconv_open): Likewise.
42573         * iconv/gconv_simple.c (internal_ucs4_loop_single)
42574         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
42575         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
42576         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
42577         (ucs4le_internal_loop_single): Likewise.
42578         * iconv/iconv.c (iconv): Likewise.
42579         * iconv/iconv_close.c: Likewise.
42580         * iconv/loop.c (SINGLE): Likewise.
42581         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
42582         * include/atomic.h: Likewise.
42583         * inet/inet6_option.c (option_alloc): Likewise.
42584         * intl/bindtextdom.c (set_binding_values): Likewise.
42585         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
42586         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
42587         * intl/localealias.c (read_alias_file): Likewise.
42588         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
42589         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
42590         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
42591         * libio/fmemopen.c (fmemopen): Likewise.
42592         * libio/iofgets.c (_IO_fgets): Likewise.
42593         * libio/iofgets_u.c (fgets_unlocked): Likewise.
42594         * libio/iofgetws.c (fgetws): Likewise.
42595         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
42596         * libio/iogetdelim.c (_IO_getdelim): Likewise.
42597         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
42598         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
42599         * locale/findlocale.c (_nl_find_locale): Likewise.
42600         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
42601         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
42602         Likewise.
42603         * locale/setlocale.c (setlocale): Likewise.
42604         * login/programs/pt_chown.c (main): Likewise.
42605         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
42606         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
42607         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
42608         (mmap, mmap64, mremap, munmap): Likewise.
42609         * math/e_exp2l.c: Likewise.
42610         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
42611         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
42612         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
42613         * math/s_catan.c (__catan): Likewise.
42614         * math/s_catanf.c (__catanf): Likewise.
42615         * math/s_catanh.c (__catanh): Likewise.
42616         * math/s_catanhf.c (__catanhf): Likewise.
42617         * math/s_catanhl.c (__catanhl): Likewise.
42618         * math/s_catanl.c (__catanl): Likewise.
42619         * math/s_ccosh.c (__ccosh): Likewise.
42620         * math/s_ccoshf.c (__ccoshf): Likewise.
42621         * math/s_ccoshl.c (__ccoshl): Likewise.
42622         * math/s_cexp.c (__cexp): Likewise.
42623         * math/s_cexpf.c (__cexpf): Likewise.
42624         * math/s_cexpl.c (__cexpl): Likewise.
42625         * math/s_clog10.c (__clog10): Likewise.
42626         * math/s_clog10f.c (__clog10f): Likewise.
42627         * math/s_clog10l.c (__clog10l): Likewise.
42628         * math/s_clog.c (__clog): Likewise.
42629         * math/s_clogf.c (__clogf): Likewise.
42630         * math/s_clogl.c (__clogl): Likewise.
42631         * math/s_csin.c (__csin): Likewise.
42632         * math/s_csinf.c (__csinf): Likewise.
42633         * math/s_csinh.c (__csinh): Likewise.
42634         * math/s_csinhf.c (__csinhf): Likewise.
42635         * math/s_csinhl.c (__csinhl): Likewise.
42636         * math/s_csinl.c (__csinl): Likewise.
42637         * math/s_csqrt.c (__csqrt): Likewise.
42638         * math/s_csqrtf.c (__csqrtf): Likewise.
42639         * math/s_csqrtl.c (__csqrtl): Likewise.
42640         * math/s_ctan.c (__ctan): Likewise.
42641         * math/s_ctanf.c (__ctanf): Likewise.
42642         * math/s_ctanh.c (__ctanh): Likewise.
42643         * math/s_ctanhf.c (__ctanhf): Likewise.
42644         * math/s_ctanhl.c (__ctanhl): Likewise.
42645         * math/s_ctanl.c (__ctanl): Likewise.
42646         * math/w_pow.c: Likewise.
42647         * math/w_powf.c: Likewise.
42648         * math/w_powl.c: Likewise.
42649         * math/w_scalb.c (sysv_scalb): Likewise.
42650         * math/w_scalbf.c (sysv_scalbf): Likewise.
42651         * math/w_scalbl.c (sysv_scalbl): Likewise.
42652         * misc/error.c (error_tail): Likewise.
42653         * misc/pselect.c (__pselect): Likewise.
42654         * nis/nis_callback.c (__nis_create_callback): Likewise.
42655         * nis/nis_call.c (__nisfind_server): Likewise.
42656         * nis/nis_creategroup.c (nis_creategroup): Likewise.
42657         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
42658         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
42659         * nis/nis_getservlist.c (nis_getservlist): Likewise.
42660         * nis/nis_lookup.c (nis_lookup): Likewise.
42661         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
42662         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
42663         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
42664         * nis/nis_xdr.c (xdr_endpoint): Likewise.
42665         * nis/nss_compat/compat-grp.c (getgrent_next_file)
42666         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
42667         * nis/nss_compat/compat-initgroups.c (add_group)
42668         (internal_getgrent_r): Likewise.
42669         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
42670         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
42671         * nis/nss_compat/compat-spwd.c (getspent_next_file)
42672         (internal_getspnam_r): Likewise.
42673         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
42674         (_nss_nis_getaliasbyname_r): Likewise.
42675         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
42676         (_nss_nis_getntohost_r): Likewise.
42677         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
42678         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
42679         (_nss_nis_getgrgid_r): Likewise.
42680         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
42681         (internal_nis_gethostent_r, internal_gethostbyname2_r)
42682         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
42683         (_nss_nis_gethostbyname4_r): Likewise.
42684         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
42685         (initgroups_netid): Likewise.
42686         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
42687         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
42688         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
42689         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
42690         (_nss_nis_getprotobynumber_r): Likewise.
42691         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
42692         (_nss_nis_getsecretkey): Likewise.
42693         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
42694         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
42695         (_nss_nis_getpwuid_r): Likewise.
42696         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
42697         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
42698         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
42699         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
42700         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
42701         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
42702         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
42703         Likewise.
42704         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
42705         (_nss_nisplus_getntohost_r): Likewise.
42706         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
42707         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
42708         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
42709         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
42710         Likewise.
42711         * nis/nss_nisplus/nisplus-initgroups.c
42712         (_nss_nisplus_initgroups_dyn): Likewise.
42713         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
42714         (_nss_nisplus_getnetbyaddr_r): Likewise.
42715         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
42716         (_nss_nisplus_getprotobynumber_r): Likewise.
42717         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
42718         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
42719         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
42720         Likewise.
42721         * nis/nss_nisplus/nisplus-service.c
42722         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
42723         (_nss_nisplus_getservbyport_r): Likewise.
42724         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
42725         (_nss_nisplus_getspnam_r): Likewise.
42726         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
42727         Likewise.
42728         * nscd/aicache.c (addhstaiX): Likewise.
42729         * nscd/cache.c (cache_search, prune_cache): Likewise.
42730         * nscd/connections.c (register_traced_file, send_ro_fd)
42731         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
42732         (main_loop_epoll): Likewise.
42733         * nscd/grpcache.c (addgrbyX): Likewise.
42734         * nscd/hstcache.c (addhstbyX): Likewise.
42735         * nscd/initgrcache.c (addinitgroupsX): Likewise.
42736         * nscd/mem.c (gc, mempool_alloc): Likewise.
42737         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
42738         (addinnetgrX): Likewise.
42739         * nscd/nscd-client.h (__nscd_acquire_maplock)
42740         (__nscd_drop_map_ref): Likewise.
42741         * nscd/nscd_getai.c (__nscd_getai): Likewise.
42742         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
42743         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
42744         Likewise.
42745         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
42746         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42747         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
42748         (__nscd_get_map_ref): Likewise.
42749         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
42750         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
42751         Likewise.
42752         * nscd/pwdcache.c (addpwbyX): Likewise.
42753         * nscd/selinux.c (preserve_capabilities): Likewise.
42754         * nscd/servicescache.c (addservbyX): Likewise.
42755         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
42756         * posix/fnmatch.c (fnmatch): Likewise.
42757         * posix/getopt.c (_getopt_internal_r): Likewise.
42758         * posix/glob.c (glob, glob_in_dir): Likewise.
42759         * posix/wordexp.c (exec_comm_child): Likewise.
42760         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
42761         (getanswer_r, gaih_getanswer_slice): Likewise.
42762         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
42763         * resolv/res_init.c: Likewise.
42764         * resolv/res_mkquery.c (res_nmkquery): Likewise.
42765         * resolv/res_query.c (__libc_res_nquery): Likewise.
42766         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
42767         Likewise.
42768         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
42769         * stdio-common/perror.c (perror): Likewise.
42770         * stdio-common/printf_fp.c (___printf_fp): Likewise.
42771         * stdio-common/tmpnam.c (tmpnam): Likewise.
42772         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
42773         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
42774         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
42775         Likewise.
42776         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
42777         * stdlib/putenv.c (putenv): Likewise.
42778         * stdlib/setenv.c (__add_to_environ): Likewise.
42779         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
42780         * stdlib/strtol_l.c (INTERNAL): Likewise.
42781         * string/memmem.c (memmem): Likewise.
42782         * string/strerror.c (strerror): Likewise.
42783         * string/strnlen.c (__strnlen): Likewise.
42784         * string/test-memmem.c (simple_memmem): Likewise.
42785         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
42786         * sunrpc/pm_getport.c (__get_socket): Likewise.
42787         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
42788         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
42789         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
42790         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
42791         Likewise.
42792         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
42793         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
42794         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
42795         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
42796         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
42797         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
42798         Likewise.
42799         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
42800         Likewise.
42801         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
42802         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
42803         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
42804         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
42805         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
42806         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
42807         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
42808         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
42809         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
42810         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
42811         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
42812         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
42813         Likewise.
42814         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
42815         Likewise.
42816         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
42817         Likewise.
42818         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
42819         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42820         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
42821         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
42822         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
42823         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
42824         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
42825         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
42826         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
42827         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
42828         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
42829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42830         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
42831         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
42832         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
42833         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
42834         Likewise.
42835         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
42836         Likewise.
42837         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
42838         Likewise.
42839         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
42840         Likewise.
42841         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
42842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
42843         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
42844         Likewise.
42845         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
42846         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
42847         * sysdeps/posix/opendir.c (__opendirat): Likewise.
42848         * sysdeps/posix/sleep.c: Likewise.
42849         * sysdeps/posix/tempname.c: Likewise.
42850         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
42851         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
42852         Likewise.
42853         * sysdeps/powerpc/powerpc32/dl-machine.h
42854         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
42855         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
42856         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
42857         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
42858         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
42859         Likewise.
42860         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
42861         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
42862         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42863         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
42864         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
42865         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
42866         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
42867         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
42868         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
42869         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
42870         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
42871         (elf_machine_lazy_rel): Likewise.
42872         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42873         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
42874         (elf_machine_lazy_rel): Likewise.
42875         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
42876         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
42877         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
42878         * sysdeps/unix/grantpt.c (grantpt): Likewise.
42879         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
42880         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
42881         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
42882         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42883         Likewise.
42884         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
42885         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
42886         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
42887         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
42888         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
42889         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
42890         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
42891         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
42892         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
42893         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
42894         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
42895         Likewise.
42896         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
42897         (__posix_fallocate64_l64): Likewise.
42898         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
42899         (posix_fallocate): Likewise.
42900         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
42901         Likewise.
42902         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
42903         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
42904         (getifaddrs_internal): Likewise.
42905         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
42906         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
42907         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
42908         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
42909         * sysdeps/unix/sysv/linux/posix_fallocate64.c
42910         (__posix_fallocate64_l64): Likewise.
42911         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
42912         Likewise.
42913         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
42914         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
42915         (__get_clockfreq): Likewise.
42916         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
42917         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
42918         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
42919         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
42920         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
42921         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
42922         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
42923         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
42924         Likewise.
42925         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
42926         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
42927         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
42928         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
42929         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
42930         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
42931         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
42932         Likewise.
42933         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42934         (posix_fallocate): Likewise.
42935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
42936         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
42937         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
42938         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
42939         (elf_machine_rela, elf_machine_rela_relative)
42940         (elf_machine_lazy_rel): Likewise.
42941         * time/asctime.c (asctime_internal): Likewise.
42942         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
42943         * time/tzset.c (__tzset_parse_tz): Likewise.
42944         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
42945         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
42946         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
42947         * wcsmbs/wcsmbsload.h: Likewise.
42949         [BZ #15894]
42950         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
42952         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
42953         (arena_get2): Remove THREAD_STATS conditionals.
42954         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
42955         (__malloc_stats, int): Likewise.
42957 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
42959         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
42960         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
42962         * manual/setjmp.texi: Fix typos/grammar errors.
42964         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
42965         Only return early when n is <= 0.  Delete unused return statement.
42967         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
42968         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
42969         * debug/tst-longjmp_chk3.c: New file.
42971         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
42972         (test_main): Replace code with set_fortify_handler call.
42973         * debug/test-strcpy_chk.c: Likewise.
42974         * debug/tst-chk1.c: Likewise.
42975         * debug/tst-longjmp_chk.c: Likewise.
42976         * test-skeleton.c: Include fcntl.h & paths.h
42977         (set_fortify_handler): Define.
42979         * debug/tst-longjmp_chk.c: Add header comment and include
42980         ../test-skeleton.c.
42981         (do_test): Mark static.
42982         (TEST_FUNCTION): Define.
42984         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
42985         (IP_PMTUDISC_INTERFACE): Likewise.
42986         (IP_MULTICAST_IF): Likewise.
42987         (IP_MULTICAST_TTL): Likewise.
42988         (IP_MULTICAST_LOOP): Likewise.
42989         (IP_ADD_MEMBERSHIP): Likewise.
42990         (IP_DROP_MEMBERSHIP): Likewise.
42991         (IP_UNBLOCK_SOURCE): Likewise.
42992         (IP_BLOCK_SOURCE): Likewise.
42993         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
42994         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
42995         (IP_MSFILTER): Likewise.
42996         (MCAST_JOIN_GROUP): Likewise.
42997         (MCAST_BLOCK_SOURCE): Likewise.
42998         (MCAST_UNBLOCK_SOURCE): Likewise.
42999         (MCAST_LEAVE_GROUP): Likewise.
43000         (MCAST_JOIN_SOURCE_GROUP): Likewise.
43001         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
43002         (MCAST_MSFILTER): Likewise.
43003         (IP_MULTICAST_ALL): Likewise.
43004         (IP_UNICAST_IF): Likewise.
43006         * timezone/Makefile: Delete $(have-ksh) check.
43007         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
43008         * timezone/tzselect.ksh: Add +x mode bits.
43010         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
43011         (ANON_INODE_FS_MAGIC): Likewise.
43012         (BDEVFS_MAGIC): Likewise.
43013         (BINFMTFS_MAGIC): Likewise.
43014         (BTRFS_TEST_MAGIC): Likewise.
43015         (CRAMFS_MAGIC_WEND): Likewise.
43016         (DEBUGFS_MAGIC): Likewise.
43017         (ECRYPTFS_SUPER_MAGIC): Likewise.
43018         (EXT3_SUPER_MAGIC): Likewise.
43019         (EXT4_SUPER_MAGIC): Likewise.
43020         (FUTEXFS_SUPER_MAGIC): Likewise.
43021         (HOSTFS_SUPER_MAGIC): Likewise.
43022         (HUGETLBFS_MAGIC): Likewise.
43023         (MINIX3_SUPER_MAGIC): Likewise.
43024         (MTD_INODE_FS_MAGIC): Likewise.
43025         (NILFS_SUPER_MAGIC): Likewise.
43026         (OPENPROM_SUPER_MAGIC): Likewise.
43027         (PIPEFS_MAGIC): Likewise.
43028         (PSTOREFS_MAGIC): Likewise.
43029         (QNX6_SUPER_MAGIC): Likewise.
43030         (RAMFS_MAGIC): Likewise.
43031         (REISERFS_SUPER_MAGIC_STRING): Likewise.
43032         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
43033         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
43034         (SECURITYFS_MAGIC): Likewise.
43035         (SELINUX_MAGIC): Likewise.
43036         (SMACK_MAGIC): Likewise.
43037         (SOCKFS_MAGIC): Likewise.
43038         (SQUASHFS_MAGIC): Likewise.
43039         (STACK_END_MAGIC): Likewise.
43040         (TMPFS_MAGIC): Likewise.
43041         (USBDEVICE_SUPER_MAGIC): Likewise.
43042         (V9FS_MAGIC): Likewise.
43043         (XENFS_SUPER_MAGIC): Likewise.
43044         (CRAMFS_MAGIC): Fix typo in comment.
43045         (EXT2_SUPER_MAGIC): Update comment.
43046         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
43048 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
43050         * sysdeps/arm: Move directory from ports/sysdeps/arm.
43051         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
43052         * sysdeps/unix/sysv/linux/arm: Move directory from
43053         ports/sysdeps/unix/sysv/linux/arm.
43054         * README: Update listing for arm-*-linux-gnueabi.
43056         * README: Remove mention of am33.
43058 2014-02-07  Roland McGrath  <roland@hack.frob.com>
43060         * bits/sigset.h (__sigemptyset): Use a statement expression rather
43061         than the comma operator, to avoid "rhs of comma has no effect"
43062         compiler warnings.
43063         (__sigfillset, __sigandset, __sigorset): Likewise.
43064         * include/signal.h (__sigemptyset): Likewise.
43065         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
43067 2014-02-07  Allan McRae  <allan@archlinux.org>
43069         * version.h (RELEASE): Set to "development".
43070         (VERSION): Set to "2.19.90"
43071         * NEWS: Add 2.20 section.
43073 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
43075         [BZ #16529]
43076         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
43078 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43080         * manual/contrib.texi: Update entry for Carlos O'Donell,
43081         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
43083 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
43085         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
43087         * sysdeps/unix/sysv/linux/kernel-features.h
43088         [__LINUX_KERNEL_VERSION >= 0x020621]
43089         (__ASSUME_PROC_PID_TASK_COMM): Define.
43091 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43093         [BZ #16398]
43094         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
43095         conversion when destination buffer does not have enough space.
43096         * libio/tst-ftell-partial-wide.c: New test case.
43097         * libio/Makefile (tests): Add tst-ftell-partial-wide.
43099         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
43100         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
43101         Leonard and Allan McRae.
43103 2014-02-04  David S. Miller  <davem@davemloft.net>
43105         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
43106         32-bit.
43108 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
43111         New file
43112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
43113         New file
43114         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
43115         New file.
43116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
43117         New file.
43118         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
43119         New file.
43120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
43121         New file.
43122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
43123         New file.
43124         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
43125         New file.
43126         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
43127         New file.
43128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
43129         New file.
43130         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
43131         New file.
43132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
43133         New file.
43134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
43135         New file.
43137 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43139         * nptl/shlib-versions: Change powerpc*le start to 2.17.
43140         * shlib-versions: Likewise.
43142 2014-02-04  Roland McGrath  <roland@hack.frob.com>
43143             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43145         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
43146         (abilist-pattern): New variable, set to %-le.abilist.
43148         * Makerules (abilist-pattern): New variable.
43149         (vpath): Use $(abilist-pattern) in place of %.abilist.
43150         (check-abi-% pattern rule): Likewise.
43151         (check-abi, update-abi): Likewise.
43153 2014-02-04  Eric Wong  <normalperson@yhbt.net>
43155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43157 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
43159         * manual/startup.texi: Add next, previous, and top entries for
43160         the `Program Arguments' and `Environment Variables' nodes.
43162 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
43164         * manual/macros.texi: Add comments before MTASC-safety macros.
43166         * manual/users.texi: Document MTASC-safety properties.
43168         * manual/threads.texi (pthread_key_create, pthread_key_delete)
43169         (pthread_getspecific, pthread_setspecific): Format with
43170         @deftypefun, and add @safety note.
43171         * manual/signal.texi: Move comments that analyze the above
43172         functions to their home place.
43174 2014-02-03  Allan McRae  <allan@archlinux.org>
43176         * po/sl.po: Update Slovenian translation from translation project.
43178 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
43180         * manual/time.texi (timegm): Add missing blank after @c.
43181         Reported by Joseph Myers <joseph@codesourcery.com>.
43183 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
43185         * manual/check-safety.sh: New.
43186         * manual/Makefile ($(objpfx)stamp-summary): Run it.
43188         * manual/terminal.texi: Document MTASC-safety properties.
43190         * manual/filesys.texi: Document MTASC-safety properties.
43192         * manual/errno.texi: Document MTASC-safety properties.
43194         * manual/intro.texi: Document safety identifiers and
43195         conditionals.
43197         * manual/string.texi (wcstok): Fix prototype.
43198         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
43200         * manual/time.texi: Document MTASC-safety properties.
43202         * manual/string.texi: Document MTASC-safety properties.
43204         * manual/threads.texi: Document MTASC-safety properties.
43206         * manual/stdio.texi: Document MTASC-safety properties.
43208         * manual/syslog.texi: Document MTASC-safety properties.
43210         * manual/sysinfo.texi: Document MTASC-safety properties.
43212         * manual/startup.texi: Document MTASC-safety properties.
43214         * manual/socket.texi: Document MTASC-safety properties.
43216         * manual/signal.texi: Document MTASC-safety properties.
43218 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
43220         * manual/setjmp.texi: Document MTASC-safety properties.
43222         * manual/search.texi: Document MTASC-safety properties.
43224         * manual/resource.texi: Document MTASC-safety properties.
43226         * manual/process.texi: Document MTASC-safety properties.
43228         * manual/platform.texi: Document MTASC-safety properties.
43230         * manual/pipe.texi: Document MTASC-safety properties.
43232         * manual/pattern.texi: Document MTASC-safety properties.
43234         * manual/message.texi: Document MTASC-safety properties.
43236         [BZ #12751]
43237         * manual/memory.texi: Document MTASC-safety properties.
43239         * manual/math.texi: Document MTASC-safety properties.
43241         * manual/locale.texi: Document MTASC-safety properties.
43243         * manual/llio.texi: Document MTASC-safety properties.
43245         * manual/libdl.texi: New.
43247         * manual/lang.texi: Document MTASC-safety properties.
43249         * manual/job.texi: Document MTASC-safety properties.
43251         * manual/getopt.texi: Document MTASC-safety properties.
43253         * manual/ctype.texi: Document MTASC-safety properties.
43255 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
43257         [BZ #16046]
43258         * csu/libc-tls.c (static_map): Remove variable.
43259         (__libc_setup_tls): Use main executable's link map for TLS data.
43260         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
43261         casing for LM_ID_BASE and GL(dl_nns).
43262         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
43263         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
43264         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
43265         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
43266         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
43267         member.
43268         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
43269         l_phnum members.
43271 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
43273         * manual/debug.texi: Document MTASC-safety properties.
43275 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
43277         [BZ #16510]
43278         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
43279         of __x86_64__ when disabling x87 inline functions.
43281 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
43283         * manual/charset.texi: Document MTASC-safety properties.
43285         * manual/crypt.texi: Document MTASC-safety properties.
43287         * manual/conf.texi: Document MTASC-safety properties.
43289         * manual/arith.texi: Document MTASC-safety properties.
43291         * manual/argp.texi: Document MTASC-safety properties.
43293         * manual/macros.texi: Introduce macros to document multi
43294         thread, asynchronous signal and asynchronous cancellation
43295         safety properties.
43296         * manual/intro.texi: Introduce the properties themselves.
43298 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43300         * sysdeps/sh/sh4/Makefile: New file.
43302 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
43304         * math/gen-libm-test.pl ($srcdir): New variable.
43305         ($auto_input): Use it.
43307 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
43309         [BZ #16506]
43310         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
43311         access beyond array bounds when parsing netgroups file.
43313         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
43314         the old buffer before realloc.
43316 2014-01-27  Allan McRae  <allan@archlinux.org>
43318         * po/fr.po: Update French translation from translation project.
43320 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43322         * sysdeps/sh/libm-test-ulps: Regenerate.
43324 2014-01-24  David S. Miller  <davem@davemloft.net>
43326         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
43328 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43330         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
43331         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
43333 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
43335         [BZ #16474]
43336         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
43337         string pointers after reallocation.
43339 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43341         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
43342         __SH4A__ instead of __SH_FPU_ANY__.
43344 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43346         * sysdeps/sh/fpu_control.h: New file.
43347         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
43348         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
43349         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
43350         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
43351         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
43352         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
43353         * sysdeps/sh/sys/ucontext.h: Remove.
43354         * sysdeps/sh/sys: Remove directory.
43356 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43358         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
43359         s390/sys/ucontext.h.
43360         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
43361         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
43363 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
43365         [BZ #15605]
43366         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
43368 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43370         [BZ#16431]
43371         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
43372         Adjust the vDSO correctly for internal calls.
43373         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
43375 2014-01-20  Allan McRae  <allan@archlinux.org>
43377         * po/ca.po: Update Catalan translation from translation project.
43379 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
43381         * sysdeps/s390/sotruss-lib.c: New file.
43383 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43385         [BZ#16430]
43386         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
43387         (__GI___gettimeofday): Alias for a different internal symbol to avoid
43388         local calls issues by not having a PLT stub required for IFUNC calls.
43389         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
43391 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
43393         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
43394         * math/test-fpucw-static.c: Likewise.
43396 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43398         [BZ #16453]
43399         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
43401 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43403         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
43404         implementation for powerpc.
43406 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
43408         [BZ #14782]
43409         * sysdeps/posix/system.c (__libc_system): Do not enable
43410         asynchronous cancellation.
43412 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43414         [BZ #16427]
43415         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
43416         handling only for numbers special also in the IEEE case.
43418 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43420         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43422 2014-01-11  Allan McRae  <allan@archlinux.org>
43424         * po/bg.po: Update Bulgarian translation from translation project.
43426         * po/de.po: Update German translation from translation project.
43428 2014-01-10  Roland McGrath  <roland@hack.frob.com>
43430         * sysdeps/generic/gcc-compat.h: New file.
43432 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43434         * benchtests/asin-inputs: Correct slow inputs.
43435         * benchtests/acos-inputs: Likewise.
43437 2014-01-10  Allan McRae  <allan@archlinux.org>
43439         * po:sv.po: Update Swedish translation from translation project.
43441         * po/vi.po: Update Vietnamese translation from translation project.
43443         * po/eo.po: Update Esperanto translation from translation project.
43445         * po/cs.po: Update Czech translation from translation project.
43447         * po/nl.po: Update Dutch translation from translation project.
43449         * po/pl.po: Update Polish translation from translation project.
43451         * po/ru.po: Update Russian translation from translation project.
43453         * po/uk.po: Update Ukrainian translation from translation project.
43455 2014-01-08  Brooks Moses  <bmoses@google.com>
43457         * elf/dl-load.c: Fix comment typo.
43459 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
43461         * po/header.pot: Rename to...
43462         * po/pot.header: ... this.
43463         * po/Makefile: Use pot.header.
43465 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
43466             Maxim Kuvyrkov  <maxim@kugelworks.com>
43468         [BZ #16394]
43469         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
43470         SRC and DEST against LEN.
43472 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43474         [BZ #16414]
43475         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
43476         implementation.
43477         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
43479 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43481         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43483 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
43485         [BZ #16408]
43486         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
43487         for large positive arguments.
43489 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
43491         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43493         * math/auto-libm-test-in: Mark various tests with
43494         xfail-rounding:ldbl-128ibm.
43495         * math/auto-libm-test-out: Regenerated.
43497         [BZ #16407]
43498         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
43499         Increase overflow threshold.
43501 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
43503         [BZ #14286]
43504         * stdio-common/vfprintf.c: Check for integer overflow.
43506 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43508         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
43509         the first argument and return value of __tls_get_addr_internal.
43511 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43513         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
43514         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
43516 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43518         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
43519         * sysdeps/s390/rtld-global-offsets.sym: New file.
43520         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
43521         GLIBC_2.19 symbol.
43522         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
43523         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
43524         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
43525         ... this.
43526         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
43527         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
43528         ... this.
43529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43530         Regenerate.
43531         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43532         Regenerate.
43533         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
43534         halfs of GPRs for high_gprs contexts.
43535         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
43536         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
43537         field.
43538         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
43539         uc_flags field.
43540         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
43541         64 bit versions:
43542         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
43543         for high GPRs (uc_high_gprs) and for future extensions
43544         (__reserved).
43545         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
43546         for future extensions (__reserved).
43547         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
43548         64 bit versions:
43549         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
43550         SC_HIGHGPRS offset definition.
43551         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
43552         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
43554         * Versions.def: Add GLIBC_2.19 for libpthread.
43555         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
43556         siglongjmp for libpthread with GLIBC_2.19 symver.
43557         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
43558         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
43559         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
43560         * sysdeps/s390/__longjmp.c: New file.
43561         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
43562         * sysdeps/s390/longjmp.c: New file.
43563         * sysdeps/s390/setjmp.S: New file.
43564         * sysdeps/s390/sigjmp.S: New file.
43565         * sysdeps/s390/v1-longjmp.c: New file.
43566         * sysdeps/s390/v1-setjmp.h: New file.
43567         * sysdeps/s390/v1-sigjmp.c: New file.
43568         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
43569         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
43570         GLIBC_2.19 version.
43571         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
43572         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
43573         versioned symbols for ____longjmp_chk.
43574         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
43575         Likewise.
43576         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
43577         Regenerate.
43578         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
43579         Regenerate.
43580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
43581         Regenerate.
43582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
43583         Regenerate.
43584         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
43585         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
43586         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
43587         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
43588         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
43589         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
43590         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
43591         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
43592         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
43593         * sysdeps/s390/rtld-__longjmp.c: New file.
43594         * sysdeps/s390/rtld-setjmp.S: New file.
43596 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
43598         [BZ #16400]
43599         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43600         Return -__logl (x) for small positive arguments without evaluating
43601         a polynomial.
43603 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
43605         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
43606         Rename to ...
43607         (__ptrace_peeksiginfo_args): ... this.
43608         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
43609         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
43610         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
43612 2014-01-06  Allan McRae  <allan@archlinux.org>
43614         * inet/netinet/in.h: Fix typo in comment.
43616 2014-01-05  Andreas Jaeger  <aj@suse.de>
43618         * sysdeps/i386/fpu/libm-test-ulps: Update.
43620 2014-01-05  Allan McRae  <allan@archlinux.org>
43622         * po/libc.pot: Regenerated.
43624         * malloc/memusagestat.c: Fix gettext call formatting.
43626 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
43628         * nscd/nscd.c: Improve usage() output.
43630 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
43632         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
43633         * sysdeps/unix/sysv/linux/configure: Regenerated.
43634         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
43635         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
43637 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43639         [BZ #16390]
43640         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
43641         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
43643 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43645         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
43646         extra tokens at end of #undef directive.
43647         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
43648         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
43649         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
43651 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
43653         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
43655         * math/auto-libm-test-in: Mark various tests with
43656         xfail-rounding:ldbl-128ibm.
43657         * math/auto-libm-test-out: Regenerated.
43659 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
43661         [BZ #16386]
43662         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
43663         numbers with subnormal high part when calculating exponent.
43665         [BZ #16385]
43666         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
43667         fabs.
43669         [BZ #16384]
43670         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
43671         M_LN2l.
43672         (__ieee754_acoshl): Use __log1pl not __log1p.
43674 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
43676         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
43677         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
43678         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
43679         (grow_heap, heap_trim, _int_new_arena, get_free_list)
43680         (reused_arena, arena_get2): Convert to GNU style.
43681         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
43682         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
43683         (memalign_check, __malloc_set_state): Likewise.
43684         * malloc/mallocbug.c (main): Likewise.
43685         * malloc/malloc.c (__malloc_assert, malloc_init_state)
43686         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
43687         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
43688         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
43689         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
43690         (__posix_memalign, malloc_info): Likewise.
43691         * malloc/malloc.h: Likewise.
43692         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
43693         (mallochook, memalignhook, reallochook, mabort): Likewise.
43694         * malloc/mcheck.h: Likewise.
43695         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
43696         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
43697         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
43698         * malloc/morecore.c (__default_morecore): Likewise.
43699         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
43700         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
43701         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
43702         (print_and_abort): Likewise.
43703         * malloc/obstack.h: Likewise.
43704         * malloc/set-freeres.c (__libc_freeres): Likewise.
43705         * malloc/tst-mallocstate.c (main): Likewise.
43706         * malloc/tst-mtrace.c (main): Likewise.
43707         * malloc/tst-realloc.c (do_test): Likewise.
43709 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43711         [BZ #16366]
43712         * nscd/netgroupcache.c (do_notfound): New function.
43713         (addgetnetgrentX): Use it.
43715         [BZ # 16365]
43716         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
43717         NSS_STATUS_NOTFOUND.
43719 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
43721         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
43722         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43724 2014-01-01  Allan McRae  <allan@archlinux.org>
43726         * scripts/update-copyrights: Update configure input file suffix.
43728         * NEWS: Update copyright year.
43729         * catgets/gencat.c: Likewise.
43730         * csu/version.c: Likewise.
43731         * debug/catchsegv.sh: Likewise.
43732         * debug/pcprofiledump.c: Likewise.
43733         * debug/xtrace.sh: Likewise.
43734         * elf/ldconfig.c: Likewise.
43735         * elf/ldd.bash.in: Likewise.
43736         * elf/pldd.c: Likewise.
43737         * elf/sotruss.ksh: Likewise.
43738         * elf/sprof.c: Likewise.
43739         * iconv/iconv_prog.c: Likewise.
43740         * iconv/iconvconfig.c: Likewise.
43741         * locale/programs/locale.c: Likewise.
43742         * locale/programs/localedef.c: Likewise.
43743         * login/programs/pt_chown.c: Likewise.
43744         * malloc/memusage.sh: Likewise.
43745         * malloc/memusagestat.c: Likewise.
43746         * malloc/mtrace.pl: Likewise.
43747         * manual/libc.texinfo: Likewise.
43748         * nscd/nscd.c: Likewise.
43749         * nss/getent.c: Likewise.
43750         * nss/makedb.c: Likewise.
43751         * posix/getconf.c: Likewise.
43752         * scripts/test-installation.pl: Likewise.
43754         * All files with FSF copyright notices: Update copyright dates
43755         using scripts/update-copyrights.
43756         * intl/plural.c: Regenerated.
43757         * locale/programs/charmap-kw.h: Likewise.
43758         * locale/programs/locfile-kw.h: Likewise.
43760 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
43762         * sysdeps/unix/sysv/linux/configure: Regenerated.
43763         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
43764         the linux/fanotify.h header.
43765         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
43766         HAVE_LINUX_FANOTIFY_H is defined.
43768 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43770         * benchtests/cos-inputs: New inputs.
43771         * benchtests/sin-inputs: Likewise.
43773         * benchtests/atan-inputs: New inputs. Fix name of multiple
43774         precision fallback inputs.
43776         * benchtests/atanh-inputs: New inputs.
43777         * benchtests/tanh-inputs: Likewise.
43779         * benchtests/acosh-inputs: New inputs.
43780         * benchtests/asinh-inputs: Likewise.
43782         * benchtests/cosh-inputs: New inputs.
43783         * benchtests/sinh-inputs: Likewise.
43785         * benchtests/acos-inputs: Add more inputs.
43786         * benchtests/asin-inputs: Likewise.
43788 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
43790         [BZ #16375]
43791         * manual/arith.texi: Fix spelling.
43792         * manual/charset.texi: Likewise.
43793         * manual/errno.texi: Likewise.
43794         * manual/filesys.texi: Likewise.
43795         * manual/lang.texi: Likewise.
43796         * manual/llio.texi: Likewise.
43797         * manual/locale.texi: Likewise.
43798         * manual/message.texi: Likewise.
43799         * manual/resource.texi: Likewise.
43800         * manual/search.texi: Likewise.
43801         * manual/setjmp.texi: Likewise.
43802         * manual/stdio.texi: Likewise.
43803         * manual/string.texi: Likewise.
43804         * manual/sysinfo.texi: Likewise.
43805         * manual/time.texi: Likewise.
43807 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
43809         * po/sl.po: New file.
43811 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
43813         * .gitignore: Add core/.gdbinit/.gdb_history.
43815 2013-12-27  Allan McRae  <allan@archlinux.org>
43817         [BZ #16369]
43818         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
43819         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
43821 2013-12-24  Brooks Moses  <bmoses@google.com>
43823         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
43824         all compilers that claim C++98 compliance, not just GCC.
43825         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
43826         Likewise.
43828 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43830         * NEWS: Restore accidentally deleted bug-fix entries.
43832 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
43833             Ondřej Bílka  <neleai@seznam.cz>
43835         [BZ #15073]
43836         * malloc/malloc.c (_int_free): Perform sanity check only if we
43837         have_lock.
43839 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
43841         [BZ #12986]
43842         * manual/stdio.texi (String Input Conversions): Clarify that character
43843         classes are not supported.
43845 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43847         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43849 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
43851         [BZ #16337]
43852         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
43853         Calculate results for small negative arguments directly rather
43854         than using reflection formula with special underflow handling.
43856         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
43857         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
43858         sysdeps/unix/bsd/bsd4.4/syscalls.list.
43859         (fchflags): Likewise.
43860         (revoke): Likewise.
43861         (setlogin): Likewise.
43862         (sigaltstack): Likewise.
43863         (wait4): Likewise.
43864         (sigblock): Remove.
43865         (sigsetmask): Likewise.
43866         (wait3): Likewise.
43867         (waitpid): Likewise.
43868         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
43869         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
43870         file.
43871         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
43872         * sysdeps/unix/bsd/Makefile: ... here.
43873         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
43874         * sysdeps/unix/bsd/Versions: ... here.
43875         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
43876         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
43877         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
43878         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
43879         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
43880         * sysdeps/unix/bsd/sigblock.c: ... here.
43881         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
43882         * sysdeps/unix/bsd/sigsetmask.c: ... here.
43883         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
43884         * sysdeps/unix/bsd/sigvec.c: ... here.
43885         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
43886         * sysdeps/unix/bsd/tcdrain.c: ... here.
43887         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
43888         * sysdeps/unix/bsd/tcgetattr.c: ... here.
43889         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
43890         * sysdeps/unix/bsd/tcsetattr.c: ... here.
43891         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
43892         * sysdeps/unix/bsd/wait.c: ... here.
43893         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
43894         * sysdeps/unix/bsd/wait3.c: ... here.
43895         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
43896         * sysdeps/unix/bsd/waitpid.c: ... here.
43898 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
43900         [BZ #16356]
43901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
43902         round-to-nearest for [!USE_AS_EXPM1L].
43903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
43904         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
43905         more tests of exp and exp10.  Expect some exp10 tests to miss
43906         exceptions or fail in directed rounding modes.
43907         * math/auto-libm-test-out: Regenerated.
43908         * math/libm-test.inc (exp10_tonearest_test_data): New array.
43909         (exp10_test_tonearest): New function.
43910         (exp10_towardzero_test_data): New array.
43911         (exp10_test_towardzero): New function.
43912         (exp10_downward_test_data): New array.
43913         (exp10_test_downward): New function.
43914         (exp10_upward_test_data): New array.
43915         (exp10_test_upward): New function.
43916         (main): Call the new functions.
43917         * sysdeps/i386/fpu/libm-test-ulps: Update.
43918         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43920 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
43922         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
43923         asinh, atan, atan2, atanh, cbrt, cos and cosh.
43924         * math/auto-libm-test-out: Regenerated.
43925         * math/libm-test.inc (acosh_test_data): Add more tests.
43926         (atanh_test_data): Likewise.
43927         (ceil_test_data): Likewise.
43928         (copysign_test_data): Likewise.
43929         * sysdeps/i386/fpu/libm-test-ulps: Update.
43930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43932         * timezone/checktab.awk: Update from tzcode 2013i.
43933         * timezone/private.h: Likewise.
43934         * timezone/scheck.c: Likewise.
43935         * timezone/tzfile.h: Likewise.
43936         * timezone/tzselect.ksh: Likewise.
43937         * timezone/zdump.c: Likewise.
43938         * timezone/zic.c: Likewise.
43940         * math/auto-libm-test-in: Add tests of cpow.
43941         * math/auto-libm-test-out: Regenerated.
43942         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
43943         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43944         mpc_cc_c.
43945         (func_calc_desc): Add mpc_cc_c union field.
43946         (test_functions): Add cpow.
43947         (special_fill_2pi): New function.
43948         (special_real_inputs): Add 2pi.
43949         (calc_generic_results): Handle mpc_cc_c.
43950         * sysdeps/i386/fpu/libm-test-ulps: Update.
43951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43953         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
43954         csqrt, ctan and ctanh.
43955         * math/auto-libm-test-out: Regenerated.
43956         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43957         (TEST_COND_x86): Likewise.
43958         (ccos_test_data): Use AUTO_TESTS_c_c.
43959         (ccosh_test_data): Likewise.
43960         (cexp_test_data): Likewise.
43961         (clog_test_data): Likewise.
43962         (csqrt_test_data): Likewise.
43963         (ctan_test_data): Likewise.
43964         (ctan_tonearest_test_data): Likewise.
43965         (ctan_towardzero_test_data): Likewise.
43966         (ctan_downward_test_data): Likewise.
43967         (ctan_upward_test_data): Likewise.
43968         (ctanh_test_data): Likewise.
43969         (ctanh_tonearest_test_data): Likewise.
43970         (ctanh_towardzero_test_data): Likewise.
43971         (ctanh_downward_test_data): Likewise.
43972         (ctanh_upward_test_data): Likewise.
43973         * math/gen-auto-libm-tests.c (func_calc_method): Add value
43974         mpc_c_c.
43975         (func_calc_desc): Add mpc_c_c union field.
43976         (FUNC_mpc_c_c): New macro.
43977         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
43978         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
43979         ctanh.
43980         (special_fill_min_subnorm_p120): New function.
43981         (special_real_inputs): Add min_subnorm_p120.
43982         (calc_generic_results): Handle mpc_c_c.
43983         * sysdeps/i386/fpu/libm-test-ulps: Update.
43984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43986 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
43988         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
43989         (do_sin_slow): New functions.
43990         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
43991         (cslow2, csloww1, csloww2): Use the new functions.
43993         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
43994         Use M to change sign of result instead of X.  Assume X is
43995         positive.
43996         (csloww1): Likewise.
43997         (__sin): Adjust.
43998         (__cos): Adjust.
44000         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
44001         arguments A and DA.
44002         (__sin): Adjust.
44003         (__cos): Likewise.
44005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
44006         (__cos): Likewise.
44007         (sloww1): Don't adjust sign of DX.
44008         (csloww1): Likewise.
44009         (sloww2): Use X directly and don't adjust sign of DX.
44010         (csloww2): Likewise.
44012 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44014         * math/auto-libm-test-in: Add tests of cabs and carg.
44015         * math/auto-libm-test-out: Regenerated.
44016         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
44017         (carg_test_data): Likewise.
44018         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44019         mpc_c_f.
44020         (func_calc_desc): Add mpc_c_f union field.
44021         (test_functions): Add cabs and carg.
44022         (calc_generic_results): Handle mpc_c_f.
44024         * sysdeps/powerpc/powerpc32/libgcc-compat.S
44025         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
44026         as a macro and a compat symbol.
44027         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
44028         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
44029         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
44030         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
44031         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
44032         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
44033         not use .hidden.
44034         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
44035         Likewise.
44036         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
44037         Likewise.
44038         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
44039         Likewise.
44040         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
44041         Likewise.
44042         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
44043         Likewise.
44044         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
44045         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
44046         from GLIBC_2.3.2.
44048 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44050         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44052 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44054         * manual/texinfo.tex: Update to version 2013-11-26.10 with
44055         trailing whitespace removed.
44056         * scripts/config.guess: Update to version 2013-11-29.
44057         * scripts/config.sub: Update to version 2013-10-01.
44059         * math/auto-libm-test-in: Add tests of sincos.
44060         * math/auto-libm-test-out: Regenerated.
44061         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
44062         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44063         mpfr_f_11.
44064         (func_calc_desc): Add mpfr_f_11 union field.
44065         (test_functions): Add sincos.
44066         (calc_generic_results): Handle mpfr_f_11.
44067         * sysdeps/i386/fpu/libm-test-ulps: Update.
44068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44070 2013-12-19  Andreas Schwab  <schwab@suse.de>
44072         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
44073         CALL_MCOUNT.
44074         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
44075         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
44076         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
44078 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
44080         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
44081         * sysdeps/i386/fpu/libm-test-ulps: Update.
44082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44084         [BZ #16293]
44085         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
44086         round-to-nearest mode when using frndint.
44087         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
44088         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
44089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
44090         Likewise.
44091         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
44092         sinh test to fail.
44093         * math/auto-libm-test-out: Regenerated.
44094         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
44095         (TEST_COND_x86): Likewise.
44096         (expm1_tonearest_test_data): New array.
44097         (expm1_test_tonearest): New function.
44098         (expm1_towardzero_test_data): New array.
44099         (expm1_test_towardzero): New function.
44100         (expm1_downward_test_data): New array.
44101         (expm1_test_downward): New function.
44102         (expm1_upward_test_data): New array.
44103         (expm1_test_upward): New function.
44104         (main): Run the new test functions.
44105         * sysdeps/i386/fpu/libm-test-ulps: Update.
44106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44108         * include/features.h: Update comment documenting feature test
44109         macros.  Mention _DEFAULT_SOURCE in comment.
44110         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
44111         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
44112         _BSD_SOURCE and _SVID_SOURCE.
44113         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
44114         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
44115         !_SVID_SOURCE]: Likewise.
44116         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44117         (__USE_POSIX_IMPLICITLY): Define.
44118         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44119         (_POSIX_SOURCE): Undefine and redefine.
44120         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
44121         (_POSIX_C_SOURCE): Likewise.
44122         * manual/creature.texi (_DEFAULT_SOURCE): Document.
44123         (Feature Test Macros): Update documentation of default features.
44125 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44127         * benchtests/Makefile: Add bench-strtok.
44128         * benchtests/bench-strtok.c: New file: strtok benchtest.
44130 2013-12-19  Allan McRae  <allan@archlinux.org>
44132         * manual/install.texi: Suppress menu for plain text output.
44133         * INSTALL: Regenerated.
44135 2013-12-18  Brooks Moses  <bmoses@google.com>
44137         [BZ #15846]
44138         * misc/getauxval.c: Include errno.h.
44139         (__getauxval): Set errno to ENOENT if the requested type is not
44140         found.
44141         * misc/sys/auxv.h (getauxval): Document that it may set errno;
44142         don't declare with __attribute_const__.
44143         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
44144         * manual/startup.texi: Document that getauxval sets errno.
44146 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44148         * math/auto-libm-test-in: Add tests of jn and yn.
44149         * math/auto-libm-test-out: Regenerated.
44150         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
44151         (yn_test_data): Likewise.
44152         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44153         mpfr_if_f.
44154         (func_calc_desc): Add mpfr_if_f union field.
44155         (FUNC_mpfr_if_f): New macro.
44156         (test_functions): Add jn and yn.
44157         (calc_generic_results): Assert type of second input for
44158         mpfr_ff_f.  Handle mpfr_if_f.
44159         (output_for_one_input_case): Disable all checking for arguments
44160         fitting floating-point types in case of an integer argument.
44161         * sysdeps/i386/fpu/libm-test-ulps: Update.
44162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44165         Don't expect fegetround reference in libm.so.
44167 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44169         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
44170         $(config-cflags-nofma).
44172 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
44174         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
44175         * math/auto-libm-test-out: Regenerated.
44177         [BZ #16338]
44178         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
44179         to determine exponent and adjust argument to have exponent of -1.
44180         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
44181         log2.
44182         * math/auto-libm-test-out: Regenerated.
44183         * sysdeps/i386/fpu/libm-test-ulps: Update.
44184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44186 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
44188         * manual/probes.texi: Remove cases when per-thread arenas are
44189         disabled.
44191 2013-12-18  Andreas Schwab  <schwab@suse.de>
44193         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
44194         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
44195         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
44196         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
44197         * sysdeps/i386/i686/multiarch/Makefile: Update.
44198         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
44200 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44202         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
44203         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
44205 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
44207         [BZ #15968]
44208         Support TZ transition times < 00:00:00.
44209         This is needed for version-3 tz-format files; it supports time
44210         stamps past 2037 for America/Godthab (the only entry in the tz
44211         database for which this change is relevant).
44212         * manual/time.texi (TZ Variable): Document transition times
44213         from -167:59:59 through -00:00:01.
44214         * time/tzset.c (tz_rule): Time of day is now signed.
44215         (__tzset_parse_tz): Parse negative time of day.
44217         Document TZ transition times >= 25:00:00.
44218         * manual/time.texi (TZ Variable): Document transition times from
44219         25:00:00 through 167:59:59.  These are already supported, and this
44220         support will help with version-3 tz-format files.
44222         * manual/time.texi (TZ Variable): Modernize North America example
44223         to reflect current (i.e., 2007-and-later) daylight saving rules.
44225         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
44227 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44229         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
44230         * sysdeps/unix/bsd/bits/stat.h: Likewise.
44231         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
44232         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
44233         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
44234         * sysdeps/unix/bsd/bsdstat.h: Likewise.
44235         * sysdeps/unix/bsd/clock.c: Likewise.
44236         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
44237         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
44238         * sysdeps/unix/bsd/init-posix.c: Likewise.
44239         * sysdeps/unix/bsd/poll.c: Likewise.
44240         * sysdeps/unix/bsd/ptsname.c: Likewise.
44241         * sysdeps/unix/bsd/seekdir.c: Likewise.
44242         * sysdeps/unix/bsd/setegid.c: Likewise.
44243         * sysdeps/unix/bsd/seteuid.c: Likewise.
44244         * sysdeps/unix/bsd/setgid.c: Likewise.
44245         * sysdeps/unix/bsd/setrgid.c: Likewise.
44246         * sysdeps/unix/bsd/setruid.c: Likewise.
44247         * sysdeps/unix/bsd/setsid.c: Likewise.
44248         * sysdeps/unix/bsd/setuid.c: Likewise.
44249         * sysdeps/unix/bsd/sigaction.c: Likewise.
44250         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
44251         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
44252         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
44253         * sysdeps/unix/bsd/telldir.c: Likewise.
44254         * sysdeps/unix/bsd/times.c: Likewise.
44255         * sysdeps/unix/bsd/usleep.c: Likewise.
44257         * misc/Makefile (install-lib): Remove libbsd-compat.a.
44258         ($(objpfx)libbsd-compat.a): Remove rule.
44260         * include/features.h (__FAVOR_BSD): Do not define.
44261         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
44262         features conflicting with POSIX.
44263         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
44264         (_BSD_SOURCE): Remove description of not being a subset of other
44265         feature test macros.
44266         * manual/job.texi (getpgrp): Do not document BSD version.
44267         (getpgid): Do not document by reference to BSD getpgrp.
44268         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
44269         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
44270         * signal/signal.h [__FAVOR_BSD]: Likewise.
44271         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
44272         instead of making contents conditional on [__FAVOR_BSD].
44273         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
44275 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44277         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44279 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
44281         [BZ #16314]
44282         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
44283         values below 2**-450, not 2**-500.
44284         * math/auto-libm-test-in: Don't allow spurious underflow from
44285         hypot.
44286         * math/auto-libm-test-out: Regenerated.
44288         [BZ #16316]
44289         [BZ #16330]
44290         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
44291         values of ha and hb and sort them after adjusting subnormal
44292         arguments.
44293         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
44294         Likewise.
44295         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
44296         values of ea and eb and sort them after adjusting subnormal
44297         arguments.
44298         * math/auto-libm-test-in: Do not expect some hypot tests of
44299         subnormals to fail.  Add more hypot tests.
44300         * math/auto-libm-test-out: Regenerated.
44302 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44304         [BZ #13304]
44305         * sysdeps/sh/s_fma.c: New file.
44306         * sysdeps/sh/s_fmaf.c: New file.
44307         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
44308         version.
44309         * sysdeps/sh/Implies: Add sh/soft-fp.
44311 2013-12-16  Roland McGrath  <roland@hack.frob.com>
44313         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
44314         level of indirection to members `objname', `errstring', `malloced'.
44315         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
44316         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
44317         it as the __longjmp argument (just pass 1 instead).
44318         (_dl_catch_error): Initialize C with argument pointers and address of
44319         volatile local ERRCODE rather than copying values out of C at return.
44321 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
44323         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
44324         * math/auto-libm-test-out: Regenerated.
44325         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
44326         (hypot_test_data): Likewise.
44327         (pow_test_data): Likewise.
44328         (pow_tonearest_test_data): Likewise.
44329         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44330         mpfr_ff_f.
44331         (func_calc_desc): Add mpfr_ff_f union field.
44332         (FUNC_mpfr_ff_f): New macro.
44333         (test_functions): Add atan2, hypot and pow.
44334         (special_fill_min): New function.
44335         (special_fill_minus_min): Likewise.
44336         (special_fill_min_subnorm): Likewise.
44337         (special_fill_minus_min_subnorm): Likewise.
44338         (special_real_inputs): Add min, -min, min_subnorm and
44339         -min_subnorm.
44340         (calc_generic_results): Handle mpfr_ff_f.
44341         * sysdeps/i386/fpu/libm-test-ulps: Update.
44342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44344 2013-12-16  Will Newton  <will.newton@linaro.org>
44346         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
44347         (Aligned Memory Blocks): Add documentation for aligned_alloc
44348         and suggest it as an alternative to posix_memalign.
44349         (Hooks for Malloc): Document __memalign_hook is also called
44350         for aligned_alloc.  (Summary of Malloc): Add summary for
44351         aligned alloc.  Document __memalign_hook is also called
44352         for aligned_alloc.
44354 2013-12-16  Will Newton  <will.newton@linaro.org>
44356         * manual/memory.texi (Malloc Examples): Clarify default
44357         alignment documentation.  Suggest posix_memalign rather
44358         than memalign or valloc.
44359         (Aligned Memory Blocks): Remove suggestion to use memalign
44360         or valloc.  Remove obsolete comment about BSD.
44361         Document memalign errno values and mark the function obsolete.
44362         Document posix_memalign returned error codes.  Mark valloc
44363         as obsolete.  (Hooks for Malloc): __memalign_hook is also
44364         called for posix_memalign and valloc.
44365         (Summary of Malloc): Add posix_memalign to function summary.
44366         __memalign_hook is also called for posix_memalign and valloc.
44368 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
44370         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
44371         TAYLOR_SIN.
44372         (__sin): Adjust.
44373         (__cos): Likewise.
44374         (sloww): Use mynumber union.  Expand ternary operator into
44375         if-else statements.
44376         (cslow): use mynumber union.
44378 2013-12-16  Allan McRae  <allan@archlinux.org>
44380         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
44381         * configure: Regenerated.
44383         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
44385         [BZ #14120]
44386         * configure.ac: Added --enable-maintainer-mode. Check for
44387         autoconf when enabled.
44388         * configure: Regenerated.
44390         * nscd/nscd.service: New file.
44391         * nscd/nscd.tmpfiles: New file.
44393 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
44395         [BZ #12100]
44396         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
44397         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
44398         * sysdeps/x86_64/multiarch/strstr.c: ... here.
44399         (strstr): Add __strstr_sse2_unaligned ifunc.
44400         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
44401         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
44402         (strcasestr): Remove __strcasestr_sse42 ifunc.
44403         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
44404         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
44405         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
44407 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44409         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
44410         * sysdeps/sh/bits/fenv.h: ... here.
44411         * sysdeps/sh/sh4/fpu/bits: Remove directory.
44413 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44415         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
44417         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
44418         hypotf multiarch implementations.
44419         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
44420         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
44421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
44422         multiarch hypot for PPC64.
44423         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
44424         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
44425         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
44426         multiarch hypotf for PPC64.
44428         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
44429         modff multiarch implementations.
44430         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
44431         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
44432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
44433         multiarch modf for PPC64.
44434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
44435         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
44436         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
44437         multiarch modff for PPC64.
44439         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
44440         and logl multiarch implementations.
44441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
44442         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
44443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
44444         multiarch logb for PPC64.
44445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
44446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
44447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
44448         multiarch logb for PPC64.
44449         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
44450         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
44451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
44452         multiarch logb for PPC64.
44454         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
44455         isinff multiarch implementation.
44456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
44457         file.
44458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
44459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
44460         multiarch isinf for PPC64.
44461         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
44462         file.
44463         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
44464         multiarch isinff for PPC64.
44466         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
44467         finitef multiarch implementation.
44468         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
44469         file.
44470         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
44471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
44472         multiarch finite for PPC64.
44473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
44474         file.
44475         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
44476         multiarch finitef for PPC64.
44478         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
44479         lrint multiarch implementation.
44480         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
44481         file.
44482         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
44483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
44484         multiarch llrint for PPC64.
44485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
44486         multiarch lrint for PPC64.
44488         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
44489         copysignf multiarch implementation.
44490         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
44491         file.
44492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
44493         file.
44494         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
44495         multiarch copysign for PPC64.
44496         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
44497         multiarch copysignf for PPC64.
44499         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
44500         multiarch implementation.
44501         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
44502         file.
44503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
44504         file.
44505         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
44506         file.
44507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
44508         file.
44509         multiarch llround for PPC64.
44510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
44511         multiarch trunc for PPC64.
44512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
44513         multiarch truncf for PPC64.
44515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
44516         multiarch implementation.
44517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
44518         file.
44519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
44520         file.
44521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
44522         file.
44523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
44524         file.
44525         multiarch llround for PPC64.
44526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
44527         multiarch round for PPC64.
44528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
44529         multiarch roundf for PPC64.
44531         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
44532         multiarch implementation.
44533         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
44534         file.
44535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
44536         file.
44537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
44538         file.
44539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
44540         file.
44541         multiarch llround for PPC64.
44542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
44543         multiarch floor for PPC64.
44544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
44545         multiarch floorf for PPC64.
44547         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
44548         multiarch implementation.
44549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
44550         file.
44551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
44552         file.
44553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
44554         file.
44555         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
44556         file.
44557         multiarch llround for PPC64.
44558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
44559         multiarch ceil for PPC64.
44560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
44561         multiarch ceilf for PPC64.
44563         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
44564         multiarch implementation.
44565         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
44566         file.
44567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
44568         file.
44569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
44570         file.
44571         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
44572         multiarch llround for PPC64.
44573         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
44574         multiarch lround for PPC64.
44576         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
44577         multiarch implementation.
44578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
44579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
44580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
44581         file.
44582         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
44583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
44584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
44585         multiarch isnan for PPC64.
44586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
44587         multiarch isnanf for PPC64.
44589         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
44590         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
44591         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
44592         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
44593         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
44594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
44596         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
44597         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
44598         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
44599         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
44601         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
44602         multiarch implementations.
44603         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44604         (__libc_ifunc_impl_list): Likewise.
44605         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
44606         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
44607         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
44608         multiarch stpcpy for PPC64.
44610         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
44611         multiarch implementations.
44612         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44613         (__libc_ifunc_impl_list): Likewise.
44614         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
44615         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
44616         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
44617         multiarch strcpy for PPC64.
44619         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
44620         redefine function name.
44621         (_wordcopy_fwd_dest_aligned): Likewise.
44622         (_wordcopy_bwd_aligned): Likewise.
44623         (_wordcopy_bwd_dest_aligned): Likewise.
44624         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
44625         multiarch implementations.
44626         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44627         (__libc_ifunc_impl_list): Likewise.
44628         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
44629         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
44630         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
44631         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
44632         multiarch wcscpy for PPC64.
44634         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
44635         multiarch implementations.
44636         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44637         (__libc_ifunc_impl_list): Likewise.
44638         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
44639         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
44640         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
44641         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
44642         multiarch wcscpy for PPC64.
44644         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
44645         multiarch implementations.
44646         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44647         (__libc_ifunc_impl_list): Likewise.
44648         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
44649         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
44650         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
44651         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
44652         multiarch wcsrchr for PPC64.
44654         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
44655         multiarch implementations.
44656         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44657         (__libc_ifunc_impl_list): Likewise.
44658         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
44659         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
44660         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
44661         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
44662         multiarch wcschr for PPC64.
44664         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
44665         multiarch implementations.
44666         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44667         (__libc_ifunc_impl_list): Likewise.
44668         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
44669         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
44670         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
44671         multiarch strchrnul for PPC64.
44673         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
44674         implementations.
44675         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44676         (__libc_ifunc_impl_list): Likewise.
44677         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
44678         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
44679         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
44680         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
44681         strchr for PPC64.
44683         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
44684         implementations.
44685         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44686         (__libc_ifunc_impl_list): Likewise.
44687         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
44688         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
44689         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
44690         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
44691         strncmp for PPC64.
44693         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
44694         multiarch implementations.
44695         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44696         (__libc_ifunc_impl_list): Likewise.
44697         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
44698         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
44699         strncasecmp for PPC64.
44700         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
44701         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
44702         multiarch strncasecmp_l for PPC64.
44704         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
44705         multiarch implementations.
44706         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44707         (__libc_ifunc_impl_list): Likewise.
44708         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
44709         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
44710         multiarch strcasecmp for PPC64.
44711         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
44712         file.
44713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
44714         multiarch strcasecmp_l for PPC64.
44716         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
44717         implementations.
44718         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44719         (__libc_ifunc_impl_list): Likewise.
44720         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
44721         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
44722         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
44723         strnlen for PPC64.
44725         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
44726         implementations.
44727         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44728         (__libc_ifunc_impl_list): Likewise.
44729         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
44730         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
44731         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
44732         strlen for PPC64.
44734         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
44735         implementations.
44736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44737         (__libc_ifunc_impl_list): Likewise.
44738         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
44739         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
44740         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
44741         rawmemrchr for PPC64.
44743         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
44744         implementation.
44745         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44746         (__libc_ifunc_impl_list): Likewise.
44747         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
44748         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
44749         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
44750         memrchr for PPC64.
44752         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
44753         implementation.
44754         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44755         (__libc_ifunc_impl_list): Likewise.
44756         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
44757         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
44758         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
44759         memchr for PPC64.
44761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
44762         implementation.
44763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44764         (__libc_ifunc_impl_list): Likewise.
44765         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
44766         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
44767         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
44768         mempcpy for PPC64.
44770         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
44771         avoid cretion of __bzero symbol.
44772         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
44773         Likewise.
44774         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
44775         Likewise.
44776         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
44777         Likewise.
44778         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
44779         multiarch implementations.
44780         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44781         (__libc_ifunc_impl_list): Likewise.
44782         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
44783         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
44784         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
44785         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
44786         bzero for PPC32.
44787         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
44788         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
44789         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
44790         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
44791         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
44792         memset for PPC64.
44793         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
44795         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
44796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
44797         implementations.
44798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44799         (__libc_ifunc_impl_list): Likewise.
44800         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
44801         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
44802         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
44803         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
44804         memcmp for PPC64.
44806         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44807         multiarch for POWER/PPC64.
44808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
44809         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
44810         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
44811         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
44812         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
44813         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
44814         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
44815         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
44816         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
44817         memcpy for PPC64.
44819         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
44820         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
44821         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
44822         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
44823         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
44824         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
44825         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
44826         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
44827         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
44828         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
44829         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
44830         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
44831         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
44832         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
44833         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
44834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
44835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
44836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
44837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
44838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
44839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
44842 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
44844         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
44846 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
44848         * benchtests/Makefile (bench): Add exp2 and log2.
44849         (LDLIBS-bench-exp2): Add -lm.
44850         (LDLIBS-bench-log2): Likewise.
44851         * benchtests/exp2-inputs: New inputs file.
44852         * benchtests/log2-inputs: New inputs file.
44853         * benchtests/log-inputs: Add new inputs.
44854         * benchtests/tan-inputs: Likewise.
44856 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
44858         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
44859         definition...
44860         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
44861         (csloww2): ... from here.
44863         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
44864         instead of structures.
44865         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
44866         (POLYNOMIAL): Likewise.
44867         (TAYLOR_SLOW): Likewise.
44868         (__sin): Likewise.
44869         (__cos): Likewise.
44870         (slow1): Likewise.
44871         (slow2): Likewise.
44872         (sloww): Likewise.
44873         (sloww1); Likewise.
44874         (sloww2): Likewise.
44875         (bsloww1): Likewise.
44876         (bsloww2): Likewise.
44877         (cslow2): Likewise.
44878         (csloww): Likewise.
44879         (csloww1): Likewise.
44880         (csloww2): Likewise.
44882 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
44884         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
44885         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
44886         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
44887         * malloc/hooks.c (realloc_check): Likewise.
44889         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
44890         * malloc/arena.c: Remove PER_THREAD conditional.
44891         [!PER_THREAD]: Remove code.
44892         (ptmalloc_unlock_all2): Likewise.
44893         (ptmalloc_init): Likewise.
44894         (_int_new_arena): Likewise.
44895         (arena_get2): Likewise.
44896         * malloc/hooks.c (__malloc_get_state): Likewise.
44897         (__malloc_set_state): Likewise.
44898         * malloc/malloc.c: Likewise.
44899         (struct malloc_state): Likewise.
44900         (struct malloc_par): Likewise.
44901         (__libc_realloc): Likewise.
44902         (__libc_mallopt): Likewise.
44904 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44906         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
44908 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
44910         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
44911         macro to a function.  Check for zero perturb_byte.
44912         (_int_malloc, _int_free): Remove zero perturb_byte checks.
44914         * malloc/malloc.c: (force_reg): Remove.
44915         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
44916         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
44917         force_reg by atomic_forced_read.
44918         * malloc/arena.c (ptmalloc_init): Likewise.
44919         * malloc/hooks.c (top_check): Likewise.
44921 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44925 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
44927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44929 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
44931         * math/auto-libm-test-in: Add tests of lgamma.
44932         * math/auto-libm-test-out: Regenerated.
44933         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
44934         (M_LOG_2_SQRT_PIl): Likewise.
44935         (lgamma_test_data): Use AUTO_TESTS_f_f1.
44936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
44937         mpfr_f_f1.
44938         (func_calc_desc): Add mpfr_f_f1 union field.
44939         (ARGS1): New macro.
44940         (ARGS2): Likewise.
44941         (ARGS3): Likewise.
44942         (ARGS4): Likewise.
44943         (RET1): Likewise.
44944         (RET2): Likewise.
44945         (CALC): Likewise.
44946         (FUNC): Likewise.
44947         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
44948         (test_functions): Add lgamma.
44949         (calc_generic_results): Handle mpfr_f_f1.
44950         * sysdeps/i386/fpu/libm-test-ulps: Update.
44951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44953 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44955         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
44956         __mpn_add_n for PowerPC64/POWER7.
44957         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
44958         __mpn_sub_n for PowerPC64/POWER7.
44960         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
44961         __mpn_addmul_1 for PowerPC64.
44962         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
44963         __mpn_submul_1 for PowerPC64.
44964         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
44965         for PowerPC64.
44966         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
44967         for PowerPC64.
44969 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
44971         [BZ #15089]
44972         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
44974 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44976         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
44978         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
44979         add multiarch folders.
44980         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
44981         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
44982         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
44983         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
44984         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
44985         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
44986         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
44987         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
44988         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
44989         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
44990         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
44991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
44992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
44993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
44994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
44995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
44996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
44998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
44999         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
45000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
45001         New file.
45002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
45003         New file.
45004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
45005         multiarch __ieee754_hypot for PowerPC32.
45006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
45007         New file.
45008         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
45009         New file.
45010         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
45011         multiarch __ieee754_hypotf for PowerPC32.
45013         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
45014         long_double_symbol only if __logbl is defined.
45015         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
45016         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
45017         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
45018         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
45019         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
45020         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
45021         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
45022         path for implementation.
45023         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
45024         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
45025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
45026         logb, and logbl multiarch implementations for PowerPC32.
45027         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
45028         file.
45029         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
45030         file.
45031         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
45032         multiarch logb for PowerPC32.
45033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
45034         file.
45035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
45036         file.
45037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
45038         multiarch logbf for PowerPC32.
45039         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
45040         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
45041         file.
45042         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
45043         multiarch logbl implementation for PowerPC32.
45045         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
45046         and modff multiarch implementations.
45047         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
45048         New file.
45049         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
45050         New file.
45051         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
45052         multiarch modf for PowerPC32.
45053         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
45054         New file.
45055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
45056         New file.
45057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
45058         multiarch modff for PowerPC32.
45060         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
45061         and lrintf multiarch implementations.
45062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
45063         New file.
45064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
45065         New file.
45066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
45067         multiarch lrint for PowerPC32.
45068         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
45069         file: multiarch lrintf for PowerPC32.
45071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
45072         and lroundf multiarch implementations.
45073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
45074         New file.
45075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
45076         New file.
45077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
45078         New file.
45079         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
45080         multiarch lround for PowerPC32.
45081         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
45082         file: multiarch lroundf for PowerPC32.
45084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
45085         copysign and copysignf multiarch implementations.
45086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
45087         New file.
45088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
45089         New file.
45090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
45091         file: multiarch copysign for PowerPC32.
45092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
45093         file: multiarch copysignf for PowerPC32.
45095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
45096         and truncf multiarch implementations.
45097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
45098         New file.
45099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
45100         file.
45101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
45102         multiarch trunc for PowerPC32.
45103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
45104         New file.
45105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
45106         New file.
45107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
45108         multiarch truncf for PowerPC32.
45110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
45111         and roundf multiarch implementations.
45112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
45113         New file.
45114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
45115         file.
45116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
45117         multiarch round for PowerPC32.
45118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
45119         New file.
45120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
45121         New file.
45122         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
45123         multiarch roundf for PowerPC32.
45125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
45126         and floorf multiarch implementations.
45127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
45128         New file.
45129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
45130         file.
45131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
45132         multiarch floor for PowerPC32.
45133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
45134         New file.
45135         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
45136         New file.
45137         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
45138         multiarch floorf for PowerPC32.
45140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
45141         and ceilf multiarch implementations.
45142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
45143         New file.
45144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
45145         file.
45146         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
45147         multiarch ceil for PowerPC32.
45148         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
45149         New file.
45150         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
45151         file.
45152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
45153         multiarch ceilf for PowerPC32.
45155         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
45156         is defined.
45157         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
45158         FINITEF is defined.
45159         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
45160         and finitef multiarch implementations.
45161         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
45162         New file.
45163         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
45164         file.
45165         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
45166         multiarch finite for PowerPC32.
45167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
45168         New file.
45169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
45170         file: multiarch finitef for PowerPC32.
45172         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
45173         and isinff multiarch implementations.
45174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
45175         file.
45176         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
45177         file.
45178         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
45179         multiarch isinf for PowerPC32.
45180         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
45181         New file.
45182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
45183         multiarch isinff for PowerPC32.
45185         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
45186         alias when __isnan is defined.
45187         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
45188         and isnanf multiarch implementations.
45189         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
45190         file.
45191         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
45192         file.
45193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
45194         file.
45195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
45196         file.
45197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
45198         multiarch isnan for PowerPC32.
45199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
45200         New file.
45201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
45202         New file.
45203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
45204         multiarch isnanf for PowerPC32.
45206         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
45207         and sqrtf multiarch implementations.
45208         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
45209         file.
45210         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
45211         file.
45212         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
45213         multiarch sqrt for PowerPC32.
45214         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
45215         file.
45216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
45217         file.
45218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
45219         multiarch sqrtf for PowerPC32.
45221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
45222         and llroundf multiarch implementations.
45223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
45224         New file.
45225         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
45226         New file.
45227         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
45228         New file.
45229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
45230         file: multiarch llround for PowerPC32.
45231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
45232         file: multiarch llroundf for PowerPC32.
45234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
45235         multiarch PowerPC32 fpu implementations.
45236         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
45237         New file.
45238         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
45239         New file.
45240         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
45241         multiarch llrint for PowerPC32.
45242         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
45243         New file.
45244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
45245         New file.
45246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
45247         file.
45249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
45251         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
45252         file.
45253         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
45254         file.
45255         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
45256         file.
45257         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
45258         multiarch wordcopy for PPC32.
45259         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45260         wordcopy objects.
45261         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45262         (__libc_ifunc_impl_list): Likewise.
45263         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
45264         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
45265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
45266         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
45267         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
45268         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
45270         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
45271         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
45272         file.
45273         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
45274         file.
45275         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
45276         file.
45277         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
45278         multiarch wcscpy for PPC32.
45279         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
45280         multiarch objects.
45281         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45282         (__libc_ifunc_impl_list): Likewise.
45283         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45284         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45285         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
45286         sysdeps/powerpc/power6/wcscpy.c.
45288         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
45289         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
45290         file.
45291         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
45292         file.
45293         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
45294         file.
45295         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
45296         multiarch wcsrchr for PPC32.
45297         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45298         multiarch objects.
45299         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45300         (__libc_ifunc_impl_list): Likewise.
45301         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
45302         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
45303         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
45304         sysdeps/powerpc/power6/wcsrchr.c.
45306         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
45307         file.
45308         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
45309         file.
45310         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
45311         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
45312         multiarch wcschr for PPc32.
45313         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
45314         multiarch objects.
45315         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45316         (__libc_ifunc_impl_list): Likewise.
45317         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
45318         * sysdeps/powerpc/power6/wcschr.c: ... to here.
45319         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
45320         sysdeps/powerpc/power6/wcschr.c.
45322         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
45323         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
45324         file.
45325         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
45326         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
45327         file: multiarch strchr for PPC32.
45328         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
45329         multiarch objects.
45330         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45331         (__libc_ifunc_impl_list): Likewise.
45333         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
45334         name.
45335         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
45336         file.
45337         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
45338         file.
45339         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
45340         multiarch strchrnul for PPC32.
45341         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
45342         multiarch objects.
45343         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45344         (__libc_ifunc_impl_list): Likewise.
45346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
45347         file.
45348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
45349         multiarch strncasecmp for PPC32.
45350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
45351         file.
45352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
45353         multiarch strncasecmp_l for PPC32.
45354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
45355         strncasecmp multiarch objects.
45356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45357         (__libc_ifunc_impl_list): Likewise.
45359         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
45360         file.
45361         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
45362         multiarch strncasecmp for PPC32.
45363         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
45364         New file.
45365         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
45366         multiarch strcasecmp_l for PPC32.
45367         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
45368         multiarch objects.
45369         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45370         (__libc_ifunc_impl_list): Likewise.
45372         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
45373         file.
45374         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
45375         file.
45376         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
45377         multiarch strncmp for PPC32.
45378         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
45379         multiarch objects.
45380         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45381         (__libc_ifunc_impl_list): Likewise.
45383         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
45384         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
45385         file.
45386         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
45387         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
45388         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
45389         multiarch objects.
45390         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45391         (__libc_ifunc_impl_list): Likewise.
45393         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
45394         file.
45395         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
45396         file.
45397         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
45398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
45399         multiarch objects.
45400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45401         (__libc_ifunc_impl_list): Likewise.
45403         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
45404         file.
45405         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
45406         file.
45407         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
45408         multiarch rawmemchr for PPC32.
45409         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
45410         multiarch objects.
45411         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45412         (__libc_ifunc_impl_list): Likewise.
45414         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
45415         file.
45416         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
45417         file.
45418         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
45419         file: memrchr multiarch for PPC32.
45420         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
45421         multiarch objects.
45422         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
45423         (__libc_ifunc_impl_list): Likewise.
45425         * string/memchr.c (__memchr): Using macro to redefine symbol name.
45426         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
45427         file.
45428         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
45429         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
45430         multiarch memchr for PPC32.
45431         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
45432         multiarch objects.
45433         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45434         (__libc_ifunc_impl_list): Likewise.
45436         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
45437         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
45438         file.
45439         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
45440         file.
45441         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
45442         file: multiarch mempcpy for PPC32.
45443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
45444         multiarch objects.
45445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45446         (__libc_ifunc_impl_list): Likewise.
45448         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
45449         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
45450         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
45451         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
45452         multiarch bzero for PPC32.
45453         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
45454         file.
45455         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
45456         file.
45457         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
45458         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
45459         file: multiarch memset for PPC32.
45460         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
45461         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
45462         memset multiarch objects.
45463         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45464         (__libc_ifunc_impl_list): Likewise.
45466         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
45467         file.
45468         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
45469         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
45470         memcmp for PPC32.
45471         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
45472         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
45473         multiarch objects.
45474         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45475         (__libc_ifunc_impl_list): Likewise.
45477         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
45478         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
45479         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
45480         file.
45481         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
45482         file.
45483         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
45484         file.
45485         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
45486         multiarch memcpy for PPC32.
45487         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
45488         multiarch objects.
45489         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
45490         (__libc_ifunc_impl_list): Likewise.
45492         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
45493         support multiarch for POWER/PPC32.
45494         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
45495         Likewise.
45496         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
45497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
45498         Implies file to make multiarch folder appers before the fpu and
45499         default folder for power4 configuration.
45501 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
45503         * scripts/bench.pl: Append volatile keyword to type.
45505 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
45507         * sysdeps/sh/sotruss-lib.c: New file.
45508         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
45510 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45514 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
45516         [BZ #6810]
45517         * math/w_tgamma.c: Include <errno.h>.
45518         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
45519         * math/w_tgammaf.c: Include <errno.h>.
45520         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
45521         * math/w_tgammal.c: Include <errno.h>.
45522         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
45523         * math/auto-libm-test-in: Do not allow missing errno on tgamma
45524         underflow.  Add more tgamma tests.
45525         * math/auto-libm-test-out: Regenerated.
45526         * sysdeps/i386/fpu/libm-test-ulps: Update.
45527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45529         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
45530         sin, sinh, tan, tanh, tgamma, y0 and y1.
45531         * math/auto-libm-test-out: Regenerated.
45532         * math/libm-test.inc (TEST_COND_x86_64): New macro.
45533         (TEST_COND_x86): Likewise.
45534         (M_E2l): Remove macro.
45535         (M_E3l): Likewise.
45536         (M_2_SQRT_PIl): Likewise.
45537         (M_SQRT_PIl): Likewise.
45538         (M_1_DIV_El): Likewise.
45539         (log_test_data): Use AUTO_TESTS_f_f.
45540         (log10_test_data): Likewise.
45541         (log1p_test_data): Likewise.
45542         (log2_test_data): Likewise.
45543         (sin_test_data): Likewise.
45544         (sin_tonearest_test_data): Likewise.
45545         (sin_towardzero_test_data): Likewise.
45546         (sin_downward_test_data): Likewise.
45547         (sin_upward_test_data): Likewise.
45548         (sinh_test_data): Likewise.
45549         (sinh_tonearest_test_data): Likewise.
45550         (sinh_towardzero_test_data): Likewise.
45551         (sinh_downward_test_data): Likewise.
45552         (sinh_upward_test_data): Likewise.
45553         (tan_test_data): Likewise.
45554         (tan_tonearest_test_data): Likewise.
45555         (tan_towardzero_test_data): Likewise.
45556         (tan_downward_test_data): Likewise.
45557         (tan_upward_test_data): Likewise.
45558         (tanh_test_data): Likewise.
45559         (tgamma_test_data): Likewise.
45560         (y0_test_data): Likewise.
45561         (y1_test_data): Likewise.
45562         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
45563         (special_real_inputs): Add pi/4.
45564         * sysdeps/i386/fpu/libm-test-ulps: Update.
45565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45567 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45569         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
45570         "longjmp_target" static probes.
45571         (__longjmp): Rename to __longjmp_symbol.
45572         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
45573         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
45574         on which longjmp to generate.
45575         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45576         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
45577         probe.
45578         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45579         (__sigjmp_save): Rename to __sigjmp_save_symbol.
45580         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
45581         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
45582         and __sigjmp_save_symbol based on which sigsetjmp to generated.
45583         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
45585         __longjmp_symbol based on which __longjmp to generate.
45586         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
45587         probe.
45588         (setjmp): Rename to setjmp_symbol.
45589         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45590         (_setjmp): Rename to _setjmp_symbol.
45591         (__sigsetjmp): Rename to __sigsetjmp_symbol.
45592         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
45593         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
45594         which setjmp to generate.
45595         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
45596         "longjmp_target" static probes.
45598 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
45600         * benchtests/README: Add note about output arguments.
45601         * benchtests/bench-sincos.c: Remove file.
45602         * benchtests/sincos-inputs: New file.
45603         * scripts/bench.pl: Identify output arguments and define
45604         static variables for them.
45606         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
45608         [BZ #15941]
45609         * Makefile (INSTALL): Add install-plain.texi as the primary
45610         dependency.
45611         * manual/install-plain.texi: New file.
45612         * manual/install.texi: Include node directive only for
45613         non-plaintext output.
45615 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
45617         * stdlib/longlong.h: Update from GCC.
45619         [BZ #6807]
45620         [BZ #15901]
45621         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
45622         * math/w_j0f.c (y0f): Likewise.
45623         * math/w_j0l.c (__y0l): Likewise.
45624         * math/w_j1.c (y1): Likewise.
45625         * math/w_j1f.c (y1f): Likewise.
45626         * math/w_j1l.c (__y1l): Likewise.
45627         * math/w_jn.c (yn): Likewise.
45628         * math/w_jnf.c (ynf): Likewise.
45629         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
45630         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
45631         value for Bessel function domain errors outside _SVID_ mode.
45632         Adjust sign of return value for yn (negative integer, 0).
45633         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
45634         by zero in return for negative x and set sign appropriately for
45635         negative n.
45636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
45637         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
45638         * math/libm-test.inc (y0_test_data): Add more tests and adjust
45639         expectations in error cases.
45640         (y1_test_data): Likewise.
45641         (yn_test_data): Likewise.
45642         * sysdeps/i386/fpu/libm-test-ulps: Update.
45643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45645 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45647         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
45648         "64" to "64-v1".  Add "64-v2".
45649         (abi-64-options): Rename to ...
45650         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
45651         (abi-64-condition): Rename to ...
45652         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
45653         (abi-64-ld-soname): Rename to ...
45654         (abi-64-v1-ld-soname): ... this.
45655         (abi-64-v2-options): Define.
45656         (abi-64-v2-condition): Likewise.
45657         (abi-64-v2-ld-soname): Likewise.
45658         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
45659         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
45660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
45661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
45662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
45664 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45665             Alan Modra  <amodra@gmail.com>
45667         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
45668         New versions for use with the ELFv2 ABI.
45669         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
45670         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
45671         declaration.
45672         (struct La_ppc64v2_retval): Likewise.
45673         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
45674         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
45675         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
45676         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
45677         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
45678         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
45679         Do not save or restore CR.
45680         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
45681         (_dl_profile_resolve): Do no save or restore CR.  Support extended
45682         return values for ELFv2 ABI.  Fix location of FPR return registers.
45683         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
45684         updated values for _CALL_ELF == 2.
45685         (La_regs, La_retval, int_retval): Likewise.
45687 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45689         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
45690         (FRAME_MIN_SIZE_PARM): Likewise.
45691         (FRAME_BACKCHAIN): Likewise.
45692         (FRAME_CR_SAVE): Likewise.
45693         (FRAME_LR_SAVE): Likewise.
45694         (FRAME_TOC_SAVE): Likewise.
45695         (FRAME_PARM_SAVE): Likewise.
45696         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
45697         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
45698         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45699         (call_mcount_parm_offset): New macro.
45700         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
45701         (PROF): Use symbolic stack frame offsets.
45702         (TAIL_CALL_SYSCALL_ERROR): Likewise.
45703         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
45704         Redefine in terms of FRAME_MIN_SIZE.
45705         (_dl_runtime_resolve): Use symbolic stack frame offsets.
45706         (_dl_profile_resolve): Likewise.  Update comment.
45707         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
45708         symbols stack frame offsets.
45709         (__sigsetjmp): Likewise.
45710         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
45711         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
45712         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
45713         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
45715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
45716         (FRAME_BACKCHAIN): Remove.
45717         (FRAME_CR_SAVE): Likewise.
45718         (FRAME_LR_SAVE): Likewise.
45719         (FRAME_COMPILER_DW): Likewise.
45720         (FRAME_LINKER_DW): Likewise.
45721         (FRAME_TOC_SAVE): Likewise.
45722         (FRAME_PARM_SAVE): Likewise.
45723         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
45724         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
45725         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
45726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
45727         (CHECK_SP): Use symbolic stack frame offsets.
45728         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
45729         zone" instead of caller's parameter save area for temp storage.
45730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
45731         Likewise.  Also, use symbolic stack frame offsets.
45732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
45733         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
45734         our own stack frame instead of the caller's.
45735         (__socket): Use symbolic stack frame offsets.
45737 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45738             Alan Modra  <amodra@gmail.com>
45740         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
45741         Define.
45742         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
45743         (PPC64_LOCAL_ENTRY_OFFSET): Define.
45744         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
45745         New function.
45746         (elf_machine_fixup_plt): Call it.
45747         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
45748         reloc arguments.
45749         (elf_machine_rela): Update call to elf_machine_plt_conflict.
45750         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45751         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
45752         r2 before calling target.
45754 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45755             Alan Modra  <amodra@gmail.com>
45757         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
45758         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
45759         versions of macros to support ELFv2 ABI.
45760         (LOCALENTRY): New macro.
45761         (ENTRY, EALIGN): Use it.
45762         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
45763         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
45764         fall through into ENTRY entry point.
45765         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
45766         Only define if _CALL_ELF != 2.
45768         (elf_machine_matches_host): Verify ABI version matches.
45769         (RTLD_START): Use LOCALENTRY.
45770         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
45771         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
45772         (PLT_ENTRY_WORDS): New macro.
45773         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
45774         (elf_machine_runtime_setup): Support ELFv2 ABI.
45775         (elf_machine_fixup_plt): Likewise.
45776         (elf_machine_plt_conflict): Likewise.
45777         (resolve_ifunc): Likewise.
45778         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
45779         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
45780         Likewise.
45781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
45782         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
45783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45784         (makecontext): Support ELFv2 ABI.
45785         * elf/elf.h (EF_PPC64_ABI): Define.
45787 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45789         * sysdeps/powerpc/powerpc64/sysdep.h
45790         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
45791         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
45792         (ENTRY) [ASSEMBLER]: ... but instead here ...
45793         (EALIGN) [ASSEMBLER]: ... and here.
45794         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
45795         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
45796         (ENTRY_2) [!ASSEMBLER]: Use it.
45797         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
45798         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
45799         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
45800         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
45801         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
45802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
45803         Use PPC64_LOAD_FUNCPTR.
45805         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
45807 2013-12-04  Alan Modra  <amodra@gmail.com>
45809         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
45810         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
45811         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
45812         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
45814         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
45815         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
45816         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
45817         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
45818         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
45819         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
45821 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
45823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
45824         (__makecontext): Fix incorrect CFI when backtracing out of
45825         context created via makecontext.
45826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
45827         (__setcontext): Fix incorrect CFI during switch to new context.
45828         (__novec_setcontext): Likewise.
45830 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45832         [BZ #4772]
45833         * time/strptime_l.c (__strptime_internal): Allow modifiers
45834         in strptime.
45835         * time/tst-strptime.c (day_tests): Add testcase.
45837 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45839         * scripts/bench.pl: Skip over blank lines.
45841 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
45843         [BZ #926]
45844         * manual/time.texi (Calendar Time): Clarify what timezone functions
45845         use.
45847 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45849         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45851 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
45853         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
45854         implementation.
45855         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
45856         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
45857         * debug/memset_chk.c (__memset_chk): Likewise.
45858         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
45859         * debug/strncpy_chk.c: Likewise.
45861 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45863         [BZ #15268]
45864         [BZ #15425]
45865         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
45866         (__ieee754_exp): For possibly underflowing results, check size of
45867         result and force underflow exception if required.
45868         * math/auto-libm-test-in: Add more tests of exp.
45869         * math/auto-libm-test-out: Regenerated.
45870         * sysdeps/i386/fpu/libm-test-ulps: Update.
45871         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45873         [BZ #16283]
45874         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
45875         * math/w_exp2f.c (__exp2f): Likewise.
45876         * math/w_exp2l.c (__exp2l): Likewise.
45877         * math/auto-libm-test-in: Do not allow missing errno on exp2
45878         underflow.
45879         * math/auto-libm-test-out: Regenerated.
45881 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
45883         [BZ #16274]
45884         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
45885         handle filename validation.
45886         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
45887         (do_open): Delete.
45889 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
45891         [BZ #6786]
45892         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
45893         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
45894         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
45895         <float.h>.
45896         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
45897         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
45898         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45899         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
45900         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45901         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
45902         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
45903         * math/auto-libm-test-in: Don't allow missing errno from erfc.
45904         Add more erfc tests.
45905         * math/auto-libm-test-out: Regenerated.
45906         * sysdeps/i386/fpu/libm-test-ulps: Update.
45907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45909         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
45910         exp2, expm1, j0 and j1.
45911         * math/auto-libm-test-out: Regenerated.
45912         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
45913         (erfc_test_data): Likewise.
45914         (exp_test_data): Likewise.
45915         (exp_tonearest_test_data): Likewise.
45916         (exp_towardzero_test_data): Likewise.
45917         (exp_downward_test_data): Likewise.
45918         (exp_upward_test_data): Likewise.
45919         (exp10_test_data): Likewise.
45920         (exp2_test_data): Likewise.
45921         (expm1_test_data): Likewise.
45922         (j0_test_data): Likewise.
45923         (j1_test_data): Likewise.
45924         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
45925         (input_flag_type): Add flag_xfail_rounding.
45926         (input_flags): Add xfail-rounding.
45927         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
45928         (output_for_one_input_case): Handle flag_xfail_rounding.
45929         * sysdeps/i386/fpu/libm-test-ulps: Update.
45930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45932 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
45934         [BZ #16289]
45935         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
45936         division by 0.
45938 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
45940         [BZ #16195]
45941         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
45942         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
45943         (STAP_PROBE0): New macro.
45944         (STAP_PROBE1): Likewise.
45945         (STAP_PROBE2): Likewise.
45946         (STAP_PROBE3): Likewise.
45947         (STAP_PROBE4): Likewise.
45949 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
45951         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
45953 2013-12-02  Steve Ellcey  <sellcey@mips.com>
45955         * benchtests/Makefile (bench): Add sqrt.
45956         (LDLIBS-bench-sqrt): New.
45957         * benchtests/sqrt-input: New.
45959 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
45961         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
45962         (GAIH_EAI): Likewise.
45963         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
45964         (gaih_inet): Likewise.
45965         (getaddrinfo): Don't use GAIH_EAI.
45967         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
45968         (struct gaih): Remove definition.
45970 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
45972         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
45973         Use HERRNOP directly.
45975 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45977         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45979 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
45981         * math/gen-auto-libm-tests.c (test_functions): Add more
45982         single-argument functions.
45983         (special_fill_pi_2): New function.
45984         (special_fill_minus_pi_2): Likewise.
45985         (special_fill_pi_6): Likewise.
45986         (special_fill_minus_pi_6): Likewise.
45987         (special_fill_pi_3): Likewise.
45988         (special_fill_2pi_3): Likewise.
45989         (special_fill_e): Likewise.
45990         (special_fill_1_e): Likewise.
45991         (special_fill_e_minus_1): Likewise.
45992         (special_real_inputs): Add more special inputs.
45993         (output_for_one_input_case): Do not require ERANGE on underflow to
45994         zero if round-to-nearest result does not underflow to zero, unless
45995         exact results required.
45996         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
45997         atan, atanh, cbrt, cos and cosh.
45998         * math/auto-libm-test-out: Regenerated.
45999         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
46000         (acos_tonearest_test_data): Likewise.
46001         (acos_towardzero_test_data): Likewise.
46002         (acos_downward_test_data): Likewise.
46003         (acos_upward_test_data): Likewise.
46004         (acosh_test_data): Likewise.
46005         (asin_test_data): Likewise.
46006         (asin_tonearest_test_data): Likewise.
46007         (asin_towardzero_test_data): Likewise.
46008         (asin_upward_test_data): Likewise.
46009         (asinh_test_data): Likewise.
46010         (atan_test_data): Likewise.
46011         (atanh_test_data): Likewise.
46012         (cbrt_test_data): Likewise.
46013         (cos_test_data): Likewise.
46014         (cos_tonearest_test_data): Likewise.
46015         (cos_towardzero_test_data): Likewise.
46016         (cos_downward_test_data): Likewise.
46017         (cos_upward_test_data): Likewise.
46018         (cosh_test_data): Likewise.
46019         (cosh_tonearest_test_data): Likewise.
46020         (cosh_towardzero_test_data): Likewise.
46021         (cosh_downward_test_data): Likewise.
46022         (cosh_upward_test_data): Likewise.
46023         * sysdeps/i386/fpu/libm-test-ulps: Update.
46024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46026 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
46028         [BZ #6787]
46029         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
46030         * math/w_exp10f.c (__exp10f): Likewise.
46031         * math/w_exp10l.c (__exp10l): Likewise.
46032         * math/libm-test.inc (exp10_test_data): Add more tests and expect
46033         errno settings in existing tests.
46035         [BZ #14032]
46036         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
46037         precision control set to double precision.
46038         * sysdeps/i386/fpu/w_sqrt.c: New file.
46039         * math/auto-libm-test-in: Add more tests.
46040         * math/auto-libm-test-out: Update.
46042         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
46043         (sqrt_test_tonearest): New function.
46044         (sqrt_towardzero_test_data): New variable.
46045         (sqrt_test_towardzero): New function.
46046         (sqrt_downward_test_data): New variable.
46047         (sqrt_test_downward): New function.
46048         (sqrt_upward_test_data): New variable.
46049         (sqrt_test_upward): New function.
46050         (main): Call the new functions.
46052         * math/gen-auto-libm-tests.c: New file.
46053         * math/auto-libm-test-in: Likewise.
46054         * math/auto-libm-test-out: New generated file.
46055         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
46056         variables.
46057         (%beautify): Add generated representations of zero.
46058         (top level): Set $auto_input and call parse_auto_input.
46059         (beautify): Remove trailing "f" from hex float constants.
46060         (parse_args): Handle XFAIL_TEST.
46061         (convert_condition): New function.
46062         (or_value): Likewise.
46063         (or_cond_value): Likewise.
46064         (generate_testfile): Handle AUTO_TESTS_* lines.
46065         (parse_auto_input): New function.
46066         * math/libm-test.inc (XFAIL_TEST): New macro.
46067         (ERRNO_UNCHANGED): Update value.
46068         (ERRNO_EDOM): Likewise.
46069         (ERRNO_ERANGE): Likewise.
46070         (IGNORE_RESULT): Likewise.
46071         (TEST_COND_flt_32): New macro.
46072         (TEST_COND_dbl_64): Likewise.
46073         (TEST_COND_ldbl_96_intel): Likewise.
46074         (TEST_COND_ldbl_96_m68k): Likewise.
46075         (TEST_COND_ldbl_128): Likewise.
46076         (TEST_COND_ldbl_128ibm): Likewise.
46077         (TEST_COND_long32): Likewise.
46078         (TEST_COND_long64): Likewise.
46079         (TEST_COND_before_rounding): Likewise.
46080         (TEST_COND_after_rounding): Likewise.
46081         (enable_test): Handle XFAIL_TEST flag.
46082         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
46083         with finite results.
46084         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
46085         auto-libm-test-out.
46087 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
46088             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
46090         [BZ #16214]
46091         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
46092         __tls_get_addr_internal instead of __tls_get_offset in order to
46093         avoid GOT pointer dependency.  Make rtld export
46094         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
46095         __tls_get_addr since we are a __tls_get_offset platform.
46096         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
46097         GOT pointer being set up before.
46098         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
46100 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
46102         * manual/math.texi (Errors in Math Functions): Document accuracy
46103         goals.
46105         [BZ #15004]
46106         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
46107         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
46108         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
46109         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
46110         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
46111         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
46112         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
46113         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
46114         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
46115         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
46116         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
46117         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
46118         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
46119         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
46120         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
46121         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
46123         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
46124         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
46125         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
46126         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
46127         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
46128         Likewise.
46129         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
46130         Likewise.
46131         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
46132         Likewise.
46133         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
46134         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
46135         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
46136         atomic-feupdateenv and flt-rounds.
46137         * sysdeps/powerpc/nofpu/Versions (libc): Add
46138         __atomic_feholdexcept, __atomic_feclearexcept,
46139         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
46140         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
46141         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
46142         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
46143         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
46144         here.
46145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46146         Update.
46148         * manual/arith.texi (FP Exceptions): Document that exceptions may
46149         not be raised when matherr is used.
46150         (Math Error Reporting): Document overflow in directed rounding
46151         modes.  Document that errno may not be set when finite values are
46152         returned on overflow.  Document intent to set errno on underflow
46153         only for underflow to zero.
46155         [BZ #16271]
46156         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
46157         round-to-nearest then adjust result for other rounding modes.
46158         * include/fenv.h (fegetround): Use libm_hidden_proto.
46159         * math/fegetround.c (fegetround): Use libm_hidden_def.
46160         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
46161         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
46162         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46163         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
46164         Likewise.
46165         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
46166         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
46167         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
46168         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
46170 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46172         [BZ #16077]
46173         * nss/Versions (libnss_files): Add
46174         _nss_files_gethostbyname3_r.
46175         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
46176         New function.
46177         (HOST_DB_LOOKUP): Remove macro.
46178         (_nss_files_gethostbyname_r): Implement function without the
46179         HOST_DB_LOOKUP macro.
46180         (_nss_files_gethostbyname2_r): Likewise.
46182 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
46184         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
46186 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
46188         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
46189         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
46190         warning.
46192 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46194         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
46195         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
46196         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
46197         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
46198         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
46199         __fe_nomask_env_priv and attribute_hidden.
46200         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
46201         (libc_feupdateenv_test_ppc): Likewise.
46202         (libc_feresetround_ppc): Likewise.
46203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46204         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
46205         compat_symbol macro.
46206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46207         (__fe_nomask_env): Likewise.
46208         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
46210 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46212         * string/Makefile: Remove ifunc tests.
46213         * string/test-string.h: Define TEST_IFUNC.
46214         * string/test-bcopy-ifunc.c: Remove.
46215         * string/test-bzero-ifunc.c: Likewise.
46216         * string/test-memccpy-ifunc.c: Likewise.
46217         * string/test-memchr-ifunc.c: Likewise.
46218         * string/test-memcmp-ifunc.c: Likewise.
46219         * string/test-memcpy-ifunc.c: Likewise.
46220         * string/test-memmem-ifunc.c: Likewise.
46221         * string/test-memmove-ifunc.c: Likewise.
46222         * string/test-mempcpy-ifunc.c: Likewise.
46223         * string/test-memrchr-ifunc.c: Likewise.
46224         * string/test-memset-ifunc.c: Likewise.
46225         * string/test-rawmemchr-ifunc.c: Likewise.
46226         * string/test-stpcpy-ifunc.c: Likewise.
46227         * string/test-stpncpy-ifunc.c: Likewise.
46228         * string/test-strcasecmp-ifunc.c: Likewise.
46229         * string/test-strcasestr-ifunc.c: Likewise.
46230         * string/test-strcat-ifunc.c: Likewise.
46231         * string/test-strchr-ifunc.c: Likewise.
46232         * string/test-strchrnul-ifunc.c: Likewise.
46233         * string/test-strcmp-ifunc.c: Likewise.
46234         * string/test-strcpy-ifunc.c: Likewise.
46235         * string/test-strcspn-ifunc.c: Likewise.
46236         * string/test-strlen-ifunc.c: Likewise.
46237         * string/test-strncasecmp-ifunc.c: Likewise.
46238         * string/test-strncat-ifunc.c: Likewise.
46239         * string/test-strncmp-ifunc.c: Likewise.
46240         * string/test-strncpy-ifunc.c: Likewise.
46241         * string/test-strnlen-ifunc.c: Likewise.
46242         * string/test-strpbrk-ifunc.c: Likewise.
46243         * string/test-strrchr-ifunc.c: Likewise.
46244         * string/test-strspn-ifunc.c: Likewise.
46245         * string/test-strstr-ifunc.c: Likewise.
46247 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46249         * benchtests/Makefile: Remove ifunc tests.
46250         * benchtests/bench-string.h: Define TEST_IFUNC.
46251         * benchtests/bench-bcopy-ifunc.c: Remove.
46252         * benchtests/bench-bzero-ifunc.c: Likewise.
46253         * benchtests/bench-memccpy-ifunc.c: Likewise.
46254         * benchtests/bench-memchr-ifunc.c: Likewise.
46255         * benchtests/bench-memcmp-ifunc.c: Likewise.
46256         * benchtests/bench-memcpy-ifunc.c: Likewise.
46257         * benchtests/bench-memmem-ifunc.c: Likewise.
46258         * benchtests/bench-memmove-ifunc.c: Likewise.
46259         * benchtests/bench-mempcpy-ifunc.c: Likewise.
46260         * benchtests/bench-memrchr-ifunc.c: Likewise.
46261         * benchtests/bench-memset-ifunc.c: Likewise.
46262         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
46263         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
46264         * benchtests/bench-stpcpy-ifunc.c: Likewise.
46265         * benchtests/bench-stpncpy-ifunc.c: Likewise.
46266         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
46267         * benchtests/bench-strcasestr-ifunc.c: Likewise.
46268         * benchtests/bench-strcat-ifunc.c: Likewise.
46269         * benchtests/bench-strchr-ifunc.c: Likewise.
46270         * benchtests/bench-strchrnul-ifunc.c: Likewise.
46271         * benchtests/bench-strcmp-ifunc.c: Likewise.
46272         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
46273         * benchtests/bench-strcpy-ifunc.c: Likewise.
46274         * benchtests/bench-strcspn-ifunc.c: Likewise.
46275         * benchtests/bench-strlen-ifunc.c: Likewise.
46276         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
46277         * benchtests/bench-strncat-ifunc.c: Likewise.
46278         * benchtests/bench-strncmp-ifunc.c: Likewise.
46279         * benchtests/bench-strncpy-ifunc.c: Likewise.
46280         * benchtests/bench-strnlen-ifunc.c: Likewise.
46281         * benchtests/bench-strpbrk-ifunc.c: Likewise.
46282         * benchtests/bench-strrchr-ifunc.c: Likewise.
46283         * benchtests/bench-strsep-ifunc.c: Likewise.
46284         * benchtests/bench-strspn-ifunc.c: Likewise.
46285         * benchtests/bench-strstr-ifunc.c: Likewise.
46287 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46289         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
46291 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
46293         * resolv/netdb.h: Use __glibc_reserved instead __unused.
46294         * rt/aio.h: Likewise.
46295         * sysdeps/gnu/bits/utmp.h: Likewise.
46296         * sysdeps/gnu/bits/utmpx.h: Likewise.
46297         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
46298         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
46299         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
46300         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
46301         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
46302         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
46303         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
46304         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
46305         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
46306         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
46307         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
46308         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
46309         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
46310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
46311         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
46312         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
46313         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
46314         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
46315         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
46316         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
46317         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
46318         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
46319         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
46320         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
46321         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
46322         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
46323         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
46324         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
46325         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
46326         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
46327         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
46328         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
46329         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
46330         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
46331         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
46332         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
46333         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
46334         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
46335         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
46336         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
46337         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
46338         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
46340 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
46342         [BZ #16245]
46343         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
46344         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
46346 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
46348         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
46349         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
46350         Likewise.
46352 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46354         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
46355         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
46356         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
46357         (__fesetround): Remove define.
46358         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
46359         rounding and exceptions handling.
46360         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
46361         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
46362         (__fe_nomask_env): Likewise.
46363         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
46364         __fegetround instead of fegetround.
46365         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
46366         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
46368 2013-11-21  Roland McGrath  <roland@hack.frob.com>
46370         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
46371         it's there.
46373         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
46375 2013-11-21  Meador Inge  <meadori@codesourcery.com>
46377         [BZ #11157]
46378         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
46379         (encrypt_r): Likewise.
46380         * malloc/obstack.h (obstack_free): Likewise.
46381         * posix/unistd.h (encrypt): Likewise.
46383 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
46385         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
46386         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
46387         DL_CALL_DT_FINI() that call the functions directly.
46388         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
46389         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
46390         * elf/dl-fini.c: Likewise.
46392 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
46394         * malloc/hooks.c (memalign_check): Add alignment rounding.
46395         * malloc/malloc.c (_mid_memalign): New function.
46396         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
46397         Implement by calling _mid_memalign.
46398         * manual/probes.texi (Memory Allocation Probes): Remove
46399         memory_valloc_retry and memory_pvalloc_retry.
46401 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
46403         * locale/programs/locarchive.c (open_archive): Add const
46404         qualifier to ARCHIVEFNAME and copy default fname to
46405         DEFAULT_FNAME.
46407         [BZ #15601]
46408         * libio/tst-widetext.input: Rename Oriya to Odia.
46409         * locale/iso-639.def: Likewise.
46411         * manual/probes.texi (Mathematical Function Probes): Add
46412         documentation for sin, cos, asin and acos probes.
46413         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
46414         (__sin32): Add slowasin probe.
46415         (__cos32): Add slowacos probe.
46416         (__mpsin): Add slowsin probe.
46417         (__mpcos): Add slowcos probe.
46419 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
46421         [BZ #15483]
46422         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
46423         thread-local __sim_exceptions_thread and global
46424         __sim_exceptions_global.
46425         (__sim_disabled_exceptions): Change to thread-local
46426         __sim_disabled_exceptions_thread and global
46427         __sim_disabled_exceptions_global.
46428         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46429         and global __sim_round_mode_global.
46430         (__simulate_exceptions): Use thread-local floating-point state and
46431         set global state from it as needed.
46432         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
46433         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
46434         __sim_round_mode_thread.
46435         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
46436         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
46437         and global __sim_exceptions_global.
46438         (__sim_disabled_exceptions): Change to thread-local
46439         __sim_disabled_exceptions_thread and global
46440         __sim_disabled_exceptions_global.
46441         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
46442         and global __sim_round_mode_global.
46443         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
46444         (SIM_SET_GLOBAL): Likewise.
46445         * sysdeps/powerpc/soft-fp/sfp-machine.h
46446         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
46447         __sim_round_mode_thread.
46448         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
46449         __sim_disabled_exceptions_thread.
46450         (__sim_exceptions): Change to __sim_exceptions_thread.
46451         (__sim_disabled_exceptions): Change to
46452         __sim_disabled_exceptions_thread.
46453         (__sim_round_mode): Change to __sim_round_mode_thread.
46454         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
46455         thread-local floating-point state and set global state from it as
46456         needed.
46457         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
46458         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
46459         (__sim_disabled_exceptions): Remove extern declaration.
46460         (feenableexcept): Use thread-local floating-point state and set
46461         global state from it as needed.
46462         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
46463         extern declaration.
46464         (__sim_disabled_exceptions): Likewise.
46465         (__sim_round_mode): Likewise.
46466         (__fegetenv): Use thread-local floating-point state.
46467         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
46468         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
46469         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
46470         floating-point state and set global state from it as needed.
46471         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
46472         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
46473         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
46474         Likewise.
46475         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
46476         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
46477         Likewise.
46478         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
46479         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
46480         Use __sim_round_mode_thread.
46481         * math/test-fenv-tls.c: New file.
46482         * math/Makefile (tests): Add test-fenv-tls.
46483         ($(objpfx)test-fenv-tls): Depend on
46484         $(common-objpfx)nptl/libpthread.so.
46486 2013-11-19  Andreas Schwab  <schwab@suse.de>
46488         * locale/programs/locale.c (show_info): Decode wordarray elements.
46489         * locale/categories.def (LC_MONETARY): Add element for
46490         _NL_MONETARY_CRNCYSTR.
46491         * locale/C-monetary.c (conversion_rate): New variable.
46492         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
46493         element.
46495 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
46497         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
46498         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
46500 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
46502         * elf/Makefile (tst-auxv): New test.
46503         * elf/tst-auxv.c: New
46504         * elf/rtld.c (dl_main): Adjust AT_EXECFN
46506 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
46508         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
46509         (hidden_proto): Caller changed.
46510         (hidden_tls_proto): New macro.
46511         (libc_hidden_tls_proto): Likewise.
46512         (rtld_hidden_tls_proto): Likewise.
46513         (libm_hidden_tls_proto): Likewise.
46514         (libresolv_hidden_tls_proto): Likewise.
46515         (librt_hidden_tls_proto): Likewise.
46516         (libdl_hidden_tls_proto): Likewise.
46517         (libnss_files_hidden_tls_proto): Likewise.
46518         (libnsl_hidden_tls_proto): Likewise.
46519         (libnss_nisplus_hidden_tls_proto): Likewise.
46520         (libutil_hidden_tls_proto): Likewise.
46522 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
46524         [BZ #10253]
46525         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
46526         (decompose_rpath): Defer expansion to fillin_rpath.
46527         (_dl_init_paths): Pass linkmap to fillin_rpath.
46529 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
46531         * benchtests/Makefile: Add strsep.
46532         * benchtests/bench-strsep.c: New file: strsep benchtest.
46533         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
46535 2013-11-18  Andreas Schwab  <schwab@suse.de>
46537         * locale/programs/locale.c (show_info) [case byte]: Check for
46538         '\377' instead of '\177'.
46539         * locale/C-monetary.c (not_available): Always use "\377".
46540         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
46541         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
46542         detect unavailable sign_posn locale elements.
46543         * locale/localeconv.c (__localeconv): For grouping and
46544         mon_grouping handle "\177" and "\377" like no grouping.
46545         (INT_ELEM): New macro.  Use it to set all numeric members.
46546         * locale/programs/ld-monetary.c (monetary_read)
46547         <tok_mon_grouping>: Normalize single -1 to the empty string.
46548         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
46549         Likewise.
46551 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46553         [BZ #16055]
46554         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
46555         when we match (nil).
46556         * stdio-common/tst-sscanf.c (struct test): Add testcase.
46558 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
46560         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
46561         (NO_TEST_INLINE): Update value.
46562         (ERRNO_UNCHANGED): Likewise.
46563         (ERRNO_EDOM): Likewise.
46564         (ERRNO_ERANGE): Likewise.
46565         (IGNORE_RESULT): Likewise.
46566         (check_float_internal): Check signs of NaN results if
46567         TEST_NAN_SIGN used.
46568         (check_complex): Pass TEST_NAN_SIGN flag through to second
46569         check_float_internal call.
46570         (copysign_test_data): Add tests with quiet NaNs as second
46571         argument.  Use TEST_NAN_SIGN.
46572         (fabs_test_data): Add test of negative quiet NaN argument.  Use
46573         TEST_NAN_SIGN.
46574         (signbit_test_data): Add tests of quiet NaN argument.
46575         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
46577         * math/gen-libm-test.pl (show_exceptions): Take extra argument
46578         $ignore_result.
46579         (parse_args): Handle function results specified as IGNORE.
46580         * math/libm-test.inc (IGNORE_RESULT): New macro.
46581         (check_float_internal): Do not check numerical result if flag
46582         IGNORE_RESULT set.
46583         (check_complex): Pass through IGNORE_RESULT to second
46584         check_float_internal call.
46585         (check_int): Do not check numerical result if flag IGNORE_RESULT
46586         set.
46587         (check_long): Likewise.
46588         (check_bool): Likewise.
46589         (check_longlong): Likewise.
46590         (lrint_test_data): Add tests of infinite and NaN arguments.
46591         (lrint_tonearest_test_data): Likewise.
46592         (lrint_towardzero_test_data): Likewise.
46593         (lrint_downward_test_data): Likewise.
46594         (lrint_upward_test_data): Likewise.
46595         (llrint_test_data): Likewise.
46596         (llrint_tonearest_test_data): Likewise.
46597         (llrint_towardzero_test_data): Likewise.
46598         (llrint_downward_test_data): Likewise.
46599         (llrint_upward_test_data): Likewise.
46600         (lround_test_data): Likewise.
46601         (llround_test_data): Likewise.
46603         * math/libm-test.inc (NO_TEST_INLINE): New macro.
46604         (ERRNO_UNCHANGED): Update value.
46605         (ERRNO_EDOM): Likewise.
46606         (ERRNO_ERANGE): Likewise.
46607         (NO_TEST_INLINE_FLOAT): New macro.
46608         (NO_TEST_INLINE_DOUBLE): Likewise.
46609         (enable_test): New function.
46610         (RUN_TEST_f_f): Check enable_test before running test.
46611         (RUN_TEST_2_f): Likewise.
46612         (RUN_TEST_fff_f): Likewise.
46613         (RUN_TEST_c_f): Likewise.
46614         (RUN_TEST_f_f1): Likewise.
46615         (RUN_TEST_fF_f1): Likewise.
46616         (RUN_TEST_fI_f1): Likewise.
46617         (RUN_TEST_ffI_f1): Likewise.
46618         (RUN_TEST_c_c): Likewise.
46619         (RUN_TEST_cc_c): Likewise.
46620         (RUN_TEST_f_i): Likewise.
46621         (RUN_TEST_f_i_tg): Likewise.
46622         (RUN_TEST_ff_i_tg): Likewise.
46623         (RUN_TEST_f_b): Likewise.
46624         (RUN_TEST_f_b_tg): Likewise.
46625         (RUN_TEST_f_l): Likewise.
46626         (RUN_TEST_f_L): Likewise.
46627         (RUN_TEST_fFF_11): Likewise.
46628         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
46629         conditionals.
46630         (cosh_test_data): Likewise.
46631         (exp_test_data): Likewise.
46632         (expm1_test_data): Likewise.
46633         (hypot_test_data): Likewise.
46634         (pow_test_data): Likewise.
46635         (sinh_test_data): Likewise.
46636         (tanh_test_data): Likewise.
46637         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
46638         flags argument.
46640         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
46641         tests with quiet NaN input and output.
46642         (acosh_test_data): Likewise.
46643         (asin_test_data): Likewise.
46644         (asinh_test_data): Likewise.
46645         (atan_test_data): Likewise.
46646         (atanh_test_data): Likewise.
46647         (atan2_test_data): Likewise.
46648         (cbrt_test_data): Likewise.
46649         (cos_test_data): Likewise.
46650         (cosh_test_data): Likewise.
46651         (erf_test_data): Likewise.
46652         (erfc_test_data): Likewise.
46653         (exp_test_data): Likewise.
46654         (exp10_test_data): Likewise.
46655         (exp2_test_data): Likewise.
46656         (expm1_test_data): Likewise.
46657         (hypot_test_data): Likewise.
46658         (j0_test_data): Likewise.
46659         (j1_test_data): Likewise.
46660         (jn_test_data): Likewise.
46661         (lgamma_test_data): Likewise.
46662         (log_test_data): Likewise.
46663         (log10_test_data): Likewise.
46664         (log1p_test_data): Likewise.
46665         (log2_test_data): Likewise.
46666         (pow_test_data): Likewise.
46667         (scalb_test_data): Likewise.
46668         (sin_test_data): Likewise.
46669         (sincos_test_data): Likewise.
46670         (sinh_test_data): Likewise.
46671         (tan_test_data): Likewise.
46672         (tanh_test_data): Likewise.
46673         (tgamma_test_data): Likewise.
46674         (y0_test_data): Likewise.
46675         (y1_test_data): Likewise.
46676         (yn_test_data): Likewise.
46678         [BZ #16167]
46679         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
46680         argument being NaN and avoid computations with second argument in
46681         that case.
46682         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46683         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46684         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46686 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
46688         * locale/iso-639.def: Add Chitwani Tharu (the).
46690 2013-11-14  Andreas Schwab  <schwab@suse.de>
46692         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
46693         word instead of empty string.
46695 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46697         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46698         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
46699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46700         (__fe_nomask_env): Likewise.
46702 2013-11-13  Steve Ellcey  <sellcey@mips.com>
46704         * benchtests/bench-timing.h: Include time.h.
46706 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
46708         [BZ #15997]
46709         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
46710         to 3.4.0 for x32.
46711         * sysdeps/unix/sysv/linux/configure: Regenerated.
46713 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
46715         [BZ #16151]
46716         * stdlib/strtod_l.c (round_and_return): Do not consider
46717         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
46718         exponent one less than half the least subnormal exponent.
46719         * stdlib/test-strtod-round-data: Add more tests.
46720         * stdlib/tst-strtod-round.c (tests): Regenerated.
46722 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46724         [BZ #14143]
46725         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
46726         (__fe_mask_env): Likewise.
46727         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
46728         libm_hidden_proto and add function prototype.
46729         (__fe_mask_env): Add function prototype.
46730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
46731         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
46732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
46733         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
46734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
46735         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
46737 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46739         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
46740         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
46742 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
46744         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
46745         of htab_find_slot().
46747 2013-11-11  David S. Miller  <davem@davemloft.net>
46749         [BZ #16150]
46750         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
46751         symbol in the non-vis3 case in static builds.
46752         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
46753         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
46754         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
46755         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
46757 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
46759         [BZ #387]
46760         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
46761         it is empty.
46763 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46765         * benchtests/Makefile: Add bench-strtod.
46766         * benchtests/bench-strtod.c: New file: strtod benchtest
46768 2013-11-11  Andreas Schwab  <schwab@suse.de>
46770         [BZ #16153]
46771         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
46772         terminating NUL in key length.
46774 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46776         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
46777         Add artificial ODP entry for vDSO symbol for PPC64.
46778         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
46779         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
46781 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
46783         [BZ #15374]
46784         * nss/getent.c (services_keys): Recognize services starting with digit.
46786 2013-11-06  David S. Miller  <davem@davemloft.net>
46788         [BZ #15985]
46789         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
46790         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
46792 2013-11-06  Will Newton  <will.newton@linaro.org>
46794         * manual/memory.texi (Malloc Examples): Remove register
46795         keyword from examples.
46797 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
46799         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
46801 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
46803         [BZ #6981]
46804         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
46805         depending on [__GCC_IEC_559 > 0].
46806         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
46807         depending on [__GCC_IEC_559_COMPLEX > 0].
46809 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
46811         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
46812         to iso-639.def.
46814 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
46816         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
46818 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
46820         [BZ #16112]
46821         * malloc/malloc (malloc_info): Do not handle first bin as
46822         special case.
46824 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
46826         * locale/iso-639.def: Add Central Nahuatl (nhn).
46828 2013-11-01  Bruno Haible  <bruno@clisp.org>
46830         [BZ #7003]
46831         * manual/math.texi (BSD Random): Specify range upper bound as
46832         in POSIX.
46834 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
46836         * locale/iso-639.def: Add Meadow Mari (mhr).
46838 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
46840         [BZ #14752], [BZ #15763]
46841         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
46842         Validate name.
46843         * rt/tst_shm.c: Add test for escaping directory.
46845 2013-10-31  Andreas Schwab  <schwab@suse.de>
46847         [BZ #15917]
46848         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
46849         followed by 'x' as part of digit sequence.
46850         * stdio-common/tst-sscanf.c (double_tests2): New tests.
46852 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
46854         [BZ #16037]
46855         * configure.ac: allow GNU Make 4.0 and greater.
46856         * configure: Regenerated.
46858 2013-10-30  Will Newton  <will.newton@linaro.org>
46860         [BZ #16038]
46861         * malloc/hooks.c (memalign_check): Limit alignment to the
46862         maximum representable power of two.
46863         * malloc/malloc.c (__libc_memalign): Likewise.
46864         * malloc/tst-memalign.c (do_test): Add test for very
46865         large alignment values.
46866         * malloc/tst-posix_memalign.c (do_test): Likewise.
46868 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46870         [BZ #11087]
46871         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
46872         (munmap_chunk): Likewise.
46873         (mremap_chunk): Likewise.
46875 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
46877         [BZ #15799]
46878         * stdlib/div.c (div): Remove obsolete code.
46879         * stdlib/ldiv.c (ldiv): Likewise.
46880         * stdlib/lldiv.c (lldiv): Likewise.
46882 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46884         [BZ #16071]
46885         * nss/nss_files/files-XXX.c (get_contents_ret): New
46886         enumerator.
46887         (get_contents): New function.
46888         (internal_getent): Use it.  Expand size of LINEBUFLEN.
46890 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
46892         * configure.in: Moved to ...
46893         * configure.ac: ... here. Change reference to configure.in
46894         to configure.ac.
46895         * sysdeps/arm/preconfigure.ac: ... here.
46896         configure.in to configure.ac.
46897         * sysdeps/gnu/configure.in: Moved to ...
46898         * sysdeps/gnu/configure.ac: ... here.
46899         * sysdeps/i386/configure.in: Moved to ...
46900         * sysdeps/i386/configure.ac: ... here.
46901         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
46902         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
46903         * sysdeps/mach/configure.in: Moved to ...
46904         * sysdeps/mach/configure.ac: ... here.
46905         * sysdeps/mach/hurd/configure.in: Moved to ...
46906         * sysdeps/mach/hurd/configure.ac: ... here.
46907         * sysdeps/powerpc/configure.in: Moved to ...
46908         * sysdeps/powerpc/configure.ac: ... here.
46909         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
46910         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
46911         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
46912         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
46913         * sysdeps/s390/s390-32/configure.in: Moved to ...
46914         * sysdeps/s390/s390-32/configure.ac: ... here.
46915         * sysdeps/s390/s390-64/configure.in: Moved to ...
46916         * sysdeps/s390/s390-64/configure.ac: ... here.
46917         * sysdeps/sh/configure.in: Moved to ...
46918         * sysdeps/sh/configure.ac: ... here.
46919         * sysdeps/sparc/configure.in: Moved to ...
46920         * sysdeps/sparc/configure.ac: ... here.
46921         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
46922         * sysdeps/unix/sysv/linux/configure.ac: ... here.
46923         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
46924         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
46925         * sysdeps/x86_64/configure.in: Moved to ...
46926         * sysdeps/x86_64/configure.ac: ... here.
46927         * sysdeps/x86_64/preconfigure.in: Moved to ...
46928         * sysdeps/x86_64/preconfigure.ac: ... here.
46929         * aclocal.m4: Change reference to configure.in to configure.ac.
46930         * config.h.in: Likewise.
46931         * manual/install.texi: Likewise.
46932         * manual/maint.texi: Likewise.
46933         * Makefile: Likewise.
46934         * malloc/Makefile: Likewise.
46935         * nscd/Makefile: Likewise.
46936         * Makeconfig: Change reference to configure.in and
46937         preconfigure.in to configure.ac and preconfigure.ac
46938         respectively.
46939         * INSTALL: Regenerated.
46940         * configure: Likewise.
46941         * sysdeps/gnu/configure: Likewise.
46942         * sysdeps/i386/configure: Likewise.
46943         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
46944         * sysdeps/mach/configure: Likewise.
46945         * sysdeps/mach/hurd/configure: Likewise.
46946         * sysdeps/powerpc/configure: Likewise.
46947         * sysdeps/powerpc/powerpc32/configure: Likewise.
46948         * sysdeps/powerpc/powerpc64/configure: Likewise.
46949         * sysdeps/s390/s390-32/configure: Likewise.
46950         * sysdeps/s390/s390-64/configure: Likewise.
46951         * sysdeps/sh/configure: Likewise.
46952         * sysdeps/sparc/configure: Likewise.
46953         * sysdeps/unix/sysv/linux/configure: Likewise.
46954         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
46955         * sysdeps/x86_64/configure: Likewise.
46956         * sysdeps/x86_64/preconfigure: Likewise.
46958 2013-10-29  Andreas Schwab  <schwab@suse.de>
46960         * stdio-common/Makefile (tst-swscanf-ENV): Define.
46962 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46964         * benchtests/pow-inputs: Add new inputs.
46966         * benchtests/exp-inputs: Add new inputs.
46968         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
46969         conditional check for return value.
46970         (__cos32): Likewise.
46972 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46974         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
46975         to provide a boost for large inputs with word alignment.
46976         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
46977         implementation based on optimized PPC64 strcpy.
46978         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
46979         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
46980         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
46981         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
46983 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46985         [BZ #2801]
46986         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
46988 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46990         [BZ #14876]
46991         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
46992         * time/tst-strptime.c (day_tests): Add testcase.
46994 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
46996         [BZ #14029]
46997         * manual/pattern.texi: Acknowledge that fnmatch can fail.
46999 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
47001         [BZ #16074]
47002         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
47003         MAP_FAILED on error.
47005 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
47007         [BZ #16072]
47008         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
47009         heap for large requests.
47011 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
47013         [BZ #9954]
47014         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
47015         result if the result has no associated interface.
47016         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
47017         interface for all 127.X.Y.Z addresses.
47019 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
47021         * locale/iso-639.def: Add Ligurian (lij)
47023 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
47025         [BZ #15825]
47026         * sunrpc/rpc_main.c: Document rpcgen -5.
47028 2013-10-19  Michael Stahl  <mstahl@redhat.com>
47030         * elf/rtld.c (do_preload): Print the reason why preloading failed.
47032 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47034         [BZ #10278]
47035         * posix/glob.c: Match only directories when trailing slash is present.
47036         * posix/tst-gnuglob.c (my_opendir): Do not open files.
47037         (main): Add testcase.
47039 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
47041         [BZ #15670]
47042         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
47044 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
47046         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
47047         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
47048         AUTH_DES and cindex for FIPS 140-2.
47049         (DES Encryption): Add cindex FIPS 46-3.
47051         * locale/locarchive.h (struct locarhandle): Add fname.
47052         * locale/programs/localedef.c (main): Pass ARGV[remaining]
47053         if an optional argument was specified to --list-archive,
47054         otherwise NULL.
47055         * locale/programs/locarchive.c (show_archive_content): Take new
47056         argument fname and pass it via ah.fname to open_archive.
47057         * locale/programs/localedef.h: Update decl.
47058         (open_archive): If AH->fname is non-null, open that file
47059         rather than the default file name, and don't ignore ENOENT.
47060         (create_archive): Set AH.fname to NULL.
47061         (delete_locales_from_archive): Likewise.
47062         (add_locales_to_archive): Likewise.
47063         * locale/programs/locfile.c (write_all_categories): Likewise.
47065 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
47066             Aldy Hernandez  <aldyh@redhat.com>
47068         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
47069         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
47070         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
47071         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
47072         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
47073         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
47074         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
47075         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
47076         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
47077         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
47078         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
47079         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
47080         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
47081         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
47082         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
47083         Likewise.
47084         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
47085         Likewise.
47086         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
47087         Likewise.
47088         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
47089         Likewise.
47090         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
47091         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
47092         Likewise.
47093         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
47094         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
47095         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
47096         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
47097         Likewise.
47098         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
47099         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
47100         * sysdeps/powerpc/preconfigure: Likewise.
47101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
47102         Likewise.
47103         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
47104         Replace contents of file by #include of <fenv_libc.h>.
47105         * sysdeps/powerpc/soft-fp/sfp-machine.h
47106         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
47107         and <sys/prctl.h>.
47108         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
47109         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
47110         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
47111         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
47112         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
47113         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
47114         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
47115         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
47116         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
47117         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
47118         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
47119         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
47120         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
47121         Allow copysignl PLT reference to be missing.
47123 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
47124             Joseph Myers  <joseph@codesourcery.com
47126         [BZ #15948]
47127         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
47128         single character.
47129         (add_to_tablewc): Assert sequence of wide characters is nonempty.
47131 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
47133         * elf/tst-tls-dlinfo.c: Don't include tls.h.
47134         * elf/tst-tls1.c: Likewise.
47135         * elf/tst-tls10.h: Likewise.
47136         * elf/tst-tls14.c: Likewise.
47137         * elf/tst-tls2.c: Likewise.
47138         * elf/tst-tls3.c: Likewise.
47139         * elf/tst-tls4.c: Likewise.
47140         * elf/tst-tls5.c: Likewise.
47141         * elf/tst-tls6.c: Likewise.
47142         * elf/tst-tls7.c: Likewise.
47143         * elf/tst-tls8.c: Likewise.
47144         * elf/tst-tls9.c: Likewise.
47145         * elf/tst-tlsmod1.c: Likewise.
47146         * elf/tst-tlsmod13.c: Likewise.
47147         * elf/tst-tlsmod13a.c: Likewise.
47148         * elf/tst-tlsmod14a.c: Likewise.
47149         * elf/tst-tlsmod16a.c: Likewise.
47150         * elf/tst-tlsmod16b.c: Likewise.
47151         * elf/tst-tlsmod2.c: Likewise.
47152         * elf/tst-tlsmod3.c: Likewise.
47153         * elf/tst-tlsmod4.c: Likewise.
47154         * elf/tst-tlsmod5.c: Likewise.
47155         * elf/tst-tlsmod6.c: Likewise.
47157 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
47159         [BZ #12486]
47160         * malloc/malloc.c: remove checks for statistics.
47162 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47164         [BZ #15277]
47165         * inet/inet_net.c (inet_network): Detect additional invalid strings.
47166         * inet/tst-network.c: Add testcase.
47168 2013-10-17  Andreas Schwab  <schwab@suse.de>
47170         [BZ #15218]
47171         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
47172         to determine canonical name.
47174 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
47176         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
47177         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
47178         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47179         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47180         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47181         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47182         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
47183         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47184         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
47185         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47186         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
47187         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47188         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47189         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47190         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47191         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47192         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47193         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47194         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47195         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47196         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47197         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47198         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47199         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
47200         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
47201         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
47202         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
47203         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
47204         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
47205         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
47206         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47207         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47208         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47209         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47210         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47211         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47212         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47213         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47214         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47215         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47216         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47217         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47218         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47219         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47220         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47221         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47222         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47223         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47224         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47225         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47226         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47227         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47228         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47229         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47230         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47231         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47232         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47233         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47235 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
47237         [BZ #16041]
47238         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
47239         make result into a quiet NaN.
47241 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
47243         * soft-fp/adddf3.c: Fix horizontal whitespace.
47244         * soft-fp/addsf3.c: Likewise.
47245         * soft-fp/addtf3.c: Likewise.
47246         * soft-fp/divdf3.c: Likewise.
47247         * soft-fp/divsf3.c: Likewise.
47248         * soft-fp/divtf3.c: Likewise.
47249         * soft-fp/double.h: Likewise.
47250         * soft-fp/eqdf2.c: Likewise.
47251         * soft-fp/eqsf2.c: Likewise.
47252         * soft-fp/eqtf2.c: Likewise.
47253         * soft-fp/extenddftf2.c: Likewise.
47254         * soft-fp/extended.h: Likewise.
47255         * soft-fp/extendsfdf2.c: Likewise.
47256         * soft-fp/extendsftf2.c: Likewise.
47257         * soft-fp/extendxftf2.c: Likewise.
47258         * soft-fp/fixdfdi.c: Likewise.
47259         * soft-fp/fixdfsi.c: Likewise.
47260         * soft-fp/fixdfti.c: Likewise.
47261         * soft-fp/fixsfdi.c: Likewise.
47262         * soft-fp/fixsfsi.c: Likewise.
47263         * soft-fp/fixsfti.c: Likewise.
47264         * soft-fp/fixtfdi.c: Likewise.
47265         * soft-fp/fixtfsi.c: Likewise.
47266         * soft-fp/fixtfti.c: Likewise.
47267         * soft-fp/fixunsdfdi.c: Likewise.
47268         * soft-fp/fixunsdfsi.c: Likewise.
47269         * soft-fp/fixunsdfti.c: Likewise.
47270         * soft-fp/fixunssfdi.c: Likewise.
47271         * soft-fp/fixunssfsi.c: Likewise.
47272         * soft-fp/fixunssfti.c: Likewise.
47273         * soft-fp/fixunstfdi.c: Likewise.
47274         * soft-fp/fixunstfsi.c: Likewise.
47275         * soft-fp/fixunstfti.c: Likewise.
47276         * soft-fp/floatdidf.c: Likewise.
47277         * soft-fp/floatdisf.c: Likewise.
47278         * soft-fp/floatditf.c: Likewise.
47279         * soft-fp/floatsidf.c: Likewise.
47280         * soft-fp/floatsisf.c: Likewise.
47281         * soft-fp/floatsitf.c: Likewise.
47282         * soft-fp/floattidf.c: Likewise.
47283         * soft-fp/floattisf.c: Likewise.
47284         * soft-fp/floattitf.c: Likewise.
47285         * soft-fp/floatundidf.c: Likewise.
47286         * soft-fp/floatundisf.c: Likewise.
47287         * soft-fp/floatunditf.c: Likewise.
47288         * soft-fp/floatunsidf.c: Likewise.
47289         * soft-fp/floatunsisf.c: Likewise.
47290         * soft-fp/floatunsitf.c: Likewise.
47291         * soft-fp/floatuntidf.c: Likewise.
47292         * soft-fp/floatuntisf.c: Likewise.
47293         * soft-fp/floatuntitf.c: Likewise.
47294         * soft-fp/fmadf4.c: Likewise.
47295         * soft-fp/fmasf4.c: Likewise.
47296         * soft-fp/fmatf4.c: Likewise.
47297         * soft-fp/gedf2.c: Likewise.
47298         * soft-fp/gesf2.c: Likewise.
47299         * soft-fp/getf2.c: Likewise.
47300         * soft-fp/ledf2.c: Likewise.
47301         * soft-fp/lesf2.c: Likewise.
47302         * soft-fp/letf2.c: Likewise.
47303         * soft-fp/muldf3.c: Likewise.
47304         * soft-fp/mulsf3.c: Likewise.
47305         * soft-fp/multf3.c: Likewise.
47306         * soft-fp/negdf2.c: Likewise.
47307         * soft-fp/negsf2.c: Likewise.
47308         * soft-fp/negtf2.c: Likewise.
47309         * soft-fp/op-1.h: Likewise.
47310         * soft-fp/op-2.h: Likewise.
47311         * soft-fp/op-4.h: Likewise.
47312         * soft-fp/op-8.h: Likewise.
47313         * soft-fp/op-common.h: Likewise.
47314         * soft-fp/quad.h: Likewise.
47315         * soft-fp/single.h: Likewise.
47316         * soft-fp/soft-fp.h: Likewise.
47317         * soft-fp/sqrtdf2.c: Likewise.
47318         * soft-fp/sqrtsf2.c: Likewise.
47319         * soft-fp/sqrttf2.c: Likewise.
47320         * soft-fp/subdf3.c: Likewise.
47321         * soft-fp/subsf3.c: Likewise.
47322         * soft-fp/subtf3.c: Likewise.
47323         * soft-fp/truncdfsf2.c: Likewise.
47324         * soft-fp/trunctfdf2.c: Likewise.
47325         * soft-fp/trunctfsf2.c: Likewise.
47326         * soft-fp/trunctfxf2.c: Likewise.
47327         * soft-fp/unorddf2.c: Likewise.
47328         * soft-fp/unordsf2.c: Likewise.
47329         * soft-fp/unordtf2.c: Likewise.
47331 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
47333         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
47334         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
47336 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
47338         * elf/dl-libc.c: Clear initfini list after freeing.
47340 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
47342         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
47343         * soft-fp/addsf3.c: Likewise.
47344         * soft-fp/addtf3.c: Likewise.
47345         * soft-fp/divdf3.c: Likewise.
47346         * soft-fp/divsf3.c: Likewise.
47347         * soft-fp/divtf3.c: Likewise.
47348         * soft-fp/double.h: Likewise.
47349         * soft-fp/eqdf2.c: Likewise.
47350         * soft-fp/eqsf2.c: Likewise.
47351         * soft-fp/eqtf2.c: Likewise.
47352         * soft-fp/extenddftf2.c: Likewise.
47353         * soft-fp/extended.h: Likewise.
47354         * soft-fp/extendsfdf2.c: Likewise.
47355         * soft-fp/extendsftf2.c: Likewise.
47356         * soft-fp/extendxftf2.c: Likewise.
47357         * soft-fp/fixdfdi.c: Likewise.
47358         * soft-fp/fixdfsi.c: Likewise.
47359         * soft-fp/fixdfti.c: Likewise.
47360         * soft-fp/fixsfdi.c: Likewise.
47361         * soft-fp/fixsfsi.c: Likewise.
47362         * soft-fp/fixsfti.c: Likewise.
47363         * soft-fp/fixtfdi.c: Likewise.
47364         * soft-fp/fixtfsi.c: Likewise.
47365         * soft-fp/fixtfti.c: Likewise.
47366         * soft-fp/fixunsdfdi.c: Likewise.
47367         * soft-fp/fixunsdfsi.c: Likewise.
47368         * soft-fp/fixunsdfti.c: Likewise.
47369         * soft-fp/fixunssfdi.c: Likewise.
47370         * soft-fp/fixunssfsi.c: Likewise.
47371         * soft-fp/fixunssfti.c: Likewise.
47372         * soft-fp/fixunstfdi.c: Likewise.
47373         * soft-fp/fixunstfsi.c: Likewise.
47374         * soft-fp/fixunstfti.c: Likewise.
47375         * soft-fp/floatdidf.c: Likewise.
47376         * soft-fp/floatdisf.c: Likewise.
47377         * soft-fp/floatditf.c: Likewise.
47378         * soft-fp/floatsidf.c: Likewise.
47379         * soft-fp/floatsisf.c: Likewise.
47380         * soft-fp/floatsitf.c: Likewise.
47381         * soft-fp/floattidf.c: Likewise.
47382         * soft-fp/floattisf.c: Likewise.
47383         * soft-fp/floattitf.c: Likewise.
47384         * soft-fp/floatundidf.c: Likewise.
47385         * soft-fp/floatundisf.c: Likewise.
47386         * soft-fp/floatunsidf.c: Likewise.
47387         * soft-fp/floatunsisf.c: Likewise.
47388         * soft-fp/floatuntidf.c: Likewise.
47389         * soft-fp/floatuntisf.c: Likewise.
47390         * soft-fp/floatuntitf.c: Likewise.
47391         * soft-fp/fmadf4.c: Likewise.
47392         * soft-fp/fmasf4.c: Likewise.
47393         * soft-fp/fmatf4.c: Likewise.
47394         * soft-fp/gedf2.c: Likewise.
47395         * soft-fp/gesf2.c: Likewise.
47396         * soft-fp/getf2.c: Likewise.
47397         * soft-fp/ledf2.c: Likewise.
47398         * soft-fp/lesf2.c: Likewise.
47399         * soft-fp/letf2.c: Likewise.
47400         * soft-fp/muldf3.c: Likewise.
47401         * soft-fp/mulsf3.c: Likewise.
47402         * soft-fp/multf3.c: Likewise.
47403         * soft-fp/negdf2.c: Likewise.
47404         * soft-fp/negsf2.c: Likewise.
47405         * soft-fp/negtf2.c: Likewise.
47406         * soft-fp/op-1.h: Likewise.
47407         * soft-fp/op-2.h: Likewise.
47408         * soft-fp/op-4.h: Likewise.
47409         * soft-fp/op-8.h: Likewise.
47410         * soft-fp/op-common.h: Likewise.
47411         * soft-fp/quad.h: Likewise.
47412         * soft-fp/single.h: Likewise.
47413         * soft-fp/soft-fp.h: Likewise.
47414         * soft-fp/sqrtdf2.c: Likewise.
47415         * soft-fp/sqrtsf2.c: Likewise.
47416         * soft-fp/sqrttf2.c: Likewise.
47417         * soft-fp/subdf3.c: Likewise.
47418         * soft-fp/subsf3.c: Likewise.
47419         * soft-fp/subtf3.c: Likewise.
47420         * soft-fp/truncdfsf2.c: Likewise.
47421         * soft-fp/trunctfdf2.c: Likewise.
47422         * soft-fp/trunctfsf2.c: Likewise.
47423         * soft-fp/trunctfxf2.c: Likewise.
47424         * soft-fp/unorddf2.c: Likewise.
47425         * soft-fp/unordsf2.c: Likewise.
47426         * soft-fp/unordtf2.c: Likewise.
47428 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
47430         [BZ #15672]
47431         * misc/error.c (error_tail): Fix possible buffer overflow.
47433 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
47435         [BZ #13028]
47436         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
47437         address.
47439 2013-10-14  P. J. McDermott  <pj@pehjota.net>
47441         [BZ #832]
47442         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
47443         testing pipefail option.
47445 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47447         * soft-fp/double.h: Indent preprocessor directives inside #if.
47448         * soft-fp/extended.h: Likewise.
47449         * soft-fp/op-2.h: Likewise.
47450         * soft-fp/op-4.h: Likewise.
47451         * soft-fp/op-common.h: Likewise.
47452         * soft-fp/quad.h: Likewise.
47453         * soft-fp/single.h: Likewise.
47454         * soft-fp/soft-fp.h: Likewise.
47456 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
47458         * iconv/iconv_prog.c: Fix typos.
47459         * stdio-common/psiginfo-data.h: Likewise.
47461 2013-10-12   Reuben Thomas <rrt@sc3d.org>
47463         [BZ #15764]
47464         * locale/setlocale.c: Fix typo.
47466 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
47468         [BZ #16036]
47469         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
47470         signaling NaN arguments.
47471         * soft-fp/unordsf2.c (__unordsf2): Likewise.
47472         * soft-fp/unordtf2.c (__unordtf2): Likewise.
47474         [BZ #14910]
47475         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
47476         unordered operands.
47477         * soft-fp/gesf2.c (__gesf2): Likewise.
47478         * soft-fp/getf2.c (__getf2): Likewise.
47479         * soft-fp/ledf2.c (__ledf2): Likewise.
47480         * soft-fp/lesf2.c (__lesf2): Likewise.
47481         * soft-fp/letf2.c (__letf2): Likewise.
47483         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
47484         * soft-fp/eqsf2.c (__eqsf2): Likewise.
47485         * soft-fp/eqtf2.c (__eqtf2): Likewise.
47486         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
47487         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
47488         * soft-fp/fixdfti.c (__fixdfti): Likewise.
47489         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
47490         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
47491         * soft-fp/fixsfti.c (__fixsfti): Likewise.
47492         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
47493         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
47494         * soft-fp/fixtfti.c (__fixtfti): Likewise.
47495         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
47496         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
47497         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
47498         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
47499         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
47500         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
47501         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
47502         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
47503         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
47504         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
47505         * soft-fp/floatdisf.c (__floatdisf): Likewise.
47506         * soft-fp/floatsisf.c (__floatsisf): Likewise.
47507         * soft-fp/floattidf.c (__floattidf): Likewise.
47508         * soft-fp/floattisf.c (__floattisf): Likewise.
47509         * soft-fp/floattitf.c (__floattitf): Likewise.
47510         * soft-fp/floatundidf.c (__floatundidf): Likewise.
47511         * soft-fp/floatundisf.c (__floatundisf): Likewise.
47512         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
47513         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
47514         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
47515         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
47516         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
47517         * soft-fp/gesf2.c (__gesf2): Likewise.
47518         * soft-fp/getf2.c (__getf2): Likewise.
47519         * soft-fp/ledf2.c (__ledf2): Likewise.
47520         * soft-fp/lesf2.c (__lesf2): Likewise.
47521         * soft-fp/letf2.c (__letf2): Likewise.
47523         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
47524         Undefine and redefine.
47525         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
47526         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
47527         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
47528         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
47529         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47530         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
47531         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47532         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
47533         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47534         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
47535         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47536         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
47537         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47538         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
47539         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
47541         [BZ #16032]
47542         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
47543         without decrementing exponent if mantissa >= that for the
47544         denominator, not >.
47545         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
47546         denominator, not >.  Decrement exponent in < case instead of
47547         incrementing in >= case.
47548         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
47549         without decrementing exponent if mantissa >= that for the
47550         denominator, not >.
47552         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
47553         computing saturated result for unsigned overflow.
47555 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47556             Jeff Law  <law@redhat.com>
47558         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
47559         (atan2Mp): Add systemtap probe marker.
47560         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
47561         (__ieee754_log): Add systemtap probe marker.
47562         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
47563         (atanMp): Add systemtap probe marker.
47564         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
47565         (tanMp): Add systemtap probe marker.
47566         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
47567         (__slowexp): Add systemtap probe marker.
47568         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
47569         (__slowpow): Add systemtap probe marker.
47570         * manual/probes.texi: Document probes.
47572 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
47574         [BZ #15362]
47575         * libio/fileops.c (_IO_new_file_write): Return count of bytes
47576         written.
47577         (_IO_new_file_xsputn): Don't return EOF if nothing has been
47578         written.
47579         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
47580         written to buffer but not flushed.
47581         * libio/iofwrite_u.c:  Likewise.
47582         * libio/iopadn.c:  Return bytes returned even if EOF was
47583         encountered.
47584         * libio/iowpadn.c:  Likewise.
47585         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
47586         if _IO_padn does not write the whole buffer.
47587         [!COMPILE_WPRINTF] (PAD): Likewise.
47589 2013-10-10  David S. Miller  <davem@davemloft.net>
47591         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
47592         directory block.
47594 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47596         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
47597         instead of FSF address.
47598         * soft-fp/fixdfti.c: Likewise.
47599         * soft-fp/fixsfti.c: Likewise.
47600         * soft-fp/fixtfti.c: Likewise.
47601         * soft-fp/fixunsdfti.c: Likewise.
47602         * soft-fp/fixunssfti.c: Likewise.
47603         * soft-fp/fixunstfti.c: Likewise.
47604         * soft-fp/floattidf.c: Likewise.
47605         * soft-fp/floattisf.c: Likewise.
47606         * soft-fp/floattitf.c: Likewise.
47607         * soft-fp/floatuntidf.c: Likewise.
47608         * soft-fp/floatuntisf.c: Likewise.
47609         * soft-fp/floatuntitf.c: Likewise.
47610         * soft-fp/trunctfxf2.c: Likewise.
47612         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
47613         * soft-fp/fixdfti.c: Likewise.
47614         * soft-fp/fixsfti.c: Likewise.
47615         * soft-fp/fixtfti.c: Likewise.
47616         * soft-fp/fixunsdfti.c: Likewise.
47617         * soft-fp/fixunssfti.c: Likewise.
47618         * soft-fp/fixunstfti.c: Likewise.
47619         * soft-fp/floattidf.c: Likewise.
47620         * soft-fp/floattisf.c: Likewise.
47621         * soft-fp/floattitf.c: Likewise.
47622         * soft-fp/floatuntidf.c: Likewise.
47623         * soft-fp/floatuntisf.c: Likewise.
47624         * soft-fp/floatuntitf.c: Likewise.
47625         * soft-fp/trunctfxf2.c: Likewise.
47627 2013-10-10  David S. Miller  <davem@davemloft.net>
47629         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47631 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
47633         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
47634         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
47635         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
47636         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
47637         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
47638         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
47639         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
47641         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
47642         for NaNs before doing comparisons on argument.
47643         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
47644         Likewise.
47646 2013-10-10  Will Newton  <will.newton@linaro.org>
47648         * malloc/hooks.c (memalign_check): Ensure the value of bytes
47649         passed to _int_memalign does not overflow.
47651 2013-10-10  Torvald Riegel  <triegel@redhat.com>
47653         * scripts/bench.pl: Add include-sources directive.
47654         * benchtests/README: Update documentation.
47656 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
47658         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
47659         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
47660         instead of FP_INIT_ROUNDMODE.
47661         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
47662         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
47664         [BZ #16034]
47665         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
47666         copy class of input value.
47667         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
47668         not handle exceptions.
47669         * soft-fp/negsf2.c (__negsf2): Likewise.
47670         * soft-fp/negtf2.c (__negtf2): Likewise.
47671         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
47673 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
47675         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
47676         semicolon.  From Linux kernel.
47678 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
47680         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
47682 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
47684         [BZ #156]
47685         * manual/socket.texi: Added statement about buffer
47686         for gethostbyname2_r.
47688 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
47690         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
47691         Use .p2align directive instead, throughout.
47692         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
47693         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
47694         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
47695         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
47696         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
47697         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
47698         * sysdeps/x86_64/strchr.S: Likewise.
47699         * sysdeps/x86_64/strrchr.S: Likewise.
47701 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
47703         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
47705         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
47707         * sysdeps/generic/math_private.h (__mpsin1): Remove
47708         declaration.
47709         (__mpcos1): Likewise.
47710         (__mpsin): New argument __range_reduce.
47711         (__mpcos): Likewise.
47712         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47713         (slow): Use __mpsin and __mpcos.
47714         (slow1): Likewise.
47715         (slow2): Likewise.
47716         (sloww): Likewise.
47717         (sloww1): Likewise.
47718         (sloww2): Likewise.
47719         (bsloww): Likewise.
47720         (bsloww1): Likewise.
47721         (bsloww2): Likewise.
47722         (cslow2): Likewise.
47723         (csloww): Likewise.
47724         (csloww1): Likewise.
47725         (csloww2): Likewise.
47726         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
47727         range_reduce.  Merge in __mpsin1.
47728         (__mpcos): Likewise.
47729         (__mpsin1): Remove.
47730         (__mpcos1): Likewise.
47732 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
47734         * locale/loadlocale.c (_nl_intern_locale_data): Use
47735         LOCFILE_ALIGNED_P.
47736         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
47737         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
47738         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
47739         obstack data is appropriately aligned.
47740         (obstack_int32_grow_fast): Likewise.
47741         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
47742         * locale/programs/locfile.c (add_locale_uint32): Likewise.
47743         (add_locale_uint32_array): Likewise.
47745 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
47747         * benchtests/Makefile: Remove ARGLIST and RET variables.
47748         ($(objpfx)bench-%.c): Pass only function name to the script.
47749         * benchtests/README: Update documentation.
47750         * benchtests/acos-inputs: Add new directives.
47751         * benchtests/acosh-inputs: Likewise.
47752         * benchtests/asin-inputs: Likewise.
47753         * benchtests/asinh-inputs: Likewise.
47754         * benchtests/atan-inputs: Likewise.
47755         * benchtests/atanh-inputs: Likewise.
47756         * benchtests/cos-inputs: Likewise.
47757         * benchtests/cosh-inputs: Likewise.
47758         * benchtests/exp-inputs: Likewise.
47759         * benchtests/log-inputs: Likewise.
47760         * benchtests/pow-inputs: Likewise.
47761         * benchtests/rint-inputs: Likewise.
47762         * benchtests/sin-inputs: Likewise.
47763         * benchtests/sinh-inputs: Likewise.
47764         * benchtests/tan-inputs: Likewise.
47765         * benchtests/tanh-inputs: Likewise.
47766         * scripts/bench.pl: Add support for new directives.
47768 2013-10-07  Alan Modra  <amodra@gmail.com>
47770         * README: Fix careless merge.
47772 2013-10-05  Alan Modra  <amodra@gmail.com>
47774         * NEWS: Mention powerpc64le support and bugs fixed.
47775         * README: Both big-endian and little-endian powerpc64 supported.
47777 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47779         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
47780         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
47781         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
47782         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
47784 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
47786         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
47787         match prototype.
47789 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
47791         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
47792         Move -mhard-float appending from
47793         ports/sysdeps/powerpc/powerpc32/Makefile.
47794         [$(with-fp) = yes] (ASFLAGS): Likewise.
47795         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
47796         * sysdeps/powerpc/nofpu: Move directory from
47797         ports/sysdeps/powerpc/nofpu.
47798         * sysdeps/powerpc/soft-fp: Move directory from
47799         ports/sysdeps/powerpc/soft-fp.
47800         * sysdeps/powerpc/powerpc32/405: Move directory from
47801         ports/sysdeps/powerpc/powerpc32/405.
47802         * sysdeps/powerpc/powerpc32/440: Move directory from
47803         ports/sysdeps/powerpc/powerpc32/440.
47804         * sysdeps/powerpc/powerpc32/464: Move directory from
47805         ports/sysdeps/powerpc/powerpc32/464.
47806         * sysdeps/powerpc/powerpc32/476: Move directory from
47807         ports/sysdeps/powerpc/powerpc32/476.
47808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
47809         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
47810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
47811         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
47812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
47813         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
47814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
47815         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
47816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
47817         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
47818         * README: Update for powerpc-*-linux-gnu software floating point
47819         support in libc.
47821         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
47822         case to powerpc/powerpc32*.
47823         * sysdeps/unix/sysv/linux/configure: Regenerated.
47825         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
47826         (_FPU_MASK_OM): Define as 0x04.
47827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
47828         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
47829         0x00c10080.
47830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
47831         0x0000003c.
47832         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
47834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
47835         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47836         getcontext_e500.
47837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
47838         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
47839         setcontext_e500.
47840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
47841         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
47842         and setcontext_e500.
47844 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
47846         * locale/iso-3166.def: Update iso-1366.def and related occurrences
47848 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47850         * manual/threads.texi (Default Thread Attributes): Fix typo.
47852 2013-10-04  Will Newton  <will.newton@linaro.org>
47854         * malloc/Makefile: Add tst-memalign.
47855         * malloc/tst-memalign.c: New file.
47857         * malloc/tst-posix_memalign.c: Add comments.
47858         (do_test): Add comments and call free on all potentially
47859         allocated pointers. Add space after cast.
47861         * malloc/tst-pvalloc.c: Add comments.
47862         (do_test): Add comments and call free on all potentially
47863         allocated pointers. Remove duplicate check for NULL pointer.
47864         Add space after cast.
47866         * malloc/tst-valloc.c: Add comments.
47867         (do_test): Add comments and call free on all potentially
47868         allocated pointers. Remove duplicate check for NULL pointer.
47869         Add space after cast.
47871 2013-10-04  Alan Modra  <amodra@gmail.com>
47873         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47874         Use stdint types in rather than __attribute__((mode())).
47875         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47877 2013-10-04  Alan Modra  <amodra@gmail.com>
47879         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47880         Correct handling of unaligned relocs for little-endian.
47881         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47883 2013-10-04  Alan Modra  <amodra@gmail.com>
47885         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
47886         * configure: Regenerate.
47887         * nptl/shlib-versions: Powerpc*le starts at 2.18.
47888         * shlib-versions: Likewise.
47890 2013-10-04  Alan Modra  <amodra@gmail.com>
47892         * string/tester.c (test_memrchr): Increment reported test cycle.
47894 2013-10-04  Alan Modra  <amodra@gmail.com>
47896         * string/test-memcpy.c (do_one_test): When reporting errors, print
47897         string address and don't overrun end of string.
47899 2013-10-04  Alan Modra  <amodra@gmail.com>
47901         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
47902         insrdi.  Make better use of reg selection to speed exit slightly.
47903         Schedule entry path a little better.  Remove useless "are we done"
47904         checks on entry to main loop.  Handle wrapping around zero address.
47905         Correct main loop count.  Handle single left-over word from main
47906         loop inline rather than by using loop_small.  Remove extra word
47907         case in loop_small caused by wrong loop count.  Add little-endian
47908         support.
47909         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
47910         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
47911         cache hint.
47912         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
47913         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
47914         support.  Avoid rlwimi.
47915         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
47917 2013-10-04  Alan Modra  <amodra@gmail.com>
47919         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
47920         insrdi.  Formatting.
47921         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
47922         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47923         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
47924         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
47925         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47926         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
47928 2013-10-04  Alan Modra  <amodra@gmail.com>
47930         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
47931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47932         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
47933         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
47934         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
47935         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
47936         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47937         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
47938         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
47939         use of regs.  Use power7 mtocrf.  Tidy function tails.
47941 2013-10-04  Alan Modra  <amodra@gmail.com>
47943         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
47944         Formatting.  Consistently use rXXX register defines or rN defines.
47945         Use early exit labels that avoid restoring unused non-volatile regs.
47946         Make cr field use more consistent with rWORDn compares.  Rename
47947         regs used as shift registers for unaligned loop, using rN defines
47948         for short lifetime/multiple use regs.
47949         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
47950         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
47951         addi 1,1,64 to pop stack frame.  Simplify return value code.
47952         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47954 2013-10-04  Alan Modra  <amodra@gmail.com>
47956         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
47957         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
47958         rather than rlwimi.
47959         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
47960         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
47961         little-endian support.  Correct typos.
47962         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
47963         rather than rlwimi.
47964         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
47965         in loop and entry code to keep "and." results.
47966         (strchr): Add little-endian support.  Comment.  Move cntlzd
47967         earlier in tail.
47968         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
47970 2013-10-04  Alan Modra  <amodra@gmail.com>
47972         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
47973         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
47974         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
47975         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
47977 2013-10-04  Alan Modra  <amodra@gmail.com>
47979         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
47980         (rTMP): Define as r11.
47981         (strcmp): Add little-endian support.  Optimise tail.
47982         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
47983         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
47984         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
47985         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
47986         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
47987         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
47988         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
47990 2013-10-04  Alan Modra  <amodra@gmail.com>
47992         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
47993         little-endian support.  Remove unnecessary "are we done" tests.
47994         Handle "s" wrapping around zero and extremely large "size".
47995         Correct main loop count.  Handle single left-over word from main
47996         loop inline rather than by using small_loop.  Correct comments.
47997         Delete "zero" tail, use "end_max" instead.
47998         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
48000 2013-10-04  Alan Modra  <amodra@gmail.com>
48002         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
48003         support.  Don't branch over align.
48004         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
48005         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
48006         support.  Rearrange tmp reg use to suit.  Comment.
48007         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
48009 2013-10-04  Alan Modra  <amodra@gmail.com>
48011         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
48013 2013-10-04  Alan Modra  <amodra@gmail.com>
48015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
48016         conditional form of branch and link when obtaining pc.
48017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
48019 2013-10-04  Alan Modra  <amodra@gmail.com>
48021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
48022         HIWORD/LOWORD.
48023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
48024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
48026 2013-10-04  Alan Modra  <amodra@gmail.com>
48028         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
48029         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
48030         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
48031         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
48032         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
48033         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
48034         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
48035         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
48036         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
48037         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
48039 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48040             Alistair Popple <alistair@ozlabs.au.ibm.com>
48041             Alan Modra <amodra@gmail.com>
48043         [BZ #15723]
48044         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
48045         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
48046         _dl_hwcap access for little-endian.
48047         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
48048         destroy vmx regs when saving unaligned.
48049         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
48050         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
48051         destroy vmx regs when saving unaligned.
48053 2013-10-04  Alan Modra  <amodra@gmail.com>
48055         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
48056         Don't use a union to pack hi/low value.
48058 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48060         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
48061         for little-endian.
48062         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48063         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
48064         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
48065         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48066         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48068 2013-10-04  Alan Modra  <amodra@gmail.com>
48070         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
48071         constants to usual value for .cst8 section, and remove redundant
48072         high address load.
48073         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
48074         constant for 0x1p52.  Load little-endian words of double from
48075         correct stack offsets.
48077 2013-10-04  Alan Modra  <amodra@gmail.com>
48079         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
48080         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
48081         words of double from correct stack offsets.
48082         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
48083         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
48084         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48085         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48086         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48087         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48088         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48089         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
48090         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
48091         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48092         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48093         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48094         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48095         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48096         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48097         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
48098         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
48100 2013-10-04  Alan Modra  <amodra@gmail.com>
48102         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
48103         64-bit int/double union.
48104         (_FPU_SETCW): Likewise.
48105         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
48106         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
48108 2013-10-04  Alan Modra  <amodra@gmail.com>
48110         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
48111         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
48113 2013-10-04  Alan Modra  <amodra@gmail.com>
48115         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
48116         use vector int constants.
48117         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
48119 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48121         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
48122         array with long long.
48123         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
48124         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
48125         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
48126         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
48127         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
48128         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
48129         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
48130         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
48131         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
48132         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
48133         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
48134         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
48135         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
48137 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
48139         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
48140         (__signbit): Likewise.  Correct for little-endian.
48141         (__signbitl): Call __signbit.
48142         (lrint): Correct for little-endian.
48143         (lrintf): Call lrint.
48145 2013-10-04  Alan Modra  <amodra@gmail.com>
48147         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
48148         union 32-bit int array member with 64-bit int array.
48149         (t515, tm256): Double rather than long double.
48150         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
48152 2013-10-04  Alan Modra  <amodra@gmail.com>
48154         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
48155         Delete.
48156         (IEEE854_LONG_DOUBLE_BIAS): Delete.
48157         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
48158         version of math_ldbl.h.
48160 2013-10-04  Alan Modra  <amodra@gmail.com>
48162         [BZ #15734], [BZ #15735]
48163         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
48164         all uses of ieee875 long double macros and unions.  Simplify test
48165         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
48166         ldbl_extract_mantissa value for ix,iy exponents.  Properly
48167         normalize after ldbl_extract_mantissa, and don't add hidden bit
48168         already handled.  Don't treat low word of ieee854 mantissa like
48169         low word of IBM long double and mask off bit when testing for
48170         zero.
48171         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
48172         all uses of ieee875 long double macros and unions.  Simplify tests
48173         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
48174         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
48175         two1022, instead use their values.  Recognise that tests for large
48176         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
48177         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
48178         Rewrite all uses of ieee875 long double macros and unions.  Simplify
48179         test for 0.0L and nan.  Correct negation.
48180         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
48181         ieee875 long double macros and unions.  Correct output for large
48182         magnitude x.  Correct absolute value calculation.
48183         (__erfcl): Likewise.
48184         * math/libm-test.inc: Add tests for errors discovered in IBM long
48185         double versions of fmodl, remainderl, erfl and erfcl.
48187 2013-10-04  Alan Modra  <amodra@gmail.com>
48189         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
48190         all uses of ieee854 long double macros and unions.  Simplify tests
48191         for long doubles that are fully specified by the high double.
48192         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
48193         Likewise.
48194         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
48195         Remove dead code too.
48196         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
48197         (__ieee754_ynl): Likewise.
48198         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
48199         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
48200         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
48201         Remove dead code too.
48202         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
48203         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
48204         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
48205         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
48206         Simplify.
48207         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
48208         Simplify.
48209         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
48210         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
48211         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
48212         Comment on variable precision.
48213         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
48214         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
48215         Likewise.
48216         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
48217         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48218         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48219         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
48220         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
48222 2013-10-04  Alan Modra  <amodra@gmail.com>
48224         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
48225         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
48226         all uses of ieee854 long double macros and unions.
48227         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
48228         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
48229         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
48230         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
48231         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
48232         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
48233         Likewise.
48234         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
48235         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
48236         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
48237         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
48238         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
48239         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
48240         Simplify sign and nan test too.
48241         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
48242         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
48243         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
48244         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
48245         Likewise.
48246         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
48247         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
48248         Likewise.
48249         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
48250         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
48251         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
48252         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
48253         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
48254         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
48256 2013-10-04  Alan Modra  <amodra@gmail.com>
48258         * stdio-common/printf_size.c (__printf_size): Don't use
48259         union ieee854_long_double in fpnum union.
48260         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
48261         signbit macro to retrieve sign from long double.
48262         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
48263         retrieve sign from long double.
48264         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
48265         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
48266         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
48267         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48268         * math/test-misc.c (main): Don't use union ieee854_long_double.
48270 2013-10-04  Alan Modra  <amodra@gmail.com>
48272         [BZ #15680]
48273         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
48274         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
48275         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
48276         calculation.  Remove unnecessary test for denormal exponent.
48277         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
48278         Correct handling of denormals.  Avoid undefined shift behaviour.
48279         Correct normalisation of low mantissa when low double is denormal.
48280         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
48281         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
48282         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
48283         Correct normalisation of low mantissa.  Test for overflow of high
48284         mantissa and normalise.
48285         (ldbl_nearbyint): Use more readable constant for two52.
48286         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
48287         (__mpn_construct_long_double): Fix test for overflow of high
48288         mantissa and correct normalisation.  Avoid undefined shift.
48290 2013-10-04  Alan Modra  <amodra@gmail.com>
48292         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
48293         (union ibm_extended_long_double): Define as an array of ieee754_double.
48294         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
48295         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
48296         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
48297         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
48298         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48299         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
48300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48301         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
48302         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48303         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
48304         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
48306 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
48308         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
48309         page size instead of calling getpagesize.
48311         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
48312         (LOCFILE_ALIGN_MASK): Likewise.
48313         (LOCFILE_ALIGN_UP): Likewise.
48314         (LOCFILE_ALIGNED_P): Likewise.
48315         * locale/programs/ld-collate.c (collate_output): Use the new
48316         macros instead of __alignof__ (int32_t).
48317         * locale/weight.h (findidx): Likewise.
48319 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
48321         [BZ #431]
48322         * manual/string.texi: Fix strncat and wcsncat.
48324 2013-10-03  Brooks Moses  <bmoses@google.com>
48326         [BZ #15915]
48327         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
48328         * Makerules: ...here, and adjust associated comments.
48330 2013-10-02  Will Newton  <will.newton@linaro.org>
48332         * malloc/Makefile: Add tst-pvalloc.
48333         * malloc/tst-pvalloc.c: New file.
48335 2013-10-02  Will Newton  <will.newton@linaro.org>
48337         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
48338         improve test coverage.
48340 2013-10-02  Will Newton  <will.newton@linaro.org>
48342         * malloc/Makefile: Add tst-posix_memalign.
48343         * malloc/tst-posix_memalign.c: New file.
48345 2013-10-01  Eric Blake  <eblake@redhat.com>
48347         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
48348         Use __THROWNL rather than __THROW on static functions.
48350 2013-09-30  Petr Machata  <pmachata@redhat.com>
48352         * elf/elf.h (R_AARCH64_ABS16): New macro.
48353         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
48354         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
48355         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
48356         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
48357         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
48358         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
48359         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
48360         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
48361         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
48362         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
48363         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
48364         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
48365         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
48366         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
48367         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
48368         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
48369         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
48370         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
48371         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
48372         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
48373         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
48374         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
48375         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
48376         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
48377         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
48378         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
48379         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
48380         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
48381         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
48382         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
48383         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
48384         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
48385         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
48386         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
48387         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
48388         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
48389         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
48390         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
48391         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
48392         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
48393         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
48394         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
48395         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
48396         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
48397         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
48398         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
48399         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
48400         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
48401         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
48402         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
48403         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
48404         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
48405         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
48406         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
48407         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
48408         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
48409         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
48410         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
48411         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
48412         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
48413         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
48414         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
48415         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
48416         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
48417         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
48418         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
48419         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
48420         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
48421         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
48422         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
48423         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
48424         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
48425         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
48426         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
48427         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
48428         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
48429         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
48430         (R_AARCH64_TLSDESC_LDR): Likewise.
48431         (R_AARCH64_TLSDESC_ADD): Likewise.
48432         (R_AARCH64_TLSDESC_CALL): Likewise.
48434 2013-09-30  Andreas Schwab  <schwab@suse.de>
48436         [BZ #15048]
48437         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
48438         the nss database lookup.
48439         * nscd/initgrcache.c (addinitgroupsX): Likewise.
48440         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
48442 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
48444         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
48446 2013-09-28  P. J. McDermott  <pj@pehjota.net>
48448         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
48449         ${Bash-specific parameter/pattern/string} parameter expansion.
48450         * sysdeps/unix/make-syscalls.sh: Likewise.
48452 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48454         * sysdeps/sh/stackguard-macros.h: New file.
48456 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
48458         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
48459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
48460         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
48461         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
48462         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
48463         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
48465 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48467         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
48468         Fix thread ID register.
48470 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
48472         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
48473         [POSIX || UNIX98]: Require rather than permitting all symbols from
48474         <time.h>.
48475         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
48476         element of struct sched_param.
48477         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
48478         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
48479         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
48480         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
48481         constant.
48483 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
48485         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
48486         argument calculation.
48488 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48490         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
48491         Expect macro.
48492         [POSIX] (pthread_attr_t): Do not require type.
48493         [POSIX] (pthread_cond_t): Likewise.
48494         [POSIX] (pthread_condattr_t): Likewise.
48495         [POSIX] (pthread_key_t): Likewise.
48496         [POSIX] (pthread_mutex_t): Likewise.
48497         [POSIX] (pthread_mutexattr_t): Likewise.
48498         [POSIX] (pthread_once_t): Likewise.
48499         [POSIX] (pthread_t): Likewise.
48500         [POSIX-based standards] (pthread_atfork): Expect function.
48502 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
48503             Richard Sandiford  <richard@codesourcery.com>
48505         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
48506         (swap_endianness_p): New extern variable.
48507         (set_big_endian): New inline function.
48508         (maybe_swap_uint32): Likewise.
48509         (maybe_swap_uint32_array): Likewise.
48510         (maybe_swap_uint32_obstack): Likewise.
48511         * locale/programs/locfile.c: Include <stdbool.h>.
48512         (swap_endianness_p): New variable.
48513         (add_locale_uint32): Call maybe_swap_uint32.
48514         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
48515         (write_locale_data): Call maybe_swap_uint32_array.
48516         * locale/programs/ld-collate.c (obstack_int32_grow): Call
48517         maybe_swap_uint32.
48518         (obstack_int32_grow_fast): Likewise.
48519         (output_weightwc): Call maybe_swap_uint32_obstack.
48520         (collate_output): Likewise.
48521         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
48522         (OPT_LITTLE_ENDIAN): Likewise.
48523         (options): Add --little-endian and --big-endian options.
48524         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
48525         * locale/programs/locarchive.c: Include "locfile.h".
48526         (GET): New macro.
48527         (SET): Likewise.
48528         (INC): Likewise.
48529         (create_archive): Use the new macros to access fields of
48530         structures directly mapped from or written to locale archives.
48531         (oldlocrecentcmp): Likewise.
48532         (enlarge_archive): Likewise.
48533         (insert_name): Likewise.
48534         (add_alias): Likewise.
48535         (add_locale): Likewise.
48536         (delete_locales_from_archive): Likewise.
48537         (show_archive_content): Likewise.
48538         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
48539         locale data.
48541 2013-09-24  Roland McGrath  <roland@hack.frob.com>
48543         * manual/freemanuals.texi: Updated from (newly) canonical copy at
48544         http://www.gnu.org/doc/freemanuals.texi.
48545         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
48547 2013-09-24  Will Newton  <will.newton@linaro.org>
48549         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
48550         macro.
48552 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
48554         * locale/hashval.h (compute_hashval): Interpret bytes of key as
48555         unsigned char.
48557 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
48559         * manual/threads.texi (POSIX Threads): Fix a typo.
48561 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
48563         [BZ #14547]
48564         * string/tst-strcoll-overflow.c: New test case.
48565         * string/Makefile (xtests): Add tst-strcoll-overflow.
48566         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
48567         cache if string sizes may cause integer overflow.
48569         [BZ #14547]
48570         * string/strcoll_l.c (coll_seq): New members rule, idx,
48571         save_idx and back_us.
48572         (get_next_seq_nocache): New function.
48573         (do_compare_nocache): New function.
48574         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
48575         when malloc fails.
48577 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
48579         [BZ #15754]
48580         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
48581         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
48582         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
48584         [BZ #15754]
48585         * elf/Makefile (tests): Add tst-ptrguard1.
48586         (tests-static): Add tst-ptrguard1-static.
48587         (tst-ptrguard1-ARGS): Define.
48588         (tst-ptrguard1-static-ARGS): Define.
48589         * elf/tst-ptrguard1.c: New file.
48590         * elf/tst-ptrguard1-static.c: New file.
48591         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
48592         * sysdeps/i386/stackguard-macros.h: Likewise.
48593         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
48594         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
48595         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
48596         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
48597         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
48598         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
48600 2013-09-23  Hector Marco  <hecmargi@upv.es>
48601             Ismael Ripoll  <iripoll@disca.upv.es>
48602             Carlos O'Donell  <carlos@redhat.com>
48604         [BZ #15754]
48605         * sysdeps/generic/stackguard-macros.h: Define
48606         __pointer_chk_guard_local and POINTER_CHK_GUARD.
48607         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
48608         Define __pointer_chk_guard_local.
48609         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
48610         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
48612 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
48614         [BZ #15859]
48615         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
48617 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
48619         * include/string.h (__ffs): Declare as hidden.
48620         * string/ffs.c (__ffs): Define as hidden.
48621         * sysdeps/i386/ffs.c (__ffs): Likewise.
48622         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
48623         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
48624         * sysdeps/s390/ffs.c (__ffs): Likewise.
48625         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
48627 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
48629         * NEWS: Mention malloc probes.
48631         * malloc/arena.c (new_heap): New memory_heap_new probe.
48632         (grow_heap): New memory_heap_more probe.
48633         (shrink_heap): New memory_heap_less probe.
48634         (heap_trim): New memory_heap_free probe.
48635         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
48636         (systrim): New memory_sbrk_less probe.
48637         * manual/probes.texi: Document them.
48639         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
48640         * manual/probes.texi: Document it.
48642         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
48643         (__libc_realloc): Add memory_realloc_retry probe.
48644         (__libc_memalign): Add memory_memalign_retry probe.
48645         (__libc_valloc): Add memory_valloc_retry probe.
48646         (__libc_pvalloc): Add memory_pvalloc_retry probe.
48647         (__libc_calloc): Add memory_calloc_retry probe.
48648         * manual/probes.texi: Document them.
48650         * malloc/arena.c (get_free_list): Add probe
48651         memory_arena_reuse_free_list.
48652         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
48653         and memory_arena_reuse.
48654         (arena_get2) [!PER_THREAD]: Likewise.
48655         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
48656         memory_arena_reuse_realloc.
48657         * manual/probes.texi: Document them.
48659         * malloc/malloc.c (__libc_free): Add
48660         memory_mallopt_free_dyn_thresholds probe.
48661         (__libc_mallopt): Add multiple memory_mallopt probes.
48662         * manual/probes.texi: Document them.
48664         * malloc/malloc.c: Include stap-probe.h.
48665         (__libc_mallopt): Add memory_mallopt probe.
48666         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
48667         * manual/probes.texi: New.
48668         * manual/Makefile (chapters): Add probes.
48669         * manual/threads.texi: Set next node.
48671 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
48673         [BZ #15963, #13985]
48674         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
48675         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
48676         Add `Chinese' to `nan' entry name.
48678 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48680         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
48681         (POLYNOMIAL): Likewise.
48682         (TAYLOR_SINCOS): Likewise.
48683         (TAYLOR_SLOW): Likewise.
48684         (__sin): Use TAYLOR_SINCOS.
48685         (__cos): Likewise.
48686         (slow): Use TAYLOR_SLOW.
48687         (sloww): Likewise.
48688         (bsloww): Likewise.
48689         (csloww): Likewise.
48691 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
48693         * stdlib/strtod_l.c: Fix buffer overrun.
48695 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
48697         * benchtests/Makefile (bench): Add sincos.
48698         * benchtests/bench-sincos.c: New file.
48700         * math/libm-test.inc (cos_test_data): New test inputs.
48701         (sin_test_data): Likewise.
48703         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
48704         macro.
48705         (__sin): Use it.
48706         (__cos): Likewise.
48707         (slow1): Likewise.
48708         (slow2): Likewise.
48709         (sloww1): Likewise.
48710         (sloww2): Likewise.
48711         (bsloww1): Likewise.
48712         (bsloww2): Likewise.
48713         (cslow2): Likewise.
48714         (csloww1): Likewise.
48715         (csloww2): Likewise.
48717         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
48718         function.
48719         (__sin): Use it.
48720         (__cos): Likewise.
48722         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
48723         gotos.
48724         (__cos): Likewise.
48726 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
48728         * config.h.in (HAVE_MIPS_NAN2008): New macro.
48729         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
48730         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
48731         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
48732         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
48733         * elf/cache.c (print_entry): Handle the new cache flags.
48735 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48736             Aldy Hernandez  <aldyh@redhat.com>
48738         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
48739         Change condition to [_SOFT_FLOAT].
48740         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
48741         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
48742         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
48743         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
48744         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
48745         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
48746         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
48747         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
48748         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
48749         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
48750         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
48751         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
48752         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
48753         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
48754         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
48755         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
48756         declaration.
48758 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
48760         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
48761         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48762         (__longjmp): Use LOAD_GP to load saved GPRs.
48763         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
48764         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
48765         (__sigsetjmp): Use SAVE_GP to save GPRs.
48767         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
48768         Do not append -msoft-float.
48769         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
48771 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
48773         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
48775 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
48777         [BZ #15966]
48778         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
48779         (_FPU_GETCW): Use initial "__" on variable and field names but not
48780         on macro parameter name.
48781         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
48782         parentheses around reference to macro parameter.
48784 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
48786         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
48787         prototype.
48788         (ctype_startup): Use uint32_t in cast and sizeof for
48789         ctype->charnames.
48791 2013-09-11  Jia Liu  <proljc@gmail.com>
48793         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
48794         __daddr_t_defined.
48795         [__FreeBSD__]: Likewise.
48797 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
48799         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
48800         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
48801         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
48802         (strchr): Remove __strchr_sse42 ifunc selection.
48803         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
48804         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
48806 2013-09-11  Will Newton  <will.newton@linaro.org>
48808         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
48809         parameter to RES. Remove hardcoded 1000 value.
48810         * benchtests/bench-skeleton.c (main): Pass RES parameter
48811         to TIMING_INIT and multiply result by 1000.
48813 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48817 2013-09-11  Andreas Schwab  <schwab@suse.de>
48819         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
48820         if not defined.
48821         (O_TMPFILE) [__USE_GNU]: Define.
48822         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
48823         Define.
48825 2013-09-11  Will Newton  <will.newton@linaro.org>
48827         [BZ #15857]
48828         * malloc/malloc.c (__libc_memalign): Check the value of bytes
48829         does not overflow.
48831 2013-09-11  Will Newton  <will.newton@linaro.org>
48833         [BZ #15856]
48834         * malloc/malloc.c (__libc_valloc): Check the value of bytes
48835         does not overflow.
48837 2013-09-11  Will Newton  <will.newton@linaro.org>
48839         [BZ #15855]
48840         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
48841         does not overflow.
48843 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
48845         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
48846         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
48847         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48848         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48849         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48851 2013-09-10  Allan McRae  <allan@archlinux.org>
48853         [BZ #15748]
48854         * manual/arith.texi (Parsing of Floats): Clarify
48855         cross-reference.
48857         [BZ #15849]
48858         * manual/install.texi (Running make install): Mention
48859         --enable-pt-chown.
48860         * INSTALL: Regenerated.
48862 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
48864         * csu/init-first.c (_init): Remove the !SHARED condition around
48865         FPU control word initialization.
48866         * elf/dl-support.c (_dl_fpu_control): New variable.
48867         (_dl_aux_init) <AT_FPUCW>: Initialize it.
48868         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
48869         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
48870         * math/test-fpucw-static.c: New file.
48871         * math/test-fpucw-ieee.c: New file.
48872         * math/test-fpucw-ieee-static.c: New file.
48873         * math/Makefile (tests): Add `test-fpucw-ieee' and
48874         `$(tests-static)'.
48875         (tests-static): New variable.
48876         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
48877         dependency to...
48878         [($(build-shared),yes)]
48879         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48880         ... this.
48881         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
48882         New dependency.
48884 2013-09-09  Allan McRae  <allan@archlinux.org>
48886         [BZ #15939]
48887         * manual/string.texi (Collation Functions): Fix typo in
48888         strcoll example.
48889         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
48891         [BZ #15893]
48892         * stdlib/isomac.c (get_null_defines): Fix memory leak.
48894         [BZ #15892]
48895         * libio/memstream.c (open_memstream): Fix memory leak.
48896         * libio/wmemstream.c (open_wmemstream): Likewise.
48898         [BZ #15895]
48899         * nscd/netgroupcache.c: Fix nesting of ifdefs.
48901 2013-09-09  Will Newton  <will.newton@linaro.org>
48903         * malloc/Makefile: Add tst-realloc to tests.
48904         * malloc/tst-realloc.c: New file.
48906 2013-09-09  Allan McRae  <allan@archlinux.org>
48908         [BZ #15844]
48909         * COPYING: Update from GNU website to fix FSF address.
48910         * COPYING.LIB: Likewise.
48912 2013-09-06  David S. Miller  <davem@davemloft.net>
48914         * po/zh_TW.po: Update Chinese (traditional) translation from
48915         translation project.
48917 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
48918             Joseph Myers  <joseph@codesourcery.com>
48920         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
48921         "localeinfo.h".
48922         (obstack_chunk_alloc): New macro.
48923         (obstack_chunk_free): Likewise.
48924         (record_offset): New function.
48925         (init_locale_data): Likewise.
48926         (align_locale_data): Likewise.
48927         (add_locale_empty): Likewise.
48928         (add_locale_raw_data): Likewise.
48929         (add_locale_raw_obstack): Likewise.
48930         (add_locale_string): Likewise.
48931         (add_locale_wstring): Likewise.
48932         (add_locale_uint32): Likewise.
48933         (add_locale_uint32_array): Likewise.
48934         (add_locale_char): Likewise.
48935         (start_locale_structure): Likewise.
48936         (end_locale_structure): Likewise.
48937         (start_locale_prelude): Likewise.
48938         (end_locale_prelude): Likewise.
48939         (write_locale_data): Take locale_file structure rather than an
48940         iovec.
48941         * locale/programs/locfile.h: Include "obstack.h".
48942         (struct locale_file): Change to store locale file contents instead
48943         of header.
48944         (init_locale_data): New prototype.
48945         (align_locale_data): Likewise.
48946         (add_locale_empty): Likewise.
48947         (add_locale_raw_data): Likewise.
48948         (add_locale_raw_obstack): Likewise.
48949         (add_locale_string): Likewise.
48950         (add_locale_wstring): Likewise.
48951         (add_locale_uint32): Likewise.
48952         (add_locale_uint32_array): Likewise.
48953         (add_locale_char): Likewise.
48954         (start_locale_structure): Likewise.
48955         (end_locale_structure): Likewise.
48956         (start_locale_prelude): Likewise.
48957         (end_locale_prelude): Likewise.
48958         (write_locale_data): Update prototype.
48959         * locale/programs/3level.h (struct TABLE): Remove result field.
48960         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
48961         Use new locale_file interface.
48962         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
48963         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
48964         * locale/programs/ld-address.c (address_output): Use new
48965         locale_file interface.
48966         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
48967         NO_ADD_LOCALE.
48968         (collate_finish): Don't call collseq_table_finalize.
48969         (collate_output): Use new locale_file interface.
48970         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
48971         in file.
48972         (NO_FINALIZE): Change to NO_ADD_LOCALE.
48973         (TABLE): Move defines earlier in file.
48974         (ELEMENT): Likewise.
48975         (DEFAULT): Likewise.
48976         (wctrans_table_add): Move macro and inline function earlier in
48977         file.
48978         (struct wctype_table): Move type earlier in file.
48979         (add_locale_wctype_table): New static prototype.
48980         (struct locale_ctype_t): Use logical types instead of struct iovec
48981         pointers for members.
48982         (ctype_output): Use new locale_file interface.
48983         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
48984         new locale_file interface.
48985         (allocate_arrays): Update for use of new locale_file interface.
48986         * locale/programs/ld-identification.c (identification_output): Use
48987         new locale_file interface.
48988         * locale/programs/ld-measurement.c (measurement_output): Likewise.
48989         * locale/programs/ld-messages.c (messages_output): Likewise.
48990         * locale/programs/ld-monetary.c (monetary_output): Likewise.
48991         * locale/programs/ld-name.c (name_output): Likewise.
48992         * locale/programs/ld-numeric.c (numeric_output): Likewise.
48993         * locale/programs/ld-paper.c (paper_output): Likewise.
48994         * locale/programs/ld-telephone.c (telephone_output): Likewise.
48995         * locale/programs/ld-time.c (time_output): Likewise.
48997 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48999         * benchtests/Makefile: Add memrchr benchmark.
49000         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
49001         benchmark as memrchr.
49002         * benchtests/bench-memrchr-ifunc.c: New file.
49003         * benchtests/bench-memrchr.c: New file.
49005 2013-09-06   Will Newton  <will.newton@linaro.org>
49007         * benchtests/Makefile (string-bench): Add memcpy.
49009 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
49010             Cong Wang  <amwang@redhat.com>
49012         [BZ #15850]
49013         * sysdeps/unix/sysv/linux/bits/in.h
49014         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
49015         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
49016         before __USE_KERNEL_IPV6_DEFS uses.
49017         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
49018         IPPROTO_BEETPH.
49019         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
49020         sockaddr_in6, or ipv6_mreq.
49022 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49024         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
49025         memory access for final bytes in some large inputs.
49026         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
49028 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49030         * string/test-memrchr.c: New file.
49031         * string/test-memrchr-ifunc.c: New file.
49032         * string/Makefile: Add new memrchr testcase.
49034 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
49036         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
49037         fanotify_init returns EPERM.
49039 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49041         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
49042         errors.
49043         (top level): Treat second token from macro or constant entries for
49044         allowed headers as allowed.
49045         * include/complex.h: Condition internal declarations on
49046         [!_ISOMAC].
49047         * include/fenv.h: Condition include of <stdbool.h> and internal
49048         declarations on [!_ISOMAC].
49050 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
49052         [BZ #15923]
49053         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
49055 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
49057         * configure.in (--enable-versioning): Remove configure option.
49058         (libc_cv_asm_symver_directive): Remove configure test.
49059         (libc_cv_ld_version_script_option): Likewise.
49060         (VERSIONING): Remove variable and AC_SUBST.
49061         (DO_VERSIONING): Remove AC_DEFINE.
49062         * configure: Regenerated.
49063         * config.h.in (DO_VERSIONING): Remove macro.
49064         * Makerules [$(versioning) = yes]: Change conditionals to
49065         [$(build-shared) = yes].
49066         * config.make.in (versioning): Remove variable.
49067         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
49068         [$(build-shared) = yes].
49069         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
49070         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
49071         * elf/Makefile [$(versioning) = yes]: Change conditionals to
49072         [$(build-shared) = yes].
49073         * extra-lib.mk [$(versioning) = yes]: Likewise.
49074         * hurd/Makefile [$(versioning) = yes]: Likewise.
49075         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
49076         [SHARED].
49077         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
49078         [SHARED].
49079         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49080         [SHARED && !NO_HIDDEN].
49081         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
49082         [SHARED].
49083         [SHARED && DO_VERSIONING]: Likewise..
49084         * libio/Makefile [$(versioning) = yes]: Change conditionals to
49085         [$(build-shared) = yes].
49086         * manual/install.texi (--disable-versioning): Remove
49087         documentation.
49088         * INSTALL: Regenerated.
49089         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
49090         to [SHARED].
49091         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
49092         [$(build-shared) = yes].
49093         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
49094         * sysdeps/i386/i686/multiarch/strstr-c.c
49095         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
49096         [SHARED && !NO_HIDDEN].
49097         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
49098         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
49099         * sysdeps/powerpc/powerpc32/dl-machine.c
49100         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
49101         * sysdeps/powerpc/powerpc32/sysdep.h
49102         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
49103         to [SHARED && PIC && !NO_HIDDEN].
49104         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
49105         conditional to [SHARED].
49107 2013-09-04   Will Newton  <will.newton@linaro.org>
49109         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
49110         * benchtests/bench-string.h: Include bench-timing.h instead
49111         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
49112         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
49113         call to HP_TIMING_DIFF_INIT.
49114         * benchtests/bench-memccpy.c: Use bench-timing.h macros
49115         instead of hp-timing.h macros.
49116         * benchtests/bench-memchr.c: Likewise.
49117         * benchtests/bench-memcmp.c: Likewise.
49118         * benchtests/bench-memcpy.c: Likewise.
49119         * benchtests/bench-memmem.c: Likewise.
49120         * benchtests/bench-memmove.c: Likewise.
49121         * benchtests/bench-memset.c: Likewise.
49122         * benchtests/bench-rawmemchr.c: Likewise.
49123         * benchtests/bench-strcasecmp.c: Likewise.
49124         * benchtests/bench-strcasestr.c: Likewise.
49125         * benchtests/bench-strcat.c: Likewise.
49126         * benchtests/bench-strchr.c: Likewise.
49127         * benchtests/bench-strcmp.c: Likewise.
49128         * benchtests/bench-strcpy.c: Likewise.
49129         * benchtests/bench-strcpy_chk.c: Likewise.
49130         * benchtests/bench-strlen.c: Likewise.
49131         * benchtests/bench-strncasecmp.c: Likewise.
49132         * benchtests/bench-strncat.c: Likewise.
49133         * benchtests/bench-strncmp.c: Likewise.
49134         * benchtests/bench-strncpy.c: Likewise.
49135         * benchtests/bench-strnlen.c: Likewise.
49136         * benchtests/bench-strpbrk.c: Likewise.
49137         * benchtests/bench-strrchr.c: Likewise.
49138         * benchtests/bench-strspn.c: Likewise.
49139         * benchtests/bench-strstr.c: Likewise.
49141 2013-09-04  Will Newton  <will.newton@linaro.org>
49143         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
49145 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
49147         [BZ #15427]
49148         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
49149         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
49150         * math/libm-test.inc (lgamma_test_data): Add more tests.
49151         * sysdeps/i386/fpu/libm-test-ulps: Update.
49152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49154 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
49156         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
49157         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49158         Add ifunc.
49159         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49160         Add strcmp-sse2-unaligned
49161         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
49163 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49165         * Versions.def (libc): Add GLIBC_2.19.
49167 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
49169         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
49170         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
49172 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
49174         [BZ #14155]
49175         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
49176         intermediate calculations in recurrence.
49177         (__ieee754_ynf): Likewise.
49178         * math/libm-test.inc (jn_test_data): Do not allow spurious
49179         underflow exception.  Add more tests.
49180         (yn_test_data): Add more tests.
49181         * sysdeps/i386/fpu/libm-test-ulps: Update.
49182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49184 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
49186         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
49188 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49190         * csu/init-first.c: Fix then/than typos.
49191         * locale/programs/ld-collate.c: Likewise.
49192         * locale/programs/linereader.h: Likewise.
49193         * manual/charset.texi: Likewise.
49194         * manual/filesys.texi: Likewise.
49195         * manual/stdio.texi: Likewise.
49196         * manual/string.texi: Likewise.
49197         * stdlib/fmtmsg.c: Likewise.
49198         * sysdeps/i386/stpncpy.S: Likewise.
49199         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
49200         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
49201         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
49202         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
49204 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
49206         * elf/dl-open.c: Fix typos.
49207         * iconvdata/gbbig5.c: Likewise.
49208         * iconvdata/iso-2022-jp.c: Likewise.
49209         * iconv/gconv_int.h: Likewise.
49210         * iconv/loop.c: Likewise.
49211         * nis/rpcsvc/nis.h: Likewise.
49212         * resolv/ns_name.c: Likewise.
49213         * stdio-common/vfscanf.c: Likewise.
49214         * streams/stropts.h: Likewise.
49215         * sunrpc/rpc_thread.c: Likewise.
49216         * sysdeps/i386/strpbrk.S: Likewise.
49217         * sysdeps/ieee754/k_standard.c: Likewise.
49218         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49219         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49220         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
49221         * sysdeps/mach/hurd/profil.c: Likewise.
49222         * sysdeps/s390/dl-procinfo.h: Likewise.
49223         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
49224         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
49225         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
49226         * sysdeps/x86_64/dl-trampoline.S: Likewise.
49227         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
49229 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
49231         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
49232         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
49234 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
49236         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
49237         aix specific files.
49238         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
49239         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
49240         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
49241         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
49242         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
49243         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
49244         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
49245         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
49247 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49248             Roland McGrath  <roland@hack.frob.com>
49250         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
49251         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
49253 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49255         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
49256         __executable_start symbol instead of _start.
49258 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
49260         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
49261         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
49262         Move macros to...
49263         * sysdeps/gnu/ldsodefs.h: ... this new file.
49265         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
49266         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
49267         instead of ELFOSABI_LINUX.
49269         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
49270         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
49271         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
49272         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
49273         Likewise.
49274         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
49275         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
49276         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
49277         Likewise.
49278         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
49279         (ibm_extended_long_double): Add ieee_nan member.
49280         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
49281         (do_test): New function.
49283         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
49284         TEST_TRUNC.
49285         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
49286         functions, renamed from truncdfsf_test, trunctfsf_test,
49287         trunctfdf_test.
49288         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
49289         functions.
49290         (do_test): Run all these.
49292 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
49294         * argp/argp-help.c: Fix typos.
49295         * argp/argp-parse.c: Likewise.
49296         * debug/backtracesyms.c: Likewise.
49297         * elf/elf.h: Likewise.
49298         * malloc/malloc.c: Likewise.
49299         * nis/nis_print.c: Likewise.
49300         * resolv/res_comp.c: Likewise.
49301         * stdlib/stdlib.h: Likewise.
49302         * sunrpc/clnt_tcp.c: Likewise.
49303         * sunrpc/clnt_udp.c: Likewise.
49304         * sunrpc/clnt_unix.c: Likewise.
49305         * sysdeps/unix/bsd/ptsname.c: Likewise.
49306         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
49307         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
49308         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
49309         Likewise.
49310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
49311         Likewise.
49312         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
49313         Likewise.
49314         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
49316 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
49318         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
49319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
49321 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
49323         [BZ #15897]
49324         * dlfcn/Makefile (tests): Add bug-dl-leaf.
49325         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
49326         ($(objpfx)bug-dl-leaf): New rule.
49327         ($(objpfx)bug-dl-leaf.so): Likewise.
49328         ($(objpfx)bug-dl-leaf.out): Likewise.
49329         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
49330         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
49331         * dlfcn/bug-dl-leaf.c: New test.
49332         * dlfcn/bug-dl-leaf-lib.c: Likewise.
49333         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
49334         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
49335         (dlclose): Likewise.
49336         (dlmopen): Likewise.
49338 2013-08-27  Roland McGrath  <roland@hack.frob.com>
49340         * include/netdb.h [!_ISOMAC]:
49341         Don't include <tls.h>.
49342         (h_errno, __libc_h_errno): Move declaration and macros out of
49343         [_LIBC_REENTRANT].
49345         * include/resolv.h [_RESOLV_H_]:
49346         Don't include <tls.h>.
49347         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
49348         * resolv/res_libc.c: Don't include <tls.h>.
49349         (_res): Use __attribute__ ((nocommon)) in place of
49350         __attribute__ ((section (".bss"))).
49352         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
49353         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
49355         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
49357         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
49358         only under [SIOCGIFCONF && SIOCGIFNETMASK].
49360         * resolv/res_mkquery.c: Include <sys/time.h>.
49362         * inet/ifreq.c: Moved to ...
49363         * sysdeps/unix/ifreq.c: ... here.
49364         * inet/ifreq.c: New file, true stub version.
49366         * socket/sa_len.c: New file.
49367         * socket/Makefile (aux): Add it.
49368         * sysdeps/unix/sysv/linux/Makefile
49369         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
49370         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
49371         and #include <socket/sa_len.c>.
49372         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
49373         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
49375         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
49376         * bits/socket.h: ... here.
49378         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
49379         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
49380         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
49382 2013-08-27  Andreas Schwab  <schwab@suse.de>
49384         [BZ #15736]
49385         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
49386         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
49387         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
49388         * string/test-strcasecmp.c (test_main): Run tests in several
49389         locales.
49390         * string/test-strncasecmp.c (test_main): Likewise.
49392         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
49393         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
49394         to __strcasecmp_nonascii and __strncasecmp_nonascii.
49395         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
49396         (__strncasecmp_ssse3) [PIC]: Likewise.
49398 2013-08-26  Roland McGrath  <roland@hack.frob.com>
49400         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
49402         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
49403         instead of explicitly declaring xdecrypt.
49404         * nis/nss_nis/nis-publickey.c: Likewise.
49406 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49408         [BZ #15890]
49409         * nscd/aicache.c: Include res_hconf.h.
49410         (addhstaiX): Initialize res_hconf.
49412 2013-08-26  Andreas Schwab  <schwab@suse.de>
49414         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
49415         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
49417 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
49419         * nscd/aicache.c (addhstaiX): Fix indentation.
49421 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
49423         * configure.ac: Quote $build_pt_chown test.
49424         * configure: Regenerated.
49426 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
49428         [BZ #15532]
49429         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
49430         * math/s_cexpf.c (__cexpf): Likewise.
49431         * math/s_cexpl.c (__cexpl): Likewise.
49432         * math/libm-test.inc (cexp_test_data): Correct expected return
49433         value for NaN + i0.  Add another test.
49435 2013-08-22  David S. Miller  <davem@davemloft.net>
49437         * po/ca.po: Update Catalan translation from translation project.
49438         * po/uk.po: Add Ukrainian translations from translation project.
49440 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
49442         [BZ #15797]
49443         * math/s_fdim.c (__fdim): Check for infinite arguments if result
49444         is infinite, not alongside NaN test.
49445         * math/s_fdimf.c (__fdimf): Likewise.
49446         * math/s_fdiml.c (__fdiml): Likewise.
49447         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
49448         errno is unchanged.
49450 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
49452         * argp/argp-help.c: Fix typos.
49453         * crypt/speeds.c: Likewise.
49454         * csu/check_fds.c: Likewise.
49455         * elf/dl-load.c: Likewise.
49456         * elf/dl-open.c: Likewise.
49457         * elf/reldep3.c: Likewise.
49458         * elf/reldep.c: Likewise.
49459         * elf/sprof.c: Likewise.
49460         * iconv/iconv_charmap.c: Likewise.
49461         * iconv/skeleton.c: Likewise.
49462         * iconv/strtab.c: Likewise.
49463         * io/lockf64.c: Likewise.
49464         * libio/libioP.h: Likewise.
49465         * resolv/gai_notify.c: Likewise.
49466         * resolv/ns_name.c: Likewise.
49467         * resolv/ns_samedomain.c: Likewise.
49468         * resolv/res_send.c: Likewise.
49469         * stdlib/random.c: Likewise.
49470         * sunrpc/rpc/xdr.h: Likewise.
49471         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
49472         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49473         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49474         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49475         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49476         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49477         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49478         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49479         * sysdeps/mach/hurd/check_fds.c: Likewise.
49480         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
49481         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
49482         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
49483         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
49484         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
49485         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
49486         * sysdeps/pthread/aio_notify.c: Likewise.
49487         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
49488         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
49489         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
49490         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
49491         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
49493 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49495         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
49496         version if bit_Slow_SSE4_2 is set.
49497         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49498         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49500 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49502         [BZ #15867]
49503         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
49504         trampoline stack frame information.
49505         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
49506         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
49507         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
49508         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
49509         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
49510         * sysdeps/unix/sysv/linux/powerpc/init-first.c
49511         (_libc_vdso_platform_setup): Initialize the signal trampolines.
49512         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
49513         sa_flags value.
49514         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
49515         interrupting a syscall and set with option SA_SIGINFO.
49517 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49519         [BZ #15531]
49520         * math/s_cproj.c (__cproj): Only return an infinity if one part of
49521         argument is infinite.
49522         * math/s_cprojf.c (__cprojf): Likewise.
49523         * math/s_cprojl.c (__cprojl): Likewise.
49524         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
49525         * math/libm-test.inc (cproj_test_data): Add more tests.
49527         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
49529         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
49530         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
49531         size.  Use __ffs to determine corresponding shift.
49533 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
49534             Roland McGrath  <roland@hack.frob.com>
49536         * Makefile (INSTALL): Remove trailing blank lines from output of
49537         makeinfo.
49539 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49541         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
49542         Align 32 bit compat elf_greg to 8 bytes.
49544 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
49546         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
49548 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
49550         * string/strcoll_l.c (coll_seq): New structure.
49551         (get_next_seq_cached): New function.
49552         (get_next_seq): New function.
49553         (do_compare): New function.
49554         (STRCOLL): Use GNU style definition.  Simplify implementation
49555         by using get_next_seq, get_next_seq_cached and do_compare.
49557 2013-08-16  Florian Weimer  <fweimer@redhat.com>
49559         [BZ #14699]
49560         CVE-2013-4237
49561         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
49562         member.
49563         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
49564         member.
49565         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
49566         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
49567         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
49568         conditional.
49569         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
49570         GETDENTS_64BIT_ALIGNED.
49571         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
49572         * manual/filesys.texi (Reading/Closing Directory): Document
49573         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
49574         strongly.
49575         * manual/conf.texi (Limits for Files): Add portability note to
49576         NAME_MAX, PATH_MAX.
49577         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
49579 2013-08-13  Andreas Schwab  <schwab@suse.de>
49581         [BZ #15749]
49582         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
49583         of fabs.
49584         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
49585         LDBL_MAX_EXP >= 16384]: Add tests for it.
49587 2013-08-12  David S. Miller  <davem@davemloft.net>
49589         * version.h (RELEASE): Set to "development".
49590         (VERSION): Set to "2.18.90".
49591         * NEWS: Add 2.19 section.
49593 2013-08-03  David S. Miller  <davem@davemloft.net>
49595         * po/ko.po: Update Korean translation from translation project.
49597 2013-08-01  David S. Miller  <davem@davemloft.net>
49599         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
49600         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
49601         Bilka.
49603 2013-07-30  David S. Miller  <davem@davemloft.net>
49605         * po/fr.po: Update French translation from translation project.
49607 2013-07-28  David S. Miller  <davem@davemloft.net>
49609         * po/cs.po: Update Czech translation from translation project.
49611         * po/sv.po: Update Swedish translation from translation project.
49613 2013-07-27  David S. Miller  <davem@davemloft.net>
49615         * po/eo.po: Update Esperanto translation from translation project.
49617         * po/vi.po: Update Vietnamese translation from translation project.
49619         * po/de.po: Update German translation from translation project.
49621 2013-07-26  David S. Miller  <davem@davemloft.net>
49623         * po/bg.po: Update Bulgarian translation from translation project.
49625         * po/nl.po: Update Dutch translation from translation project.
49626         * po/pl.po: Update Polish translation from translation project.
49627         * po/ru.po: Update Russian translation from translation project.
49629 2013-07-24  David S. Miller  <davem@davemloft.net>
49631         * po/libc.pot: Update.
49633 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49635         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
49636         variable page size.
49637         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
49638         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
49639         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
49641 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
49643         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
49645 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49646             Andreas Schwab  <schwab@suse.de>
49647             Roland McGrath  <roland@hack.frob.com>
49648             Joseph Myers  <joseph@codesourcery.com>
49649             Carlos O'Donell  <carlos@redhat.com>
49651         [BZ #15755]
49652         * config.h.in: Define HAVE_PT_CHOWN.
49653         * config.make.in (build-pt-chown): New variable.
49654         * configure.in (--enable-pt_chown): New configure option.
49655         * configure: Regenerate.
49656         * login/Makefile: Include Makeconfig.  Build pt_chown only if
49657         build-pt-chown is enabled.
49658         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
49659         pt_chown to fix pty ownership.
49660         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
49661         CLOSE_ALL_FDS.
49662         * manual/install.texi (Configuring and compiling): Mention
49663         --enable-pt_chown. Add @findex for grantpt.
49664         * INSTALL: Regenerate.
49666 2013-07-20  David S. Miller  <davem@davemloft.net>
49668         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
49669         difference between 32-bit and 64-bit.
49671 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
49673         [BZ #15711]
49674         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
49675         Avoid system header dependency with -ffreestanding.
49676         ($(objpfx)bits/syscall%d): Likewise.
49678 2013-07-13  David S. Miller  <davem@davemloft.net>
49680         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
49681         underflows from atanl/atan2l due to bug 15319.
49682         (casinh_test_data): Likewise.
49684 2013-07-07  David S. Miller  <davem@davemloft.net>
49686         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
49688 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
49690         * sysdeps/i386/fpu/libm-test-ulps: Update.
49691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49693 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
49695         * configure.in (--enable-lock-elision): Fix message text.
49696         * INSTALL: Regenerate.
49697         * configure: Regenerate.
49699 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49703 2013-07-03  Andreas Jaeger  <aj@suse.de>
49705         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
49706         define.
49707         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
49708         (ptrace_peeksiginfo_args): Add.
49709         (__ptrace_peeksiginfo_flags): Add.
49710         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
49711         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
49712         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
49714 2013-07-03  Allan McRae  <allan@archlinux.org>
49716         * sysdeps/i386/fpu/libm-test-ulps: Update.
49718 2013-07-02  David S. Miller  <davem@davemloft.net>
49720         * sysdeps/sparc/fpu/libm-test-ulps: Update.
49722 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
49724         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49726 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49728         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
49729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49731 2013-07-02  Andi Kleen <ak@linux.intel.com>
49733         * config.h.in (ENABLE_LOCK_ELISION): Add.
49734         * configure.in (--enable-lock-elision): Add option.
49735         * manual/install.texi: Document --enable lock elision.
49736         * configure: Regenerate
49737         * INSTALL: Regenerate.
49739 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
49741         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
49742         SSE4.2 strcasecmp for libc.a.
49743         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
49745 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
49747         [BZ #13304]
49748         * soft-fp/op-common.h (_FP_FMA): New macro.
49749         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
49750         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
49751         (_FP_MUL_MEAT_1_imm): ... here.
49752         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
49753         (_FP_MUL_MEAT_1_wide): ... here.
49754         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
49755         (_FP_MUL_MEAT_1_hard): ... here.
49756         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
49757         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
49758         (_FP_MUL_MEAT_2_wide): ... here.
49759         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
49760         (_FP_MUL_MEAT_2_wide_3mul): ... here.
49761         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
49762         (_FP_MUL_MEAT_2_gmp): ... here.
49763         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
49764         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
49765         (_FP_MUL_MEAT_4_wide): ... here.
49766         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
49767         (_FP_MUL_MEAT_4_gmp): ... here.
49768         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
49769         (_FP_WFRACBITS_DW_S): Likewise.
49770         (_FP_WFRACXBITS_DW_S): Likewise.
49771         (_FP_HIGHBIT_DW_S): Likewise.
49772         (FP_FMA_S): Likewise.
49773         (_FP_FRAC_HIGH_DW_S): Likewise.
49774         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
49775         (_FP_WFRACBITS_DW_D): Likewise.
49776         (_FP_WFRACXBITS_DW_D): Likewise.
49777         (_FP_HIGHBIT_DW_D): Likewise.
49778         (FP_FMA_D): Likewise.
49779         (_FP_FRAC_HIGH_DW_D): Likewise.
49780         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
49781         (_FP_WFRACBITS_DW_E): Likewise.
49782         (_FP_WFRACXBITS_DW_E): Likewise.
49783         (_FP_HIGHBIT_DW_E): Likewise.
49784         (FP_FMA_E): Likewise.
49785         (_FP_FRAC_HIGH_DW_E): Likewise.
49786         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
49787         (_FP_WFRACBITS_DW_Q): Likewise.
49788         (_FP_WFRACXBITS_DW_Q): Likewise.
49789         (_FP_HIGHBIT_DW_Q): Likewise.
49790         (FP_FMA_Q): Likewise.
49791         (_FP_FRAC_HIGH_DW_Q): Likewise.
49792         * soft-fp/fmasf4.c: New file.
49793         * soft-fp/fmadf4.c: Likewise.
49794         * soft-fp/fmatf4.c: Likewise.
49796 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49798         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
49799         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
49800         Silvermont.
49801         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
49802         macro.
49803         (index_Slow_SSE4_2): Likewise.
49804         (index_Prefer_PMINUB_for_stringop): Likewise.
49805         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
49806         bit_Slow_SSE4_2 is set.
49807         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
49808         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
49810 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49812         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
49813         rtld_global._dl_hwcap2.
49814         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
49815         POWER8.
49816         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
49817         POWER8 feature descriptions defined in _dl_hwcap2.
49818         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
49819         string handling for POWER8 feature bits.
49820         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
49821         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
49822         _dl_powerpc_cap_flags.
49823         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
49824         * sysdeps/powerpc/rtld-global-offsets.sym
49825         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
49826         _dl_hwcap2 in the rtld_global_ro structure.
49828 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49830         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
49831         hardware capabilities in support of AT_HWCAP2.
49832         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
49833         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
49834         GLRO(dl_hwcap2).
49835         (_dl_show_auxv): Add support for calling _dl_procinfo to display
49836         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
49837         explicitly the unknown a_type display mechanism is used.
49838         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
49839         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
49840         struct member.
49841         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
49842         to macro prototype for AT_HWCAP2 support.
49843         * sysdeps/i386/dl-procinfo.h: Likewise.
49844         * sysdeps/s390/dl-procinfo.h: Likewise.
49845         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
49846         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
49847         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
49848         return -1 for unknown a_type display fallback.
49849         * sysdeps/sparc/dl-procinfo.h: Likewise.
49850         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
49851         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
49853 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
49855         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
49856         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
49858 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
49860         [BZ #12492]
49861         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
49862         mprotect making __stack_prot writable.
49864 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
49865             Joseph Myers  <joseph@codesourcery.com>
49867         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
49868         as being properly aligned.
49870 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
49872         * dlfcn/modstatic5.c: New file.
49873         * dlfcn/tststatic5.c: New file.
49874         * dlfcn/Makefile (tests): Add tststatic5.
49875         (tests-static): Likewise.
49876         (modules-names): Add modstatic5.
49877         (tststatic5-ENV): New variable.
49878         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
49880         [BZ #15022]
49881         * elf/dl-support.c (_dl_main_map): New variable.
49882         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
49883         (_dl_nns, _dl_load_adds): Set to 1.
49884         (_dl_initial_searchlist): Refer to _dl_main_map.
49885         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
49886         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
49887         call to _dl_get_origin.
49888         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
49889         around call_map.
49890         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
49891         * dlfcn/modstatic3.c: New file.
49892         * dlfcn/tststatic3.c: New file.
49893         * dlfcn/tststatic4.c: New file.
49894         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
49895         (tests-static): Likewise.
49896         (modules-names): Add modstatic3.
49897         (tststatic3-ENV, tststatic4-ENV): New variables.
49898         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
49899         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
49901 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
49903         * configure.in (CC): Require GCC version 4.4 or later.
49904         * configure: Regenerated.
49905         * manual/install.texi (Tools for Compilation): Update GCC version
49906         requirement.
49907         * INSTALL: Regenerated.
49909 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
49911         [BZ #15674]
49912         * string/test-memcmp.c (check2): New.
49913         (main): Call check2.
49915         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
49917 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
49919         [BZ #15022]
49920         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
49921         over to...
49922         (dl_open_worker) [!SHARED]: ... here.
49924 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49926         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
49928 2013-06-25  Richard Henderson  <rth@redhat.com>
49930         * locale/programs/locarchive.c: Include <libc-internal.h>
49932 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
49934         * manual/texinfo.tex: Update to version 2013-06-21.17, with
49935         trailing whitespace removed.
49937 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49939         [BZ #10283]
49940         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
49941         * locale/programs/locarchive.c: Include libc-mmap.h.
49942         (prepare_address_space): Take two new outputs (the mmap base and len).
49943         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
49944         values.
49945         (create_archive): Declare new mmap base and len values for
49946         prepare_address_space, and store the result in ah.
49947         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
49948         (enlarge_archive): If ah->mmap_base is not NULL, use that and
49949         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49950         Declare new mmap base and len values for
49951         prepare_address_space, and store the result in new_ah.
49952         (open_archive): Declare new mmap base and len values for
49953         prepare_address_space, and store the result in ah.
49954         (close_archive): If ah->mmap_base is not NULL, use that and
49955         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
49956         * sysdeps/generic/libc-mmap.h: New file.
49958 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
49960         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
49961         (ALIGN_UP): Likewise.
49962         (PTR_ALIGN_DOWN): Likewise.
49963         (PTR_ALIGN_UP): Likewise.
49965 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
49967         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
49968         entry mapped to PPC_PLATFORM_POWER8.
49969         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
49970         POWER8.
49971         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
49972         (_dl_string_platform): Add case for exporting platform position for
49973         POWER8.
49974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
49975         search path to sysdeps/powerpc/powerpc32/power8 directory.
49976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
49977         search path to sysdeps/powerpc/powerpc64/power8 directory.
49978         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
49979         power7 directories.
49980         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
49981         power7 directories.
49983 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
49985         * INSTALL: Regenerate.
49987         * nscd/connections.c (nscd_init): Fix comment.
49989 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
49991         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
49993         [BZ #15667]
49994         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
49995         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
49997 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
49999         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
50000         DL_DST_REQ_STATIC.
50001         (DL_DST_REQ_STATIC): Remove macro.
50003 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
50005         [BZ #7006]
50006         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
50007         with a shift of 0 bits.
50009 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
50011         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
50012         $(tststatic-ENV).
50014 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
50016         [BZ #15655]
50017         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
50019 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50021         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
50022         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
50023         accepts -fno-tree-loop-distribute-patterns.
50024         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
50025         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
50026         recursive call.
50027         * string/memset.c (memset): Likewise.
50028         * string/test-memmove.c (simple_memmove): Disable loop transformation
50029         to library calls.
50030         * string/test-memset.c (simple_memset): Likewise.
50031         * benchtests/bench-memmove.c (simple_memmove): Likewise.
50032         * benchtests/bench-memset.c (simple_memset): Likewise.
50033         * configure: Regenerated.
50035 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
50037         * math/test-misc.c (main): Ignore fesetround failure when failures
50038         of subsequent rounding tests would be ignored.
50040         [BZ #15654]
50041         * math/fedisblxcpt.c (fedisableexcept): Return 0.
50042         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
50043         * math/fegetenv.c (__fegetenv): Return 0.
50044         * math/fegetexcept.c (fegetexcept): Return 0.
50045         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
50046         FE_TONEAREST.
50047         * math/feholdexcpt.c (feholdexcept): Return 0.
50048         * math/fesetenv.c (__fesetenv): Return 0.
50049         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
50050         argument FE_TONEAREST.
50051         * math/feupdateenv.c (__feupdateenv): Return 0.
50052         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
50054 2013-06-18  Roland McGrath  <roland@hack.frob.com>
50056         * elf/rtld-Rules (rtld-compile-command.S): New variable.
50057         (rtld-compile-command.s, rtld-compile-command.c): New variables.
50058         ($(objpfx)rtld-%.os rules): Use them.
50060 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50062         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
50063         fields.
50065 2013-06-17  Roland McGrath  <roland@hack.frob.com>
50067         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
50068         length of target pattern, then descending length of dependency pattern.
50069         * configure.in (AWK): Require gawk 3.1.2 or newer.
50070         * manual/install.texi (Tools for Compilation): Say that we do.
50071         * configure: Regenerated.
50073         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
50074         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
50075         * scripts/sysd-rules.awk: ... this new script.
50076         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
50077         than a glob-style pattern.
50079 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
50081         * math/test-misc.c (main): Do not treat incorrectly rounded
50082         conversions as failure unless ROUNDING_TESTS passes.
50084 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
50086         [BZ #15631]
50087         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
50088         restore exception state around main square root computation, then
50089         check for inexactness explicitly.
50091         * math/libm-test.inc (fma_test_data): Add another test.
50093 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50095         * manual/threads.texi (Non-POSIX Extensions): New document
50096         node.  Document pthread_getattr_default_np and
50097         pthread_setattr_default_np.
50099         * Versions.def (libpthread): Add GLIBC_2.18.
50100         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
50101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
50102         Likewise.
50103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
50104         Likewise.
50105         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
50106         Likewise.
50107         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
50108         Likewise.
50109         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
50110         Likewise.
50111         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
50112         Likewise.
50113         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
50114         Likewise.
50115         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
50116         Likewise.
50117         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
50118         Likewise.
50120 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50122         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50123         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
50125 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
50126             H.J. Lu  <hjl.tools@gmail.com>
50128         [BZ #15627]
50129         * sysdeps/x86_64/rtld-memset.c: Remove file.
50130         * sysdeps/x86_64/rtld-memset.S: New file.
50132 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
50134         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
50135         (test_in_one_mode): Take arguments for whether the rounding mode
50136         is supported for each floating-point type.
50137         (do_test): Pass new arguments to test_in_one_mode using
50138         ROUNDING_TESTS.
50140 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50142         * posix/tst-waitid.c (do_test): Distinguish different instances of
50143         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
50144         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
50145         before entering the kernel for waitpid.
50147 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50149         * NEWS: Fix note on clock function precision.  Text by Roland
50150         McGrath.
50152 2013-06-13  Roland McGrath  <roland@hack.frob.com>
50154         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
50155         it into place only when and if the sanity check passes.
50157 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
50159         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
50160         output for whether conversion result is exact.  Take argument
50161         indicating whether type is IBM long double.
50162         (round_for_all): Change need_exact field to ibm_ld.
50163         * stdlib/tst-strtod-round.c (struct exactness): New type.
50164         (struct test): Change bool ld_ok field to struct exactness exact.
50165         (TEST): Update all definitions for change to field.
50166         (tests): Regenerate array contents.
50167         (test_in_one_mode): Take pointer to new field instead of old ld_ok
50168         field value.  Check for IBM long double here.
50169         (do_test): Update calls to test_in_one_mode.
50171 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50173         [BZ #12515]
50174         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
50175         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
50177 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50179         [BZ #15605]
50180         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
50181         generated by the compiler on loop optimizations.
50182         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
50183         general definitions.
50185 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
50187         * math/bug-nextafter.c: Include <math-tests.h>.
50188         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50189         the relevant type.
50190         * math/bug-nexttoward.c: Include <math-tests.h>.
50191         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50192         the relevant type.
50193         * math/test-misc.c: Include <math-tests.h>.
50194         (main): Only test for exceptions if EXCEPTION_TESTS is true for
50195         the relevant type.
50197 2013-06-12  Andreas Jaeger  <aj@suse.de>
50199         * po/ia.po: Update Interlingua translation from translation
50200         project.
50202 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
50204         * include/fenv.h: Include stdbool.h.
50205         (struct rm_ctx): New structure.
50206         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
50207         Define macro.
50208         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
50209         (SET_RESTORE_ROUNDF): Likewise.
50210         (SET_RESTORE_ROUNDL): Likewise.
50211         (SET_RESTORE_ROUND_NOEX): Likewise.
50212         (SET_RESTORE_ROUND_NOEXF): Likewise.
50213         (SET_RESTORE_ROUND_NOEXL): Likewise.
50214         (SET_RESTORE_ROUND_53BIT): Likewise.
50215         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
50216         (libc_feresetround_noexf_ctx): Likewise.
50217         (libc_feresetround_noexl_ctx): Likewise.
50218         (libc_feholdsetround_53bit_ctx): Likewise.
50219         (libc_feresetround_53bit_ctx): Likewise.
50220         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
50221         (libc_feholdexcept_setround_sse_ctx): New function.
50222         (libc_fesetenv_sse_ctx): Likewise.
50223         (libc_feupdateenv_sse_ctx): Likewise.
50224         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
50225         (libc_feholdexcept_setround_387_ctx): Likewise.
50226         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
50227         (libc_feholdsetround_387_prec_ctx): Likewise.
50228         (libc_feholdsetround_387_ctx): Likewise.
50229         (libc_feholdsetround_387_53bit_ctx): Likewise.
50230         (libc_feholdsetround_sse_ctx): Likewise.
50231         (libc_feresetround_sse_ctx): Likewise.
50232         (libc_feresetround_387_ctx): Likewise.
50233         (libc_feupdateenv_387_ctx): Likewise.
50234         (libc_feholdexcept_setroundf_ctx): Define macro.
50235         (libc_fesetenvf_ctx): Likewise.
50236         (libc_feupdateenvf_ctx): Likewise.
50237         (libc_feholdsetroundf_ctx): Likewise.
50238         (libc_feresetroundf_ctx): Likewise.
50239         (libc_feholdexcept_setround_ctx): Likewise.
50240         (libc_fesetenv_ctx): Likewise.
50241         (libc_feupdateenv_ctx): Likewise.
50242         (libc_feholdsetround_ctx): Likewise.
50243         (libc_feresetround_ctx): Likewise.
50244         (libc_feholdexcept_setroundl_ctx): Likewise.
50245         (libc_feupdateenvl_ctx): Likewise.
50246         (libc_feholdsetroundl_ctx): Likewise.
50247         (libc_feresetroundl_ctx): Likewise.
50248         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
50249         (libc_feresetround_53bit_ctx): Likewise.
50251 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50253         * locale/iso-639.def: Convert to UTF-8.
50255 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
50257         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
50258         (EXCEPTION_TESTS_double): Likewise.
50259         (EXCEPTION_TESTS_long_double): Likewise.
50260         (EXCEPTION_TESTS): Likewise.
50261         * math/libm-test.inc (test_exceptions): Only test exceptions if
50262         EXCEPTION_TESTS (FLOAT).
50264 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50266         * benchtests/Makefile (string-bench): Add strcpy_chk and
50267         stpcpy_chk.
50268         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
50269         * benchtests/bench-stpcpy_chk.c: New file.
50270         * benchtests/bench-strcpy_chk-ifunc.c: New file.
50271         * benchtests/bench-strcpy_chk.c: New file.
50272         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
50273         code.
50274         (do_test): Likewise.
50276 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50278         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
50279         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
50280         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
50281         with tabs where appropriate.
50282         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
50283         dl-procinfo.h.
50284         [PPC_PLATFORM_PPC440]: Likewise.
50285         [PPC_PLATFORM_PPC464]: Likewise.
50286         [PPC_PLATFORM_PPC476]: Likewise.
50287         (_dl_string_platform): Add support for detecting ppc405, ppc440,
50288         ppc464, and ppc476 platform strings merging from ports/
50289         dl-procinfo.h.
50291 2013-06-11  Andreas Schwab  <schwab@suse.de>
50293         [BZ #14991]
50294         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
50295         (from_ucs4_idx): Regenerate.
50296         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
50297         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
50298         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
50299         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
50300         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
50301         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
50302         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
50303         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
50304         from FROM_LOOP and TO_LOOP specific macros.
50305         (BODY): Handle combining characters.
50306         * iconvdata/BIG5HKSCS.irreversible: Update.
50307         * iconvdata/BIG5HKSCS.precomposed: New file.
50308         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
50309         characters.
50310         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
50312 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50314         * include/sys/time.h: Fix indentation and add copyright header.
50316         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
50317         (do_test): Likewise.
50318         * string/test-memchr.c (do_one_test): Likewise.
50319         (do_test): Likewise.
50320         * string/test-memcmp.c (do_one_test): Likewise.
50321         (do_test): Likewise.
50322         * string/test-memcpy.c (do_one_test): Likewise.
50323         (do_test): Likewise.
50324         * string/test-memmem.c (do_one_test): Likewise.
50325         (do_test): Likewise.
50326         (do_random_tests): Likewise.
50327         * string/test-memmove.c (do_one_test): Likewise.
50328         (do_test): Likewise.
50329         * string/test-memset.c (do_one_test): Likewise.
50330         (do_test): Likewise.
50331         * string/test-rawmemchr.c (do_one_test): Likewise.
50332         (do_test): Likewise.
50333         * string/test-strcasecmp.c (do_one_test): Likewise.
50334         (do_test): Likewise.
50335         * string/test-strcasestr.c (do_one_test): Likewise.
50336         (do_test): Likewise.
50337         * string/test-strcat.c (do_one_test): Likewise.
50338         (do_test): Likewise.
50339         * string/test-strchr.c (do_one_test): Likewise.
50340         (do_test): Likewise.
50341         * string/test-strcmp.c (do_one_test): Likewise.
50342         (do_test): Likewise.
50343         * string/test-strcpy.c (do_one_test): Likewise.
50344         (do_test): Likewise.
50345         * string/test-string.h: Likewise.
50346         (test_init): Likewise.
50347         * string/test-strlen.c (do_one_test): Likewise.
50348         (do_test): Likewise.
50349         * string/test-strncasecmp.c (do_one_test): Likewise.
50350         (do_test): Likewise.
50351         * string/test-strncat.c (do_one_test): Likewise.
50352         (do_test): Likewise.
50353         * string/test-strncmp.c (do_one_test): Likewise.
50354         (do_test_limit): Likewise.
50355         (do_test): Likewise.
50356         * string/test-strncpy.c (do_one_test): Likewise.
50357         (do_test): Likewise.
50358         * string/test-strnlen.c (do_one_test): Likewise.
50359         (do_test): Likewise.
50360         * string/test-strpbrk.c (do_one_test): Likewise.
50361         (do_test): Likewise.
50362         * string/test-strrchr.c (do_one_test): Likewise.
50363         (do_test): Likewise.
50364         * string/test-strspn.c (do_one_test): Likewise.
50365         (do_test): Likewise.
50366         * string/test-strstr.c (do_one_test): Likewise.
50367         (do_test): Likewise.
50369         * benchtests/Makefile (string-bench): Add string benchmarks.
50370         * benchtests/bench-bcopy-ifunc.c: New file.
50371         * benchtests/bench-bcopy.c: New file.
50372         * benchtests/bench-bzero-ifunc.c: New file.
50373         * benchtests/bench-bzero.c: New file.
50374         * benchtests/bench-memccpy-ifunc.c: New file.
50375         * benchtests/bench-memccpy.c: New file.
50376         * benchtests/bench-memchr-ifunc.c: New file.
50377         * benchtests/bench-memchr.c: New file.
50378         * benchtests/bench-memcmp-ifunc.c: New file.
50379         * benchtests/bench-memcmp.c: New file.
50380         * benchtests/bench-memmem-ifunc.c: New file.
50381         * benchtests/bench-memmem.c: New file.
50382         * benchtests/bench-memmove-ifunc.c: New file.
50383         * benchtests/bench-memmove.c: New file.
50384         * benchtests/bench-mempcpy-ifunc.c: New file.
50385         * benchtests/bench-mempcpy.c: New file.
50386         * benchtests/bench-memset-ifunc.c: New file.
50387         * benchtests/bench-memset.c: New file.
50388         * benchtests/bench-rawmemchr-ifunc.c: New file.
50389         * benchtests/bench-rawmemchr.c: New file.
50390         * benchtests/bench-stpcpy-ifunc.c: New file.
50391         * benchtests/bench-stpcpy.c: New file.
50392         * benchtests/bench-stpncpy-ifunc.c: New file.
50393         * benchtests/bench-stpncpy.c: New file.
50394         * benchtests/bench-strcasecmp-ifunc.c: New file.
50395         * benchtests/bench-strcasecmp.c: New file.
50396         * benchtests/bench-strcasestr-ifunc.c: New file.
50397         * benchtests/bench-strcasestr.c: New file.
50398         * benchtests/bench-strcat-ifunc.c: New file.
50399         * benchtests/bench-strcat.c: New file.
50400         * benchtests/bench-strchr-ifunc.c: New file.
50401         * benchtests/bench-strchr.c: New file.
50402         * benchtests/bench-strchrnul-ifunc.c: New file.
50403         * benchtests/bench-strchrnul.c: New file.
50404         * benchtests/bench-strcmp-ifunc.c: New file.
50405         * benchtests/bench-strcmp.c: New file.
50406         * benchtests/bench-strcpy-ifunc.c: New file.
50407         * benchtests/bench-strcpy.c: New file.
50408         * benchtests/bench-strcspn-ifunc.c: New file.
50409         * benchtests/bench-strcspn.c: New file.
50410         * benchtests/bench-strlen-ifunc.c: New file.
50411         * benchtests/bench-strlen.c: New file.
50412         * benchtests/bench-strncasecmp-ifunc.c: New file.
50413         * benchtests/bench-strncasecmp.c: New file.
50414         * benchtests/bench-strncat-ifunc.c: New file.
50415         * benchtests/bench-strncat.c: New file.
50416         * benchtests/bench-strncmp-ifunc.c: New file.
50417         * benchtests/bench-strncmp.c: New file.
50418         * benchtests/bench-strncpy-ifunc.c: New file.
50419         * benchtests/bench-strncpy.c: New file.
50420         * benchtests/bench-strnlen-ifunc.c: New file.
50421         * benchtests/bench-strnlen.c: New file.
50422         * benchtests/bench-strpbrk-ifunc.c: New file.
50423         * benchtests/bench-strpbrk.c: New file.
50424         * benchtests/bench-strrchr-ifunc.c: New file.
50425         * benchtests/bench-strrchr.c: New file.
50426         * benchtests/bench-strspn-ifunc.c: New file.
50427         * benchtests/bench-strspn.c: New file.
50428         * benchtests/bench-strstr-ifunc.c: New file.
50429         * benchtests/bench-strstr.c: New file.
50431         * benchtests/Makefile: Disable parallel execution of targets.
50432         (string-bench): Add memcpy.
50433         (benchset): New variable to store a list of benchmark sets.
50434         (bench-func): Renamed from bench.
50435         (bench-set): New target.
50436         (bench): Depend on bench-func and bench-set.
50437         * benchtests/README: Add section on benchmark sets.
50438         * benchtests/bench-memcpy-ifunc.c: New file.
50439         * benchtests/bench-memcpy.c: New file.
50440         * benchtests/bench-string.h: New file.
50442 2013-06-11  Andreas Schwab  <schwab@suse.de>
50444         [BZ #15577]
50445         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
50446         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
50447         values in the triple.
50448         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
50449         terminator in the group key.
50451 2013-06-11  Andreas Jaeger  <aj@suse.de>
50453         * po/zh_TW.po: Update Chinese (traditional) translation from
50454         translation project.
50456 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
50458         * include/time.h (__clock_gettime): Add libc_hidden_proto.
50459         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
50460         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
50461         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
50462         (clock_getcpuclockid): Likewise.
50463         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
50464         Add weak_alias and libc_hidden_def.
50465         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
50466         * rt/clock_gettime.c (clock_gettime): Rename to
50467         __clock_gettime.  Add weak_alias and libc_hidden_def.
50468         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
50469         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
50470         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
50471         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
50472         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
50473         Likewise.
50474         * rt/clock_settime.c (clock_settime): Rename to
50475         __clock_settime.  Add weak_alias and libc_hidden_def.
50476         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
50478 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
50480         * mach/err_boot.sub: Remove trailing whitespace.
50481         * mach/err_ipc.sub: Likewise.
50482         * mach/err_mach.sub: Likewise.
50484         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
50485         (ROUNDING_TESTS_double): Likewise.
50486         (ROUNDING_TESTS_long_double): Likewise.
50487         (ROUNDING_TESTS): Likewise.
50488         * math/libm-test.inc: Include <math-tests.h>.
50489         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
50490         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50491         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50492         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50494 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50496         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
50497         of assigning.
50499 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
50501         * sysdeps/gnu/errlist.awk: Do not generate space at end of
50502         otherwise empty TRANS lines.
50503         * sysdeps/gnu/errlist.c: Regenerated.
50505         * catgets/gencat.c (error_print): Use (void) in function
50506         definition.
50507         * crypt/crypt_util.c (__init_des): Likewise.
50508         * crypt/speeds.c (Stop): Likewise.
50509         (main): Likewise.
50510         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
50511         * inet/ruserpass.c (token): Likewise.
50512         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
50513         * intl/localealias.c (extend_alias_table): Likewise.
50514         * intl/plural-exp.c (init_germanic_plural): Likewise.
50515         * libio/fcloseall.c (__fcloseall): Likewise.
50516         * libio/genops.c (_IO_flush_all): Likewise.
50517         (_IO_flush_all_linebuffered): Likewise.
50518         (_IO_cleanup): Likewise.
50519         (_IO_iter_begin): Likewise.
50520         (_IO_iter_end): Likewise.
50521         (_IO_list_lock): Likewise.
50522         (_IO_list_unlock): Likewise.
50523         (_IO_list_resetlock): Likewise.
50524         * libio/getchar.c (getchar): Likewise.
50525         * libio/getchar_u.c (getchar_unlocked): Likewise.
50526         * libio/getwchar.c (getwchar): Likewise.
50527         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
50528         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
50529         * login/getpt.c (__getpt): Likewise.
50530         * login/tst-utmp.c (main): Likewise.
50531         * malloc/hooks.c (__malloc_check_init): Likewise.
50532         * malloc/malloc.c (__malloc_stats): Likewise.
50533         * malloc/mtrace.c (tr_break): Likewise.
50534         (mtrace): Likewise.
50535         (muntrace): Likewise.
50536         * misc/fstab.c (endfsent): Likewise.
50537         * misc/getclktck.c (__getclktck): Likewise.
50538         * misc/getdtsz.c (__getdtablesize): Likewise.
50539         * misc/gethostid.c (gethostid): Likewise.
50540         * misc/getpagesize.c (__getpagesize): Likewise.
50541         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
50542         (__get_nprocs): Likewise.
50543         (__get_phys_pages): Likewise.
50544         (__get_avphys_pages): Likewise.
50545         * misc/getttyent.c (getttyent): Likewise.
50546         (setttyent): Likewise.
50547         (endttyent): Likewise.
50548         * misc/getusershell.c (getusershell): Likewise.
50549         (endusershell): Likewise.
50550         (setusershell): Likewise.
50551         (initshells): Likewise.
50552         * misc/hsearch.c (__hdestroy): Likewise.
50553         * misc/sync.c (sync): Likewise.
50554         * misc/syslog.c (closelog_internal): Likewise.
50555         (closelog): Likewise.
50556         * misc/ttyslot.c (ttyslot): Likewise.
50557         * misc/vhangup.c (vhangup): Likewise.
50558         * posix/fork.c (__fork): Likewise.
50559         * posix/getegid.c (__getegid): Likewise.
50560         * posix/geteuid.c (__geteuid): Likewise.
50561         * posix/getgid.c (__getgid): Likewise.
50562         * posix/getpid.c (__getpid): Likewise.
50563         * posix/getppid.c (__getppid): Likewise.
50564         * posix/getuid.c (__getuid): Likewise.
50565         * posix/pause.c (pause): Likewise.
50566         * posix/setpgrp.c (setpgrp): Likewise.
50567         * posix/setsid.c (__setsid): Likewise.
50568         * posix/test-vfork.c (noop): Likewise.
50569         * resolv/gethnamaddr.c (_endhtent): Likewise.
50570         (_gethtent): Likewise.
50571         (ht_endhostent): Likewise.
50572         (gethostent): Likewise.
50573         (dns_service): Likewise.
50574         * stdlib/drand48.c (drand48): Likewise.
50575         * stdlib/lrand48.c (lrand48): Likewise.
50576         * stdlib/mrand48.c (mrand48): Likewise.
50577         * stdlib/rand.c (rand): Likewise.
50578         * stdlib/random.c (__random): Likewise.
50579         * stdlib/setenv.c (clearenv): Likewise.
50580         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
50581         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
50582         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
50583         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
50584         (__get_nprocs): Likewise.
50585         (__get_phys_pages): Likewise.
50586         (__get_avphys_pages): Likewise.
50587         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
50588         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
50589         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
50590         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
50591         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
50592         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
50593         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
50594         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
50595         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
50596         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
50597         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
50598         * sysdeps/mach/hurd/sync.c (sync): Likewise.
50599         * sysdeps/posix/clock.c (clock): Likewise.
50600         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
50601         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
50602         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
50603         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
50604         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
50605         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
50606         (__get_nprocs_conf): Likewise.
50607         (__get_phys_pages): Likewise.
50608         (__get_avphys_pages): Likewise.
50609         * time/clock.c (clock): Likewise.
50610         * time/tzset.c (__tzname_max): Likewise.
50612 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
50614         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
50615         (__bswap_32): Do not use "register".
50616         * crypt/crypt.c (_ufc_doit_r): Likewise.
50617         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
50618         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
50619         * gmon/gmon.c (__monstartup): Likewise.
50620         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
50621         * hurd/hurdmalloc.c (more_memory): Likewise.
50622         (malloc): Likewise.
50623         (free): Likewise.
50624         (realloc): Likewise.
50625         (malloc_fork_prepare): Likewise.
50626         (malloc_fork_parent): Likewise.
50627         (malloc_fork_child): Likewise.
50628         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
50629         (_svcauth_des): Likewise.
50630         * inet/inet_lnaof.c (inet_lnaof): Likewise.
50631         * inet/inet_net.c (inet_network): Likewise.
50632         * inet/inet_netof.c (inet_netof): Likewise.
50633         * inet/rcmd.c (__validuser2_sa): Likewise.
50634         * io/fts.c (fts_open): Likewise.
50635         (fts_load): Likewise.
50636         (fts_close): Likewise.
50637         (fts_read): Likewise.
50638         (fts_children): Likewise.
50639         (fts_build): Likewise.
50640         (fts_stat): Likewise.
50641         (fts_sort): Likewise.
50642         (fts_alloc): Likewise.
50643         (fts_lfree): Likewise.
50644         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
50645         (_IO_file_xsgetn): Likewise.
50646         (_IO_file_xsgetn_mmap): Likewise.
50647         * libio/iofopncook.c (_IO_cookie_read): Likewise.
50648         (_IO_cookie_write): Likewise.
50649         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
50650         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
50651         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
50652         * malloc/obstack.c (_obstack_begin): Likewise.
50653         (_obstack_begin_1): Likewise.
50654         (_obstack_newchunk): Likewise.
50655         (_obstack_allocated_p): Likewise.
50656         (obstack_free): Likewise.
50657         (_obstack_memory_used): Likewise.
50658         * misc/getttyent.c (getttynam): Likewise.
50659         (getttyent): Likewise.
50660         (skip): Likewise.
50661         (value): Likewise.
50662         * misc/getusershell.c (initshells): Likewise.
50663         * misc/syslog.c (__vsyslog_chk): Likewise.
50664         * misc/ttyslot.c (ttyslot): Likewise.
50665         * nis/nis_hash.c (__nis_hash): Likewise.
50666         * posix/fnmatch_loop.c (FCT): Likewise.
50667         * posix/getconf.c (print_all): Likewise.
50668         (main): Likewise.
50669         * posix/getopt.c (exchange): Likewise.
50670         * posix/glob.c (globfree): Likewise.
50671         (prefix_array): Likewise.
50672         (__glob_pattern_type): Likewise.
50673         * resolv/arpa/nameser.h (NS_GET16): Likewise.
50674         (NS_GET32): Likewise.
50675         (NS_PUT16): Likewise.
50676         (NS_PUT32): Likewise.
50677         * resolv/gethnamaddr.c (getanswer): Likewise.
50678         (gethostbyname2): Likewise.
50679         (gethostbyaddr): Likewise.
50680         (_gethtent): Likewise.
50681         (_gethtbyname2): Likewise.
50682         (_gethtbyaddr): Likewise.
50683         * resolv/ns_print.c (dst_s_get_int16): Likewise.
50684         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
50685         * resolv/res_init.c (__res_vinit): Likewise.
50686         (net_mask): Likewise.
50687         * resolv/res_mkquery.c (outchar): Likewise.
50688         (PRINT): Likewise.
50689         * stdio-common/printf_fp.c (outchar): Likewise.
50690         (PRINT): Likewise.
50691         * stdio-common/printf_fphex.c (outchar): Likewise.
50692         (PRINT): Likewise.
50693         * stdio-common/printf_size.c (outchar): Likewise.
50694         (PRINT): Likewise.
50695         * stdio-common/test_rdwr.c (main): Likewise.
50696         * stdio-common/tfformat.c (matches): Likewise.
50697         * stdio-common/vfprintf.c (outchar): Likewise.
50698         (printf_unknown): Likewise.
50699         (buffered_vfprintf): Likewise.
50700         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
50701         * stdio-common/xbug.c (AppendToBuffer): Likewise.
50702         (ReadFile): Likewise.
50703         * stdlib/qsort.c (SWAP): Likewise.
50704         (_quicksort): Likewise.
50705         * stdlib/setenv.c (__add_to_environ): Likewise.
50706         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
50707         * stdlib/strtol_l.c (__strtol_l): Likewise.
50708         * stdlib/tst-strtod.c (main): Likewise.
50709         * stdlib/tst-strtol.c (main): Likewise.
50710         * stdlib/tst-strtoll.c (main): Likewise.
50711         * string/bits/string2.h (__strcmp_cc): Likewise.
50712         (__strcmp_cg): Likewise.
50713         (__strcspn_c1): Likewise.
50714         (__strcspn_c2): Likewise.
50715         (__strcspn_c3): Likewise.
50716         (__strspn_c1): Likewise.
50717         (__strspn_c2): Likewise.
50718         (__strspn_c3): Likewise.
50719         (__strsep_1c): Likewise.
50720         (__strsep_2c): Likewise.
50721         (__strsep_3c): Likewise.
50722         * string/memccpy.c (__memccpy): Likewise.
50723         * string/stpcpy.c (__stpcpy): Likewise.
50724         * string/strcmp.c (strcmp): Likewise.
50725         * string/strrchr.c (strrchr): Likewise.
50726         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
50727         Likewise.
50728         * sysdeps/mach/hurd/getcwd.c
50729         (_hurd_canonicalize_directory_name_internal): Likewise.
50730         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
50731         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
50732         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
50733         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
50734         Likewise, in both definitions.
50735         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
50736         definitions.
50737         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
50738         64] (__bswap_64): Likewise.
50739         * time/test_time.c (main): Likewise.
50740         * time/tzfile.c (__tzfile_read): Likewise.
50741         (__tzfile_compute): Likewise.
50742         * time/tzset.c (__tzset_parse_tz): Likewise.
50743         (tzset_internal): Likewise.
50744         (compute_change): Likewise.
50745         * wcsmbs/wcscat.c (__wcscat): Likewise.
50746         * wcsmbs/wcschr.c (wcschr): Likewise.
50747         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
50748         * wcsmbs/wcscspn.c (wcscspn): Likewise.
50749         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
50750         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
50751         * wcsmbs/wcsspn.c (wcsspn): Likewise.
50752         * wcsmbs/wcsstr.c (wcsstr): Likewise.
50753         * wcsmbs/wmemchr.c (wmemchr): Likewise.
50754         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50755         * wcsmbs/wmemset.c (wmemset): Likewise.
50757 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
50759         * scripts/config.guess: Update to version 2013-05-16.
50760         * scripts/config.sub: Update to version 2013-04-24.
50761         * scripts/install-sh: Update to version 2011-11-20.07.
50762         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
50763         * scripts/move-if-change: Update to version 2012-01-06 07:23.
50765 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
50767         * debug/fgetws_u_chk.c: Fix leading whitespaces.
50768         * elf/sln.c: Likewise.
50769         * hurd/hurd/ioctl.h: Likewise.
50770         * hurd/hurdmalloc.c: Likewise.
50771         * hurd/xattr.c: Likewise.
50772         * include/shlib-compat.h: Likewise.
50773         * inet/ruserpass.c: Likewise.
50774         * libio/iofgets_u.c: Likewise.
50775         * libio/iofgetws_u.c: Likewise.
50776         * locale/programs/ld-identification.c: Likewise.
50777         * locale/programs/ld-time.c: Likewise.
50778         * mach/msg-destroy.c: Likewise.
50779         * nss/nss_files/files-netgrp.c: Likewise.
50780         * resolv/res_data.c: Likewise.
50781         * soft-fp/op-1.h: Likewise.
50782         * soft-fp/op-2.h: Likewise.
50783         * soft-fp/op-4.h: Likewise.
50784         * soft-fp/op-common.h: Likewise.
50785         * stdio-common/printf_fphex.c: Likewise.
50786         * stdlib/strtod_l.c: Likewise.
50787         * sunrpc/rpc/clnt.h: Likewise.
50788         * sysdeps/generic/framestate.c: Likewise.
50789         * sysdeps/i386/bsd-_setjmp.S: Likewise.
50790         * sysdeps/i386/bsd-setjmp.S: Likewise.
50791         * sysdeps/i386/__longjmp.S: Likewise.
50792         * sysdeps/i386/setjmp.S: Likewise.
50793         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
50794         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
50795         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50796         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
50797         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
50798         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
50799         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
50800         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
50801         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
50802         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
50803         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
50804         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
50805         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
50806         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
50807         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
50808         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
50809         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
50810         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
50811         * sysdeps/ieee754/support.c: Likewise.
50812         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
50813         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
50814         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
50815         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
50816         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
50817         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
50818         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
50819         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
50820         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
50821         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
50822         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
50823         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
50824         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
50825         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
50826         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
50827         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
50828         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
50829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
50831 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
50833         * posix/transbug.c: Remove executable mode.
50835 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
50837         * crypt/speeds.c: Remove trailing whitespace.
50838         * dlfcn/default.c: Likewise.
50839         * elf/ifuncdep2.c: Likewise.
50840         * elf/ifuncmain1.c: Likewise.
50841         * elf/ifuncmain1vis.c: Likewise.
50842         * elf/testobj.h: Likewise.
50843         * elf/tst-stackguard1.c: Likewise.
50844         * gmon/sys/gmon.h: Likewise.
50845         * hurd/hurdmsg.c: Likewise.
50846         * hurd/new-fd.c: Likewise.
50847         * hurd/ports-get.c: Likewise.
50848         * iconvdata/ibm1008_420.c: Likewise.
50849         * inet/tst-getni1.c: Likewise.
50850         * inet/tst-getni2.c: Likewise.
50851         * libio/ioungetc.c: Likewise.
50852         * libio/wfiledoalloc.c: Likewise.
50853         * manual/libm-err-tab.pl: Likewise.
50854         * math/w_dremf.c: Likewise.
50855         * misc/ftruncate.c: Likewise.
50856         * posix/bug-glob2.c: Likewise.
50857         * posix/tst-pcre.c: Likewise.
50858         * posix/wait4.c: Likewise.
50859         * resolv/README: Likewise.
50860         * resolv/res_debug.h: Likewise.
50861         * resolv/tst-inet_ntop.c: Likewise.
50862         * setjmp/bug269-setjmp.c: Likewise.
50863         * soft-fp/extended.h: Likewise.
50864         * soft-fp/op-1.h: Likewise.
50865         * soft-fp/op-2.h: Likewise.
50866         * soft-fp/op-4.h: Likewise.
50867         * soft-fp/op-8.h: Likewise.
50868         * soft-fp/testit.c: Likewise.
50869         * stdio-common/bug16.c: Likewise.
50870         * stdlib/random.c: Likewise.
50871         * sunrpc/rpcsvc/rquota.x: Likewise.
50872         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
50873         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
50874         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
50875         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
50876         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
50877         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
50878         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
50879         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
50880         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
50881         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
50882         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
50883         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
50884         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
50885         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
50886         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
50887         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
50888         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
50889         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
50890         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
50891         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
50892         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
50893         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
50894         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
50895         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
50896         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
50897         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
50898         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50899         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
50900         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
50901         * sysdeps/ieee754/s_lib_version.c: Likewise.
50902         * sysdeps/mach/hurd/check_fds.c: Likewise.
50903         * sysdeps/mach/hurd/getsockname.c: Likewise.
50904         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
50905         * sysdeps/mach/hurd/recvfrom.c: Likewise.
50906         * sysdeps/powerpc/bits/link.h: Likewise.
50907         * sysdeps/powerpc/dl-procinfo.c: Likewise.
50908         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
50909         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
50910         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
50911         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
50912         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
50913         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
50914         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
50915         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
50916         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50917         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
50918         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
50919         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
50920         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50921         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50922         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50923         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
50924         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
50925         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50926         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50927         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50928         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
50929         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
50930         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
50931         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
50932         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
50933         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
50934         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50935         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50936         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
50937         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
50938         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
50939         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
50940         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
50941         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
50942         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
50943         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
50944         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
50945         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
50946         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
50947         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
50948         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
50949         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
50950         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
50951         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
50952         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
50953         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
50954         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
50955         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
50956         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
50957         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
50958         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
50959         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
50960         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
50961         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
50962         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
50963         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
50964         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
50965         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
50966         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
50967         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
50968         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
50969         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
50970         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
50971         * sysdeps/powerpc/sysdep.h: Likewise.
50972         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
50973         * sysdeps/s390/s390-64/sub_n.S: Likewise.
50974         * sysdeps/sh/dl-trampoline.S: Likewise.
50975         * sysdeps/sh/memset.S: Likewise.
50976         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
50977         * sysdeps/sh/strlen.S: Likewise.
50978         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
50979         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
50980         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
50981         * sysdeps/sparc/sparc32/rem.S: Likewise.
50982         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
50983         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
50984         * sysdeps/sparc/sparc32/strchr.S: Likewise.
50985         * sysdeps/sparc/sparc32/udiv.S: Likewise.
50986         * sysdeps/sparc/sparc32/urem.S: Likewise.
50987         * sysdeps/sparc/sparc64/add_n.S: Likewise.
50988         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
50989         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
50990         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
50991         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
50992         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
50993         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
50994         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
50995         * sysdeps/unix/bsd/times.c: Likewise.
50996         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
50997         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
50998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
50999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
51000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
51001         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
51002         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
51003         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
51004         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
51005         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
51006         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
51007         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
51008         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
51009         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
51010         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
51011         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
51012         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
51013         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
51014         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
51015         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
51016         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
51017         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
51018         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
51019         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
51020         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
51021         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
51022         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
51023         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
51024         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
51025         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
51026         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
51027         * sysdeps/x86_64/strcspn.S: Likewise.
51029 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
51031         * locale/C-translit.h: Revert #include <stdint.h> because this is a
51032         generated file.  Regenerate properly from gen-translit.pl.
51033         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
51034         locale/C-translit.h.
51036 2013-06-05  Andreas Schwab  <schwab@suse.de>
51038         [BZ #15100]
51039         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
51040         week as 6 instead of -1.
51041         * time/tst-strptime.c (day_tests): Add test case.
51043 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
51045         * sysdeps/generic/math_private.h
51046         (libc_feholdexcept_setround_53bit): Replace with
51047         libc_feholdsetround_53bit.
51048         (libc_feupdateenv_53bit): Replace with
51049         libc_feresetround_53bit.
51050         (SET_RESTORE_ROUND_53BIT): Adjust.
51052 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51054         * string/test-strchrnul.c: Add copyright header.
51056         * posix/tst-getaddrinfo4.c: Increase test timeout.
51058 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
51060         [BZ #15536]
51061         * math/libm-test.inc (MAX_EXP): Remove
51062         (MIN_EXP): Define.
51063         (ulp): Use MIN_EXP - MANT_DIG.
51064         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
51066 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
51068         * po/be.po: Revert last change.
51069         * po/zh_CN.po: Likewise.
51070         * po/header.pot: Likewise.
51072 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
51074         * Makefile ($(common-objpfx)linkobj/libc.so): Define
51075         link-libc-deps to empty as target-specific variable.
51076         * Makerules (link-libc-args): New variable.
51077         (libc-for-link): Likewise.
51078         (link-libc-deps): Likewise.
51079         (lib%.so): Depend on $(link-libc-deps).  Link with
51080         $(link-libc-args).
51081         (build-module): Link with $(link-libc-args).
51082         (build-module-asneeded): Likewise.
51083         (build-module-helper-objlist): Filter out $(link-libc-deps) from
51084         list of objects.
51085         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
51086         target-specific variable.
51087         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
51088         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
51089         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
51090         libc.
51091         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
51092         libc and ld.so.
51093         ($(objpfx)libpcprofile.so): Likewise.
51094         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
51095         libc_nonshared.a.
51096         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
51097         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
51098         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
51099         $(link-libc-deps).
51100         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
51101         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
51102         * login/Makefile ($(objpfx)libutil.so): Likewise.
51103         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
51104         * math/Makefile ($(objpfx)libm.so): Likewise.
51105         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
51106         $(objpfx)libnsl.so): Define libc-for-link as target-specific
51107         variable instead of depending directly on libc.
51108         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
51109         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
51110         $(link-libc-deps).
51111         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
51112         libc.
51113         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
51114         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
51115         ($(objpfx)libanl.so): Likewise.
51116         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
51117         ld.so.
51118         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
51119         $(link-libc-deps).
51120         * sysdeps/i386/fpu/Makefile: Remove file.
51121         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
51122         ($(objpfx)libm.so): Remove dependency on ld.so.
51124 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
51126         [BZ # 15553]
51127         * nis/yp_xdr.c (XDRMAXNAME): Define.
51128         (XDRMAXRECORD): Define.
51129         (xdr_domainname): Use XDRMAXNAME.
51130         (xdr_mapname): Likewise.
51131         (xdr_peername): Likewise.
51132         (xdr_keydat): Use XDRMAXRECORD.
51133         (xdr_valdat): Likewise.
51135 2013-05-30  Jeff Law  <law@redhat.com>
51137         [BZ #14256]
51138         * manual/errno.texi (ESTALE): Update to account for more than
51139         just NFS file systems.
51140         * sysdeps/gnu/errlist.c: Regenerated.
51142 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
51144         [BZ #15465]
51145         * elf/Makefile (tests): Add tst-null-argv.
51146         (modules-names):  Add tst-null-argv-lib.
51147         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
51148         (tst-null-argv-ENV): Set environment for tst-null-argv.
51149         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
51150         (RTLD_PROGNAME): New macro.
51151         * elf/tst-null-argv.c: New test case.
51152         * elf/tst-null-argv-lib.c: Library for test case.
51153         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
51154         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
51155         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
51156         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
51157         * elf/dl-init.c (call_init): Likewise.
51158         (_dl_init): Likewise.
51159         * elf/dl-load.c (print_search_path): Likewise.
51160         (_dl_map_object): Likewise.
51161         * elf/dl-lookup.c (do_lookup_x): Likewise.
51162         (add_dependency): Likewise.
51163         (_dl_lookup_symbol_x): Likewise.
51164         (_dl_debug_bindings): Likewise.
51165         * elf/dl-open.c (_dl_show_scope): Likewise.
51166         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
51167         * elf/dl-version.c (match_symbol): Likewise.
51168         (_dl_check_map_versions): Likewise.
51169         * elf/rtld.c (dl_main): Likewise.
51170         (print_unresolved): Use RTLD_PROGNAME.
51171         (print_missing_version): Likewise.
51172         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
51173         (elf_machine_rela): Likewise.
51174         * sysdeps/powerpc/powerpc32/dl-machine.c
51175         (__process_machine_rela): Likewise.
51176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51177         Likewise.
51178         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
51179         Likewise.
51180         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
51181         Likewise.
51182         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51183         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
51184         Likewise.
51185         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
51186         Likewise.
51187         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51189 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
51191         * po/be.po: Add descriptive title.
51192         * po/zh_CN.po: Likewise.
51193         * po/header.pot: Likewise.
51195 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
51197         * locale/programs/locarchive.c (create_archive): Inlucde fname in
51198         error message.
51199         (enlarge_archive): Likewise.
51201 2013-05-28  Ben North  <ben@redfrontdoor.org>
51203         * manual/arith.texi (frexp): It is the magnitude of the return
51204         value which lies in [0.5, 1), not the return value itself.
51206 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51208         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51210 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
51212         * stdio-common/bug26.c (main): Correct fscanf template.
51214         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
51215         declare _dl_skip_args.
51217         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
51218         Don't declare.
51220         * manual/platform.texi: Add missing @end deftypefun.
51222 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51224         [BZ #15529]
51225         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
51226         bit of mantissa of 2^16382.
51227         * math/libm-test.inc (hypot_test_data): Add more tests.
51229         * math/libm-test.inc: Add drem and pow10 to list of tested
51230         functions.
51231         (pow10_test): New function.
51232         (drem_test): Likewise.
51233         (drem_test_tonearest): Likewise.
51234         (drem_test_towardzero): Likewise.
51235         (drem_test_downward): Likewise.
51236         (drem_test_upward): Likewise.
51237         (main): Call the new functions.
51239         * math/libm-test.inc (finite_test_data): Remove.
51240         (finite_test): Run tests from isfinite_test_data.
51241         (gamma_test_data): Remove.
51242         (gamma_test): Run tests from lgamma_test_data.
51243         * sysdeps/i386/fpu/libm-test-ulps: Update.
51244         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51246 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51248         * manual/platform.texi: Add PowerPC PPR function set documentation.
51249         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
51250         implementation.
51252 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
51254         * math/libm-test.inc (MAX_EXP): Define.
51255         (ULPDIFF): Define.
51256         (ulp): New function.
51257         (check_float_internal): Use ULPDIFF.
51258         (cpow_test): Disable failing test.
51259         (check_ulp): Test ulp() implemetnation.
51260         (main): Call check_ulp before starting tests.
51262 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
51264         * math/gen-libm-test.pl (generate_testfile): Do not handle
51265         START_DATA and END_DATA.
51266         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
51267         END_DATA.
51268         (acos_tonearest_test_data): Likewise.
51269         (acos_towardzero_test_data): Likewise.
51270         (acos_downward_test_data): Likewise.
51271         (acos_upward_test_data): Likewise.
51272         (acosh_test_data): Likewise.
51273         (asin_test_data): Likewise.
51274         (asin_tonearest_test_data): Likewise.
51275         (asin_towardzero_test_data): Likewise.
51276         (asin_downward_test_data): Likewise.
51277         (asin_upward_test_data): Likewise.
51278         (asinh_test_data): Likewise.
51279         (atan_test_data): Likewise.
51280         (atanh_test_data): Likewise.
51281         (atan2_test_data): Likewise.
51282         (cabs_test_data): Likewise.
51283         (cacos_test_data): Likewise.
51284         (cacosh_test_data): Likewise.
51285         (carg_test_data): Likewise.
51286         (casin_test_data): Likewise.
51287         (casinh_test_data): Likewise.
51288         (catan_test_data): Likewise.
51289         (catanh_test_data): Likewise.
51290         (cbrt_test_data): Likewise.
51291         (ccos_test_data): Likewise.
51292         (ccosh_test_data): Likewise.
51293         (ceil_test_data): Likewise.
51294         (cexp_test_data): Likewise.
51295         (cimag_test_data): Likewise.
51296         (clog_test_data): Likewise.
51297         (clog10_test_data): Likewise.
51298         (conj_test_data): Likewise.
51299         (copysign_test_data): Likewise.
51300         (cos_test_data): Likewise.
51301         (cos_tonearest_test_data): Likewise.
51302         (cos_towardzero_test_data): Likewise.
51303         (cos_downward_test_data): Likewise.
51304         (cos_upward_test_data): Likewise.
51305         (cosh_test_data): Likewise.
51306         (cosh_tonearest_test_data): Likewise.
51307         (cosh_towardzero_test_data): Likewise.
51308         (cosh_downward_test_data): Likewise.
51309         (cosh_upward_test_data): Likewise.
51310         (cpow_test_data): Likewise.
51311         (cproj_test_data): Likewise.
51312         (creal_test_data): Likewise.
51313         (csin_test_data): Likewise.
51314         (csinh_test_data): Likewise.
51315         (csqrt_test_data): Likewise.
51316         (ctan_test_data): Likewise.
51317         (ctan_tonearest_test_data): Likewise.
51318         (ctan_towardzero_test_data): Likewise.
51319         (ctan_downward_test_data): Likewise.
51320         (ctan_upward_test_data): Likewise.
51321         (ctanh_test_data): Likewise.
51322         (ctanh_tonearest_test_data): Likewise.
51323         (ctanh_towardzero_test_data): Likewise.
51324         (ctanh_downward_test_data): Likewise.
51325         (ctanh_upward_test_data): Likewise.
51326         (erf_test_data): Likewise.
51327         (erfc_test_data): Likewise.
51328         (exp_test_data): Likewise.
51329         (exp_tonearest_test_data): Likewise.
51330         (exp_towardzero_test_data): Likewise.
51331         (exp_downward_test_data): Likewise.
51332         (exp_upward_test_data): Likewise.
51333         (exp10_test_data): Likewise.
51334         (exp2_test_data): Likewise.
51335         (expm1_test_data): Likewise.
51336         (fabs_test_data): Likewise.
51337         (fdim_test_data): Likewise.
51338         (finite_test_data): Likewise.
51339         (floor_test_data): Likewise.
51340         (fma_test_data): Likewise.
51341         (fma_towardzero_test_data): Likewise.
51342         (fma_downward_test_data): Likewise.
51343         (fma_upward_test_data): Likewise.
51344         (fmax_test_data): Likewise.
51345         (fmin_test_data): Likewise.
51346         (fmod_test_data): Likewise.
51347         (fpclassify_test_data): Likewise.
51348         (frexp_test_data): Likewise.
51349         (gamma_test_data): Likewise.
51350         (hypot_test_data): Likewise.
51351         (ilogb_test_data): Likewise.
51352         (isfinite_test_data): Likewise.
51353         (isgreater_test_data): Likewise.
51354         (isgreaterequal_test_data): Likewise.
51355         (isinf_test_data): Likewise.
51356         (isless_test_data): Likewise.
51357         (islessequal_test_data): Likewise.
51358         (islessgreater_test_data): Likewise.
51359         (isnan_test_data): Likewise.
51360         (isnormal_test_data): Likewise.
51361         (issignaling_test_data): Likewise.
51362         (isunordered_test_data): Likewise.
51363         (j0_test_data): Likewise.
51364         (j1_test_data): Likewise.
51365         (jn_test_data): Likewise.
51366         (ldexp_test_data): Likewise.
51367         (lgamma_test_data): Likewise.
51368         (lrint_test_data): Likewise.
51369         (lrint_tonearest_test_data): Likewise.
51370         (lrint_towardzero_test_data): Likewise.
51371         (lrint_downward_test_data): Likewise.
51372         (lrint_upward_test_data): Likewise.
51373         (llrint_test_data): Likewise.
51374         (llrint_tonearest_test_data): Likewise.
51375         (llrint_towardzero_test_data): Likewise.
51376         (llrint_downward_test_data): Likewise.
51377         (llrint_upward_test_data): Likewise.
51378         (log_test_data): Likewise.
51379         (log10_test_data): Likewise.
51380         (log1p_test_data): Likewise.
51381         (log2_test_data): Likewise.
51382         (logb_test_data): Likewise.
51383         (logb_downward_test_data): Likewise.
51384         (lround_test_data): Likewise.
51385         (llround_test_data): Likewise.
51386         (modf_test_data): Likewise.
51387         (nearbyint_test_data): Likewise.
51388         (nextafter_test_data): Likewise.
51389         (nexttoward_test_data): Likewise.
51390         (pow_test_data): Likewise.
51391         (pow_tonearest_test_data): Likewise.
51392         (pow_towardzero_test_data): Likewise.
51393         (pow_downward_test_data): Likewise.
51394         (pow_upward_test_data): Likewise.
51395         (remainder_test_data): Likewise.
51396         (remainder_tonearest_test_data): Likewise.
51397         (remainder_towardzero_test_data): Likewise.
51398         (remainder_downward_test_data): Likewise.
51399         (remainder_upward_test_data): Likewise.
51400         (remquo_test_data): Likewise.
51401         (rint_test_data): Likewise.
51402         (rint_tonearest_test_data): Likewise.
51403         (rint_towardzero_test_data): Likewise.
51404         (rint_downward_test_data): Likewise.
51405         (rint_upward_test_data): Likewise.
51406         (round_test_data): Likewise.
51407         (scalb_test_data): Likewise.
51408         (scalbn_test_data): Likewise.
51409         (scalbln_test_data): Likewise.
51410         (signbit_test_data): Likewise.
51411         (sin_test_data): Likewise.
51412         (sin_tonearest_test_data): Likewise.
51413         (sin_towardzero_test_data): Likewise.
51414         (sin_downward_test_data): Likewise.
51415         (sin_upward_test_data): Likewise.
51416         (sincos_test_data): Likewise.
51417         (sinh_test_data): Likewise.
51418         (sinh_tonearest_test_data): Likewise.
51419         (sinh_towardzero_test_data): Likewise.
51420         (sinh_downward_test_data): Likewise.
51421         (sinh_upward_test_data): Likewise.
51422         (sqrt_test_data): Likewise.
51423         (tan_test_data): Likewise.
51424         (tan_tonearest_test_data): Likewise.
51425         (tan_towardzero_test_data): Likewise.
51426         (tan_downward_test_data): Likewise.
51427         (tan_upward_test_data): Likewise.
51428         (tanh_test_data): Likewise.
51429         (tgamma_test_data): Likewise.
51430         (trunc_test_data): Likewise.
51431         (y0_test_data): Likewise.
51432         (y1_test_data): Likewise.
51433         (yn_test_data): Likewise.
51434         (significand_test_data): Likewise.
51436         * math/gen-libm-test.pl (@functions): Remove variable.
51437         (generate_testfile): Don't handle START and END lines.
51438         * math/libm-test.inc (START): New macro.
51439         (END): Likewise.
51440         (END_COMPLEX): Likewise.
51441         (acos_test): Use END macro without arguments.
51442         (acos_test_tonearest): Likewise.
51443         (acos_test_towardzero): Likewise.
51444         (acos_test_downward): Likewise.
51445         (acos_test_upward): Likewise.
51446         (acosh_test): Likewise.
51447         (asin_test): Likewise.
51448         (asin_test_tonearest): Likewise.
51449         (asin_test_towardzero): Likewise.
51450         (asin_test_downward): Likewise.
51451         (asin_test_upward): Likewise.
51452         (asinh_test): Likewise.
51453         (atan_test): Likewise.
51454         (atanh_test): Likewise.
51455         (atan2_test): Likewise.
51456         (cabs_test): Likewise.
51457         (cacos_test): Use END_COMPLEX macro without arguments.
51458         (cacosh_test): Likewise.
51459         (carg_test): Use END macro without arguments.
51460         (casin_test): Use END_COMPLEX macro without arguments.
51461         (casinh_test): Likewise.
51462         (catan_test): Likewise.
51463         (catanh_test): Likewise.
51464         (cbrt_test): Use END macro without arguments.
51465         (ccos_test): Use END_COMPLEX macro without arguments.
51466         (ccosh_test): Likewise.
51467         (ceil_test): Use END macro without arguments.
51468         (cexp_test): Use END_COMPLEX macro without arguments.
51469         (cimag_test): Use END macro without arguments.
51470         (clog_test): Use END_COMPLEX macro without arguments.
51471         (clog10_test): Likewise.
51472         (conj_test): Likewise.
51473         (copysign_test): Use END macro without arguments.
51474         (cos_test): Likewise.
51475         (cos_test_tonearest): Likewise.
51476         (cos_test_towardzero): Likewise.
51477         (cos_test_downward): Likewise.
51478         (cos_test_upward): Likewise.
51479         (cosh_test): Likewise.
51480         (cosh_test_tonearest): Likewise.
51481         (cosh_test_towardzero): Likewise.
51482         (cosh_test_downward): Likewise.
51483         (cosh_test_upward): Likewise.
51484         (cpow_test): Use END_COMPLEX macro without arguments.
51485         (cproj_test): Likewise.
51486         (creal_test): Use END macro without arguments.
51487         (csin_test): Use END_COMPLEX macro without arguments.
51488         (csinh_test): Likewise.
51489         (csqrt_test): Likewise.
51490         (ctan_test): Likewise.
51491         (ctan_test_tonearest): Likewise.
51492         (ctan_test_towardzero): Likewise.
51493         (ctan_test_downward): Likewise.
51494         (ctan_test_upward): Likewise.
51495         (ctanh_test): Likewise.
51496         (ctanh_test_tonearest): Likewise.
51497         (ctanh_test_towardzero): Likewise.
51498         (ctanh_test_downward): Likewise.
51499         (ctanh_test_upward): Likewise.
51500         (erf_test): Use END macro without arguments.
51501         (erfc_test): Likewise.
51502         (exp_test): Likewise.
51503         (exp_test_tonearest): Likewise.
51504         (exp_test_towardzero): Likewise.
51505         (exp_test_downward): Likewise.
51506         (exp_test_upward): Likewise.
51507         (exp10_test): Likewise.
51508         (exp2_test): Likewise.
51509         (expm1_test): Likewise.
51510         (fabs_test): Likewise.
51511         (fdim_test): Likewise.
51512         (finite_test): Likewise.
51513         (floor_test): Likewise.
51514         (fma_test): Likewise.
51515         (fma_test_towardzero): Likewise.
51516         (fma_test_downward): Likewise.
51517         (fma_test_upward): Likewise.
51518         (fmax_test): Likewise.
51519         (fmin_test): Likewise.
51520         (fmod_test): Likewise.
51521         (fpclassify_test): Likewise.
51522         (frexp_test): Likewise.
51523         (gamma_test): Likewise.
51524         (hypot_test): Likewise.
51525         (ilogb_test): Likewise.
51526         (isfinite_test): Likewise.
51527         (isgreater_test): Likewise.
51528         (isgreaterequal_test): Likewise.
51529         (isinf_test): Likewise.
51530         (isless_test): Likewise.
51531         (islessequal_test): Likewise.
51532         (islessgreater_test): Likewise.
51533         (isnan_test): Likewise.
51534         (isnormal_test): Likewise.
51535         (issignaling_test): Likewise.
51536         (isunordered_test): Likewise.
51537         (j0_test): Likewise.
51538         (j1_test): Likewise.
51539         (jn_test): Likewise.
51540         (ldexp_test): Likewise.
51541         (lgamma_test): Likewise.
51542         (lrint_test): Likewise.
51543         (lrint_test_tonearest): Likewise.
51544         (lrint_test_towardzero): Likewise.
51545         (lrint_test_downward): Likewise.
51546         (lrint_test_upward): Likewise.
51547         (llrint_test): Likewise.
51548         (llrint_test_tonearest): Likewise.
51549         (llrint_test_towardzero): Likewise.
51550         (llrint_test_downward): Likewise.
51551         (llrint_test_upward): Likewise.
51552         (log_test): Likewise.
51553         (log10_test): Likewise.
51554         (log1p_test): Likewise.
51555         (log2_test): Likewise.
51556         (logb_test): Likewise.
51557         (logb_test_downward): Likewise.
51558         (lround_test): Likewise.
51559         (llround_test): Likewise.
51560         (modf_test): Likewise.
51561         (nearbyint_test): Likewise.
51562         (nextafter_test): Likewise.
51563         (nexttoward_test): Likewise.
51564         (pow_test): Likewise.
51565         (pow_test_tonearest): Likewise.
51566         (pow_test_towardzero): Likewise.
51567         (pow_test_downward): Likewise.
51568         (pow_test_upward): Likewise.
51569         (remainder_test): Likewise.
51570         (remainder_test_tonearest): Likewise.
51571         (remainder_test_towardzero): Likewise.
51572         (remainder_test_downward): Likewise.
51573         (remainder_test_upward): Likewise.
51574         (remquo_test): Likewise.
51575         (rint_test): Likewise.
51576         (rint_test_tonearest): Likewise.
51577         (rint_test_towardzero): Likewise.
51578         (rint_test_downward): Likewise.
51579         (rint_test_upward): Likewise.
51580         (round_test): Likewise.
51581         (scalb_test): Likewise.
51582         (scalbn_test): Likewise.
51583         (scalbln_test): Likewise.
51584         (signbit_test): Likewise.
51585         (sin_test): Likewise.
51586         (sin_test_tonearest): Likewise.
51587         (sin_test_towardzero): Likewise.
51588         (sin_test_downward): Likewise.
51589         (sin_test_upward): Likewise.
51590         (sincos_test): Likewise.
51591         (sinh_test): Likewise.
51592         (sinh_test_tonearest): Likewise.
51593         (sinh_test_towardzero): Likewise.
51594         (sinh_test_downward): Likewise.
51595         (sinh_test_upward): Likewise.
51596         (sqrt_test): Likewise.
51597         (tan_test): Likewise.
51598         (tan_test_tonearest): Likewise.
51599         (tan_test_towardzero): Likewise.
51600         (tan_test_downward): Likewise.
51601         (tan_test_upward): Likewise.
51602         (tanh_test): Likewise.
51603         (tgamma_test): Likewise.
51604         (trunc_test): Likewise.
51605         (y0_test): Likewise.
51606         (y1_test): Likewise.
51607         (yn_test): Likewise.
51608         (significand_test): Likewise.
51610 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
51612         [BZ #15381]
51613         * libio/genops.c (_IO_no_init): Initialize wide struct info.
51615 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
51617         [BZ #14894]
51618         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
51619         __ppc_mdoio and __ppc_mdoom.
51620         * manual/platform.texi: Document new functions __ppc_yield,
51621         __ppc_mdoio and __ppc_mdoom.
51623 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
51625         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
51626         (main): Mention "tls" pseudo-hwcap is legacy.
51627         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
51629 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51631         * math/gen-libm-test.pl (parse_args): Output only string of
51632         arguments as text for test name, not full call or descriptions of
51633         tests for extra outputs.
51634         (generate_testfile): Do not pass function name to parse_args.
51635         Generate this_func variable from START.
51636         * math/libm-test.inc (struct test_f_f_data): Rename test_name
51637         field to arg_str.
51638         (struct test_ff_f_data): Likewise.
51639         (test_ff_f_data_nexttoward): Likewise.
51640         (struct test_fi_f_data): Likewise.
51641         (struct test_fl_f_data): Likewise.
51642         (struct test_if_f_data): Likewise.
51643         (struct test_fff_f_data): Likewise.
51644         (struct test_c_f_data): Likewise.
51645         (struct test_f_f1_data): Likewise.  Remove field extra_name.
51646         (struct test_fF_f1_data): Likewise.
51647         (struct test_ffI_f1_data): Likewise.
51648         (struct test_c_c_data): Rename test_name field to arg_str.
51649         (struct test_cc_c_data): Likewise.
51650         (struct test_f_i_data): Likewise.
51651         (struct test_ff_i_data): Likewise.
51652         (struct test_f_l_data): Likewise.
51653         (struct test_f_L_data): Likewise.
51654         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
51655         and extra2_name.
51656         (COMMON_TEST_SETUP): New macro.
51657         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
51658         (COMMON_TEST_CLEANUP): Likewise.
51659         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
51660         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
51661         macros.
51662         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
51663         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
51664         macros.
51665         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
51666         (RUN_TEST_fff_f): Take argument string.  Call new setup and
51667         cleanup macros.
51668         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
51669         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
51670         macros.
51671         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
51672         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
51673         macros.
51674         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51675         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
51676         cleanup macros.
51677         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51678         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
51679         cleanup macros.
51680         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51681         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
51682         cleanup macros.
51683         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51684         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
51685         macros.
51686         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
51687         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
51688         macros.
51689         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
51690         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
51691         macros.
51692         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
51693         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
51694         cleanup macros.
51695         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
51696         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
51697         cleanup macros.
51698         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
51699         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
51700         macros.
51701         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
51702         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
51703         cleanup macros.
51704         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
51705         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
51706         macros.
51707         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
51708         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
51709         macros.
51710         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
51711         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
51712         cleanup macros.
51713         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
51715 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
51717         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
51718         to _sifields.sigfault.
51719         (si_addr_lsb): Define new macro.
51720         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
51721         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
51722         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
51724 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
51726         [BZ #15441]
51727         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
51728         returns -1.
51729         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
51730         null return -1.
51731         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
51732         loading the domain.
51734 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
51736         * math/gen-libm-test.pl (parse_args): Do not include expected
51737         result in test name.
51738         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
51739         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51740         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51741         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51742         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51745 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51747         * benchtests/Makefile: Sort function entries.
51749         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
51750         tanh, asinh, acosh, atanh.
51751         * benchtests/acos-inputs: New file.
51752         * benchtests/acosh-inputs: New file.
51753         * benchtests/asin-inputs: New file.
51754         * benchtests/asinh-inputs: New file.
51755         * benchtests/atanh-inputs: New file.
51756         * benchtests/cosh-inputs: New file.
51757         * benchtests/log-inputs: New file.
51758         * benchtests/sinh-inputs: New file.
51759         * benchtests/tanh-inputs: New file.
51761 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
51763         [BZ #15339]
51764         * posix/tst-getaddrinfo4.c: New test.
51765         * posix/Makefile (tests): Add it.
51767 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51769         [BZ #15339]
51770         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
51771         when no services were used.
51772         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
51773         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
51775 2013-05-21  Andreas Schwab  <schwab@suse.de>
51777         [BZ #15014]
51778         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
51779         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
51780         successful.
51781         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
51782         redundant variable declarations and reallocation of buffer when
51783         parsing as IPv6 address.  Always set NSS status when called from
51784         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
51785         buffer too small.  Correct computation of needed size.
51786         * nss/Makefile (tests): Add test-digits-dots.
51787         * nss/test-digits-dots.c: New test.
51789 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51791         * benchtests/Makefile: Remove instructions for adding
51792         benchmark tests.
51793         * benchtests/README: New file to explain how to execute and
51794         enhance the benchmark tests.
51796 2013-05-21  Andreas Schwab  <schwab@suse.de>
51798         [BZ #15493]
51799         * setjmp/Makefile (tests): Add tst-sigsetjmp.
51800         * setjmp/tst-sigsetjmp.c: New test.
51802 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51804         * sysdeps/x86_64/memset.S (memset): New implementation.
51805         (__bzero): Likewise.
51806         (__memset_tail): New function.
51808 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
51810         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
51811         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
51812         __memcpy_sse2_unaligned ifunc selection.
51813         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
51814         Add memcpy-sse2-unaligned.S.
51815         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
51816         Add: __memcpy_sse2_unaligned.
51818 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
51820         [BZ #15490]
51821         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
51822         math_force_eval before restoring floating-point envrionment.
51823         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
51824         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
51825         Likewise.
51826         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
51827         <math_private.h>.
51828         (__nearbyintl): Use math_force_eval before restoring
51829         floating-point environment.
51830         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
51832         * math/gen-libm-test.pl (special_functions): Remove.
51833         (parse_args): Don't handle TEST_extra.  Handle functions with no
51834         return value.
51835         * math/libm-test.inc (struct test_sincos_data): Replace with
51836         struct test_fFF_11_data.
51837         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
51838         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
51839         (sincos_test_data): Change element type to struct
51840         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
51841         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
51842         RUN_TEST_LOOP_sincos.
51843         * math/README.libm-test: Don't mention special handling of
51844         individual functions.
51845         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
51846         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
51847         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
51848         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
51849         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
51850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51852         * math/gen-libm-test.pl (get_variable): Remove function.
51853         (parse_args): Don't show pointer parameters to call in test
51854         names.  Use "extra output N" in test names for extra outputs
51855         rather than naming variables.
51857 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
51859         [BZ #15488]
51860         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
51861         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
51862         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
51863         double tests.
51864         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
51865         disable.
51866         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
51867         check_long_double.
51869         * math/gen-libm-test.pl (@tests): Remove variable.
51870         ($count): Likewise.
51871         (new_test): Remove function.
51872         (show_exceptions): New function.
51873         (special_functions): Use show_exceptions instead of new_test.
51874         (parse_args): Likewise.
51875         (generate_testfile): Pass only function name in generated call to
51876         print_max_error or print_complex_max_error.
51877         (get_ulps): Do not handle complex tests specially.
51878         (output_test): Rename to ...
51879         (get_all_ulps_for_test): ... this.  Return a string rather than
51880         printing to a file.  Require ulps to be present.
51881         (output_ulps): Generate arrays rather than #defines.
51882         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
51883         (struct ulp_data): New type.
51884         (BUILD_COMPLEX_ULP): Remove macro.
51885         (compare_ulp_data): New function.
51886         (find_ulps): Likewise.
51887         (find_test_ulps): Likewise.
51888         (find_function_ulps): Likewise.
51889         (find_complex_function_ulps): Likewise.
51890         (print_max_error): Determine allowed ulps using
51891         find_function_ulps.
51892         (print_complex_max_error): Determine allowed ulps using
51893         find_complex_function_ulps.
51894         (check_float_internal): Determine max ulps using find_test_ulps.
51895         (check_float): Do not take max_ulp parameter.  Update call to
51896         check_float_internal.
51897         (check_complex): Likewise.
51898         (check_int): Do not take max_ulp parameter.
51899         (check_long): Likewise.
51900         (check_bool): Likewise.
51901         (check_longlong): Likewise.
51902         (struct test_f_f_data): Remove max_ulp field.
51903         (struct test_ff_f_data): Likewise.
51904         (struct test_ff_f_data_nexttoward): Likewise.
51905         (struct test_fi_f_data): Likewise.
51906         (struct test_fl_f_data): Likewise.
51907         (struct test_if_f_data): Likewise.
51908         (struct test_fff_f_data): Likewise.
51909         (struct test_c_f_data): Likewise.
51910         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
51911         (struct test_fF_f1_data): Likewise.
51912         (struct test_ffI_f1_data): Likewise.
51913         (struct test_c_c_data): Remove max_ulp field.
51914         (struct test_cc_c_data): Likewise.
51915         (struct test_f_i_data): Likewise.
51916         (struct test_ff_i_data): Likewise.
51917         (struct test_f_l_data): Likewise.
51918         (struct test_f_L_data): Likewise.
51919         (struct test_sincos_data): Likewise.
51920         (RUN_TEST_f_f): Do not handle ulps.
51921         (RUN_TEST_LOOP_f_f): Likewise.
51922         (RUN_TEST_2_f): Likewise.
51923         (RUN_TEST_LOOP_2_f): Likewise.
51924         (RUN_TEST_fff_f): Likewise.
51925         (RUN_TEST_LOOP_fff_f): Likewise.
51926         (RUN_TEST_c_f): Likewise.
51927         (RUN_TEST_LOOP_c_f): Likewise.
51928         (RUN_TEST_f_f1): Likewise.
51929         (RUN_TEST_LOOP_f_f1): Likewise.
51930         (RUN_TEST_fF_f1): Likewise.
51931         (RUN_TEST_LOOP_fF_f1): Likewise.
51932         (RUN_TEST_fI_f1): Likewise.
51933         (RUN_TEST_LOOP_fI_f1): Likewise.
51934         (RUN_TEST_ffI_f1): Likewise.
51935         (RUN_TEST_LOOP_ffI_f1): Likewise.
51936         (RUN_TEST_c_c): Likewise.
51937         (RUN_TEST_LOOP_c_c): Likewise.
51938         (RUN_TEST_cc_c): Likewise.
51939         (RUN_TEST_LOOP_cc_c): Likewise.
51940         (RUN_TEST_f_i): Likewise.
51941         (RUN_TEST_LOOP_f_i): Likewise.
51942         (RUN_TEST_f_i_tg): Likewise.
51943         (RUN_TEST_LOOP_f_i_tg): Likewise.
51944         (RUN_TEST_ff_i_tg): Likewise.
51945         (RUN_TEST_LOOP_ff_i_tg): Likewise.
51946         (RUN_TEST_f_b): Likewise.
51947         (RUN_TEST_LOOP_f_b): Likewise.
51948         (RUN_TEST_f_b_tg): Likewise.
51949         (RUN_TEST_LOOP_f_b_tg): Likewise.
51950         (RUN_TEST_f_l): Likewise.
51951         (RUN_TEST_LOOP_f_l): Likewise.
51952         (RUN_TEST_f_L): Likewise.
51953         (RUN_TEST_LOOP_f_L): Likewise.
51954         (RUN_TEST_sincos): Likewise.
51955         (RUN_TEST_LOOP_sincos): Likewise.
51957 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
51959         [BZ #15480]
51960         [BZ #15485]
51961         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
51962         main case of finite arguments, set rounding mode to FE_TONEAREST
51963         and discard exceptions.
51964         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
51965         exceptions.
51966         (remainder_tonearest_test_data): New variable.
51967         (remainder_test_tonearest): New function.
51968         (remainder_towardzero_test_data): New variable.
51969         (remainder_test_towardzero): New function.
51970         (remainder_downward_test_data): New variable.
51971         (remainder_test_downward): New function.
51972         (remainder_upward_test_data): New variable.
51973         (remainder_test_upward): New function.
51974         (main): Call the new test functions.
51976         * math/libm-test.inc (struct test_f_f1_data): Remove field
51977         extra_init.
51978         (struct test_fF_f1_data): Likewise.
51979         (struct test_ffI_f1_data): Likewise.
51980         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
51981         based on value of EXTRA_EXPECTED.
51982         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
51983         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
51984         EXTRA_VAR based on value of EXTRA_EXPECTED.
51985         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
51986         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
51987         EXTRA_VAR based on value of EXTRA_EXPECTED.
51988         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
51989         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
51990         EXTRA_VAR based on value of EXTRA_EXPECTED.
51991         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
51992         * math/gen-libm-test.pl (parse_args): Don't output initializers
51993         for extra output values.
51995         * math/libm-test.inc (check_int): Expect result to be exactly
51996         equal to expected value and do not handle ulps.
51997         (check_long): Likewise.
51998         (check_longlong): Likewise.
52000         * math/libm-test.inc (ceil_test_data): Test for "inexact"
52001         exceptions.
52002         (cimag_test_data): Likewise.
52003         (conj_test_data): Likewise.
52004         (copysign_test_data): Likewise.
52005         (cproj_test_data): Likewise.
52006         (creal_test_data): Likewise.
52007         (fabs_test_data): Likewise.
52008         (fdim_test_data): Likewise.
52009         (finite_test_data): Likewise.
52010         (floor_test_data): Likewise.
52011         (fmax_test_data): Likewise.
52012         (fmin_test_data): Likewise.
52013         (fmod_test_data): Likewise.
52014         (fpclassify_test_data): Likewise.
52015         (frexp_test_data): Likewise.
52016         (ilogb_test_data): Likewise.
52017         (isfinite_test_data): Likewise.
52018         (isgreater_test_data): Likewise.
52019         (isgreaterequal_test_data): Likewise.
52020         (isinf_test_data): Likewise.
52021         (isless_test_data): Likewise.
52022         (islessequal_test_data): Likewise.
52023         (islessgreater_test_data): Likewise.
52024         (isnan_test_data): Likewise.
52025         (isnormal_test_data): Likewise.
52026         (issignaling_test_data): Likewise.
52027         (isunordered_test_data): Likewise.
52028         (ldexp_test_data): Likewise.
52029         (lrint_test_data): Likewise.
52030         (lrint_test_data) [TEST_FLOAT]: Disable one test.
52031         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
52032         (lrint_tonearest_test_data): Test for "inexact" exceptions.
52033         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52034         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
52035         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52036         test input.
52037         (lrint_towardzero_test_data): Test for "inexact" exceptions.
52038         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52039         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
52040         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
52041         that test input.
52042         (lrint_downward_test_data): Test for "inexact" exceptions.
52043         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52044         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
52045         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
52046         test input.
52047         (lrint_upward_test_data): Test for "inexact" exceptions.
52048         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
52049         test input.
52050         (llrint_test_data): Test for "inexact" exceptions.
52051         (llrint_test_data) [TEST_FLOAT]: Disable one test.
52052         (llrint_tonearest_test_data): Test for "inexact" exceptions.
52053         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
52054         (llrint_towardzero_test_data): Test for "inexact" exceptions.
52055         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
52056         (llrint_downward_test_data): Test for "inexact" exceptions.
52057         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
52058         (llrint_upward_test_data): Test for "inexact" exceptions.
52059         (logb_test_data): Likewise.
52060         (logb_downward_test_data): Likewise.
52061         (nextafter_test_data): Likewise.
52062         (nexttoward_test_data): Likewise.
52063         (remainder_test_data): Likewise.
52064         (remquo_test_data): Likewise.
52065         (scalbn_test_data): Likewise.
52066         (scalbln_test_data): Likewise.
52067         (signbit_test_data): Likewise.
52068         (sqrt_test_data): Likewise.
52069         (significand_test_data): Likewise.
52071 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
52073         [BZ #15424]
52074         * benchtests/bench-modf.c (struct args): Mark arg0 as
52075         volatile.
52076         * scripts/bench.pl: Mark members of struct args as volatile.
52078 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52080         [BZ # 15497]
52081         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
52082         negative infinity on POWER6 or lower.
52083         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
52085 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
52087         [BZ #15442]
52088         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
52089         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
52090         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
52091         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
52092         (_FP_SETQNAN): New macro.
52093         (_FP_SETQNAN_SEMIRAW): Likewise.
52094         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
52095         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
52096         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
52097         (FP_EXTEND): Use _FP_FRAC_SNANP.
52098         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
52099         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
52100         into account.
52101         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52102         New macro.
52103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
52104         Likewise.
52106 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52108         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
52109         with DIVIDE_BY_ZERO_EXCEPTION.
52110         (gamma_test_data): Likewise.
52111         (lgamma_test_data): Likewise.
52112         (log_test_data): Likewise.
52113         (log10_test_data): Likewise.
52114         (log2_test_data): Likewise.
52115         (tgamma_test_data): Likewise.
52117         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
52118         (acos_test_tonearest): Likewise.
52119         (acos_test_towardzero): Likewise.
52120         (acos_test_downward): Likewise.
52121         (acos_test_upward): Likewise.
52122         (acosh_test): Likewise.
52123         (asin_test): Likewise.
52124         (asin_test_tonearest): Likewise.
52125         (asin_test_towardzero): Likewise.
52126         (asin_test_downward): Likewise.
52127         (asin_test_upward): Likewise.
52128         (asinh_test): Likewise.
52129         (atan_test): Likewise.
52130         (atanh_test): Likewise.
52131         (atan2_test): Likewise.
52132         (cabs_test): Likewise.
52133         (cacos_test): Likewise.
52134         (cacosh_test): Likewise.
52135         (casin_test): Likewise.
52136         (casinh_test): Likewise.
52137         (catan_test): Likewise.
52138         (catanh_test): Likewise.
52139         (cbrt_test): Likewise.
52140         (ccos_test): Likewise.
52141         (ccosh_test): Likewise.
52142         (cexp_test): Likewise.
52143         (clog_test): Likewise.
52144         (clog10_test): Likewise.
52145         (cos_test): Likewise.
52146         (cos_test_tonearest): Likewise.
52147         (cos_test_towardzero): Likewise.
52148         (cos_test_downward): Likewise.
52149         (cos_test_upward): Likewise.
52150         (cosh_test): Likewise.
52151         (cosh_test_tonearest): Likewise.
52152         (cosh_test_towardzero): Likewise.
52153         (cosh_test_downward): Likewise.
52154         (cosh_test_upward): Likewise.
52155         (cpow_test): Likewise.
52156         (csin_test): Likewise.
52157         (csinh_test): Likewise.
52158         (csqrt_test): Likewise.
52159         (ctan_test): Likewise.
52160         (ctan_test_tonearest): Likewise.
52161         (ctan_test_towardzero): Likewise.
52162         (ctan_test_downward): Likewise.
52163         (ctan_test_upward): Likewise.
52164         (ctanh_test): Likewise.
52165         (ctanh_test_tonearest): Likewise.
52166         (ctanh_test_towardzero): Likewise.
52167         (ctanh_test_downward): Likewise.
52168         (ctanh_test_upward): Likewise.
52169         (erf_test): Likewise.
52170         (erfc_test): Likewise.
52171         (exp_test): Likewise.
52172         (exp_test_tonearest): Likewise.
52173         (exp_test_towardzero): Likewise.
52174         (exp_test_downward): Likewise.
52175         (exp_test_upward): Likewise.
52176         (exp10_test): Likewise.
52177         (exp2_test): Likewise.
52178         (expm1_test): Likewise.
52179         (fmod_test): Likewise.
52180         (gamma_test): Likewise.
52181         (hypot_test): Likewise.
52182         (j0_test): Likewise.
52183         (j1_test): Likewise.
52184         (jn_test): Likewise.
52185         (lgamma_test): Likewise.
52186         (log_test): Likewise.
52187         (log10_test): Likewise.
52188         (log1p_test): Likewise.
52189         (log2_test): Likewise.
52190         (logb_test_downward): Likewise.
52191         (pow_test): Likewise.
52192         (pow_test_tonearest): Likewise.
52193         (pow_test_towardzero): Likewise.
52194         (pow_test_downward): Likewise.
52195         (pow_test_upward): Likewise.
52196         (remainder_test): Likewise.
52197         (remquo_test): Likewise.
52198         (sin_test): Likewise.
52199         (sin_test_tonearest): Likewise.
52200         (sin_test_towardzero): Likewise.
52201         (sin_test_downward): Likewise.
52202         (sin_test_upward): Likewise.
52203         (sincos_test): Likewise.
52204         (sinh_test): Likewise.
52205         (sinh_test_tonearest): Likewise.
52206         (sinh_test_towardzero): Likewise.
52207         (sinh_test_downward): Likewise.
52208         (sinh_test_upward): Likewise.
52209         (sqrt_test): Likewise.
52210         (tan_test): Likewise.
52211         (tan_test_tonearest): Likewise.
52212         (tan_test_towardzero): Likewise.
52213         (tan_test_downward): Likewise.
52214         (tan_test_upward): Likewise.
52215         (tanh_test): Likewise.
52216         (tgamma_test): Likewise.
52217         (y0_test): Likewise.
52218         (y1_test): Likewise.
52219         (yn_test): Likewise.
52221         * math/gen-libm-test.pl (adjust_arg): Remove function.
52222         (special_function): Remove argument $in_func.  Only handle
52223         generating output for tables of tests, not inside functions.
52224         (parse_args): Likewise.
52225         (generate_testfile): Remove variable $in_func.  Update call to
52226         parse_args.
52227         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
52228         (MINUS_ZERO_INIT): Rename macro to minus_zero.
52229         (PLUS_INFTY_INIT): Rename macro to plus_infty.
52230         (MINUS_INFTY_INIT): Rename macro to minus_infty.
52231         (QNAN_VALUE_INIT): Rename macro to qnan_value.
52232         (MAX_VALUE_INIT): Rename macro to max_value.
52233         (MIN_VALUE_INIT): Rename macro to min_value.
52234         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
52235         (plus_zero): Remove variable.
52236         (minus_zero): Likewise.
52237         (plus_infty): Likewise.
52238         (minus_infty): Likewise.
52239         (qnan_value): Likewise.
52240         (max_value): Likewise.
52241         (min_value): Likewise.
52242         (min_subnorm_value): Likewise.
52244 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
52246         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
52247         uint64_t or uint32_t usage.
52248         * crypt/sha256-block.c: Likewise.
52249         * crypt/sha256-crypt.c: Likewise.
52250         * crypt/sha256.c: Likewise.
52251         * crypt/sha512-block.c: Likewise.
52252         * crypt/sha512-crypt.c: Likewise.
52253         * crypt/sha512.c: Likewise.
52254         * debug/backtrace-tst.c: Likewise.
52255         * debug/pcprofiledump.c: Likewise.
52256         * elf/cache.c: Likewise.
52257         * elf/dl-cache.c: Likewise.
52258         * elf/dl-misc.c: Likewise.
52259         * elf/dl-profile.c: Likewise.
52260         * elf/dl-support.c: Likewise.
52261         * elf/ldconfig.c: Likewise.
52262         * elf/sprof.c: Likewise.
52263         * iconv/dummy-repertoire.c: Likewise.
52264         * iconv/iconv_charmap.c: Likewise.
52265         * iconv/skeleton.c: Likewise.
52266         * iconvdata/8bit-generic.c: Likewise.
52267         * iconvdata/cp737.h: Likewise.
52268         * iconvdata/cp775.h: Likewise.
52269         * iconvdata/ibm1008.h: Likewise.
52270         * iconvdata/ibm1025.h: Likewise.
52271         * iconvdata/ibm1046.h: Likewise.
52272         * iconvdata/ibm1097.h: Likewise.
52273         * iconvdata/ibm1112.h: Likewise.
52274         * iconvdata/ibm1122.h: Likewise.
52275         * iconvdata/ibm1123.h: Likewise.
52276         * iconvdata/ibm1124.h: Likewise.
52277         * iconvdata/ibm1129.h: Likewise.
52278         * iconvdata/ibm1130.h: Likewise.
52279         * iconvdata/ibm1132.h: Likewise.
52280         * iconvdata/ibm1133.h: Likewise.
52281         * iconvdata/ibm1137.h: Likewise.
52282         * iconvdata/ibm1140.h: Likewise.
52283         * iconvdata/ibm1141.h: Likewise.
52284         * iconvdata/ibm1142.h: Likewise.
52285         * iconvdata/ibm1143.h: Likewise.
52286         * iconvdata/ibm1144.h: Likewise.
52287         * iconvdata/ibm1145.h: Likewise.
52288         * iconvdata/ibm1146.h: Likewise.
52289         * iconvdata/ibm1147.h: Likewise.
52290         * iconvdata/ibm1148.h: Likewise.
52291         * iconvdata/ibm1149.h: Likewise.
52292         * iconvdata/ibm1153.h: Likewise.
52293         * iconvdata/ibm1154.h: Likewise.
52294         * iconvdata/ibm1155.h: Likewise.
52295         * iconvdata/ibm1156.h: Likewise.
52296         * iconvdata/ibm1157.h: Likewise.
52297         * iconvdata/ibm1158.h: Likewise.
52298         * iconvdata/ibm1160.h: Likewise.
52299         * iconvdata/ibm1161.h: Likewise.
52300         * iconvdata/ibm1162.h: Likewise.
52301         * iconvdata/ibm1163.h: Likewise.
52302         * iconvdata/ibm1164.h: Likewise.
52303         * iconvdata/ibm1166.h: Likewise.
52304         * iconvdata/ibm1167.h: Likewise.
52305         * iconvdata/ibm12712.h: Likewise.
52306         * iconvdata/ibm1390.h: Likewise.
52307         * iconvdata/ibm1399.h: Likewise.
52308         * iconvdata/ibm16804.h: Likewise.
52309         * iconvdata/ibm4517.h: Likewise.
52310         * iconvdata/ibm4899.h: Likewise.
52311         * iconvdata/ibm4909.h: Likewise.
52312         * iconvdata/ibm4971.h: Likewise.
52313         * iconvdata/ibm5347.h: Likewise.
52314         * iconvdata/ibm803.h: Likewise.
52315         * iconvdata/ibm856.h: Likewise.
52316         * iconvdata/ibm901.h: Likewise.
52317         * iconvdata/ibm902.h: Likewise.
52318         * iconvdata/ibm9030.h: Likewise.
52319         * iconvdata/ibm9066.h: Likewise.
52320         * iconvdata/ibm921.h: Likewise.
52321         * iconvdata/ibm922.h: Likewise.
52322         * iconvdata/ibm9448.h: Likewise.
52323         * iconvdata/isiri-3342.h: Likewise.
52324         * iconvdata/jis0201.h: Likewise.
52325         * include/link.h: Likewise.
52326         * include/netdb.h: Likewise.
52327         * inet/check_native.c: Likewise.
52328         * inet/check_pf.c: Likewise.
52329         * inet/getipv4sourcefilter.c: Likewise.
52330         * inet/getnameinfo.c: Likewise.
52331         * inet/getsourcefilter.c: Likewise.
52332         * inet/htonl.c: Likewise.
52333         * inet/setipv4sourcefilter.c: Likewise.
52334         * inet/setsourcefilter.c: Likewise.
52335         * inet/test-inet6_opt.c: Likewise.
52336         * inet/tst-network.c: Likewise.
52337         * locale/C-collate.c: Likewise.
52338         * locale/C-ctype.c: Likewise.
52339         * locale/C-time.c: Likewise.
52340         * locale/C-translit.h: Likewise.
52341         * locale/loadarchive.c: Likewise.
52342         * locale/programs/3level.h: Likewise.
52343         * locale/programs/charmap.c: Likewise.
52344         * locale/programs/charmap.h: Likewise.
52345         * locale/programs/ld-address.c: Likewise.
52346         * locale/programs/ld-collate.c: Likewise.
52347         * locale/programs/ld-ctype.c: Likewise.
52348         * locale/programs/ld-identification.c: Likewise.
52349         * locale/programs/ld-measurement.c: Likewise.
52350         * locale/programs/ld-messages.c: Likewise.
52351         * locale/programs/ld-monetary.c: Likewise.
52352         * locale/programs/ld-name.c: Likewise.
52353         * locale/programs/ld-numeric.c: Likewise.
52354         * locale/programs/ld-paper.c: Likewise.
52355         * locale/programs/ld-telephone.c: Likewise.
52356         * locale/programs/ld-time.c: Likewise.
52357         * locale/programs/linereader.c: Likewise.
52358         * locale/programs/locale.c: Likewise.
52359         * locale/programs/locarchive.c: Likewise.
52360         * locale/programs/locfile.h: Likewise.
52361         * locale/programs/repertoire.c: Likewise.
52362         * locale/programs/simple-hash.c: Likewise.
52363         * locale/programs/simple-hash.h: Likewise.
52364         * malloc/memusage.c: Likewise.
52365         * malloc/memusagestat.c: Likewise.
52366         * nis/nis_defaults.c: Likewise.
52367         * nis/nis_hash.c: Likewise.
52368         * nis/nis_print.c: Likewise.
52369         * nis/nis_xdr.c: Likewise.
52370         * nscd/connections.c: Likewise.
52371         * nscd/hstcache.c: Likewise.
52372         * nscd/nscd_gethst_r.c: Likewise.
52373         * nscd/nscd_getserv_r.c: Likewise.
52374         * nscd/nscd_helper.c: Likewise.
52375         * nscd/servicescache.c: Likewise.
52376         * nss/makedb.c: Likewise.
52377         * nss/nss_db/db-XXX.c: Likewise.
52378         * nss/nss_db/db-initgroups.c: Likewise.
52379         * nss/nss_db/db-netgrp.c: Likewise.
52380         * nss/nss_files/files-network.c: Likewise.
52381         * nss/nss_files/files-parse.c: Likewise.
52382         * posix/bug-regex5.c: Likewise.
52383         * posix/fnmatch_loop.c: Likewise.
52384         * posix/regcomp.c: Likewise.
52385         * posix/regexec.c: Likewise.
52386         * posix/tst-rfc3484-2.c: Likewise.
52387         * posix/tst-rfc3484-3.c: Likewise.
52388         * posix/tst-rfc3484.c: Likewise.
52389         * resolv/nss_dns/dns-canon.c: Likewise.
52390         * resolv/nss_dns/dns-network.c: Likewise.
52391         * resolv/res_init.c: Likewise.
52392         * resolv/res_mkquery.c: Likewise.
52393         * resolv/tst-aton.c: Likewise.
52394         * stdlib/cxa_atexit.c: Likewise.
52395         * stdlib/cxa_finalize.c: Likewise.
52396         * stdlib/gen-fpioconst.c: Likewise.
52397         * stdlib/strtol_l.c: Likewise.
52398         * string/tst-endian.c: Likewise.
52399         * sunrpc/auth_des.c: Likewise.
52400         * sunrpc/clnt_udp.c: Likewise.
52401         * sunrpc/rtime.c: Likewise.
52402         * sunrpc/svcauth_des.c: Likewise.
52403         * sunrpc/xdr.c: Likewise.
52404         * sunrpc/xdr_intXX_t.c: Likewise.
52405         * sunrpc/xdr_rec.c: Likewise.
52406         * sysdeps/generic/ldconfig.h: Likewise.
52407         * sysdeps/generic/ldsodefs.h: Likewise.
52408         * sysdeps/generic/memusage.h: Likewise.
52409         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
52410         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
52411         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
52412         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
52413         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
52414         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
52415         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
52416         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
52417         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
52418         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52419         * sysdeps/posix/getaddrinfo.c: Likewise.
52420         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52421         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52422         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52423         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52424         * sysdeps/powerpc/test-gettimebase.c: Likewise.
52425         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
52426         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
52427         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
52428         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
52429         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
52430         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
52431         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
52432         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
52433         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
52434         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
52435         * sysdeps/x86_64/dl-tls.h: Likewise.
52436         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
52437         * time/alt_digit.c: Likewise.
52438         * time/era.c: Likewise.
52439         * wcsmbs/tst-c16c32-1.c: Likewise.
52441 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52443         * math/libm-test.inc (struct test_sincos_data): New type.
52444         (RUN_TEST_LOOP_sincos): New macro.
52445         (sincos_test_data): New variable.
52446         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
52448 2013-05-16  Richard Henderson  <rth@redhat.com>
52450         * math/atest-exp2.c (LIMB64): New macro.
52451         (CONSTSZ): New macro.
52452         (mp_exp1, mp_exp_m1, mp_log2): New variables.
52453         (hexdig): Move ...
52454         (print_mpn_fp): ... to function scope.
52455         (read_mpn_hex): Remove.
52456         (get_log2): Remove.
52457         (exp2_mpn): Use mp_log2.
52458         (main): Use mp_exp1.
52460 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
52462         * math/libm-test.inc: Remove comment about not testing "inexact"
52463         exceptions.
52464         (INEXACT_EXCEPTION): New macro.
52465         (NO_INEXACT_EXCEPTION): Likewise.
52466         (INVALID_EXCEPTION_OK): Update value.
52467         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
52468         (OVERFLOW_EXCEPTION_OK): Likewise.
52469         (UNDERFLOW_EXCEPTION_OK): Likewise.
52470         (IGNORE_ZERO_INF_SIGN): Likewise.
52471         (ERRNO_UNCHANGED): Likewise.
52472         (ERRNO_EDOM): Likewise.
52473         (ERRNO_ERANGE): Likewise.
52474         (test_exceptions): Handle testing "inexact" exceptions.
52475         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
52476         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
52477         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
52478         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
52479         INEXACT_EXCEPTION.
52480         (rint_towardzero_test_data): Likewise.
52481         (rint_downward_test_data): Likewise.
52482         (rint_upward_test_data): Likewise.
52484         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
52485         with OVERFLOW_EXCEPTION.
52486         (exp10_test_data): Likewise.
52487         (exp2_test_data): Likewise.
52488         (expm1_test_data): Likewise.
52489         (lgamma_test_data): Likewise.
52490         (pow_test_data): Likewise.
52491         (tgamma_test_data): Likewise.
52492         (yn_test_data): Remove duplicate test of overflow.
52494         * math/libm-test.inc (struct test_cc_c_data): New type.
52495         (RUN_TEST_LOOP_cc_c): New macro.
52496         (cpow_test_data): New variable.
52497         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
52499         * math/libm-test.inc (struct test_f_L_data): New type.
52500         (RUN_TEST_LOOP_f_L): New macro.
52501         (llrint_test_data): New variable.
52502         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
52503         (llrint_tonearest_test_data): New variable.
52504         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
52505         (llrint_towardzero_test_data): New variable.
52506         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
52507         (llrint_downward_test_data): New variable.
52508         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
52509         (llrint_upward_test_data): New variable.
52510         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
52511         (llround_test_data): New variable.
52512         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
52514 2013-05-13  Peter Collingbourne  <pcc@google.com>
52516         * math/atest-exp2.c (get_log2): Remove const attribute.
52518 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52520         * math/libm-test.inc (struct test_f_l_data): New type.
52521         (RUN_TEST_LOOP_f_l): New macro.
52522         (lrint_test_data): New variable.
52523         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
52524         (lrint_tonearest_test_data): New variable.
52525         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
52526         (lrint_towardzero_test_data): New variable.
52527         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
52528         (lrint_downward_test_data): New variable.
52529         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
52530         (lrint_upward_test_data): New variable.
52531         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
52532         (lround_test_data): New variable.
52533         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
52535 2013-05-15  Peter Collingbourne  <pcc@google.com>
52537         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
52538         (EXTRACT_WORDS64) Use where appropriate.
52539         (INSERT_WORDS64) Likewise.
52541         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
52542         constraints with x constraints.
52543         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
52545         * malloc/obstack.c (_obstack_compat): Add initializer.
52547 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
52549         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
52550         si_trapno and add si_addr_lsb to _sifields.sigfault.
52551         (si_trapno): Remove macro.
52552         (si_addr_lsb): Define new macro.
52553         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
52555 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
52557         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
52558         instead of TEST_f_l.
52559         (llrint_test_tonearest): Likewise.
52560         (llrint_test_towardzero): Likewise.
52561         (llrint_test_downward): Likewise.
52562         (llrint_test_upward): Likewise.
52563         (llround_test): Likewise.
52565         * math/libm-test.inc (struct test_f_i_data): Add comment.
52566         (RUN_TEST_LOOP_f_b): New macro.
52567         (RUN_TEST_LOOP_f_b_tg): Likewise.
52568         (finite_test_data): New variable.
52569         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
52570         (isfinite_test_data): New variable.
52571         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52572         (isinf_test_data): New variable.
52573         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52574         (isnan_test_data): New variable.
52575         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52576         (isnormal_test_data): New variable.
52577         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52578         (issignaling_test_data): New variable.
52579         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52580         (signbit_test_data): New variable.
52581         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
52583         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
52584         with INVALID_EXCEPTION.
52585         (acosh_test_data): Likewise.
52586         (asin_test_data): Likewise.
52587         (atanh_test_data): Likewise.
52588         (fmod_test_data): Likewise.
52589         (log_test_data): Likewise.
52590         (log10_test_data): Likewise.
52591         (log2_test_data): Likewise.
52592         (pow_test_data): Likewise.
52593         (sqrt_test_data): Likewise.
52594         (y0_test_data): Likewise.
52595         (y1_test_data): Likewise.
52596         (yn_test_data): Likewise.
52598         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
52599         function contents.
52601         * math/libm-test.inc (struct test_ff_i_data): New type.
52602         (RUN_TEST_LOOP_ff_i_tg): New macro.
52603         (isgreater_test_data): New variable.
52604         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52605         (isgreaterequal_test_data): New variable.
52606         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52607         (isless_test_data): New variable.
52608         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52609         (islessequal_test_data): New variable.
52610         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52611         (islessgreater_test_data): New variable.
52612         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52613         (isunordered_test_data): New variable.
52614         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
52616 2013-05-14  David S. Miller  <davem@davemloft.net>
52618         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52620 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
52622         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
52624         * math/libm-test.inc (struct test_fF_f1_data): Change type of
52625         extra_test to int.
52626         (struct test_f_i_data): Change type of max_ulp to int.
52628         * math/libm-test.inc (test_ffI_f1_data): New type.
52629         (RUN_TEST_LOOP_ffI_f1): New macro.
52630         (remquo_test_data): New variable.
52631         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
52633         * setjmp/tst-setjmp-fp.c: New file.
52634         * setjmp/Makefile (tests): Add tst-setjmp-fp.
52635         (link-libm): New variable.
52636         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
52638         * math/libm-test.inc (struct test_f_i_data): New type.
52639         (RUN_TEST_LOOP_f_i): New macro.
52640         (RUN_TEST_LOOP_f_i_tg): Likewise.
52641         (fpclassify_test_data): New variable.
52642         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
52643         (ilogb_test_data): New variable.
52644         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
52646         * math/libm-test.inc (scalbln_test): Correct function name in END
52647         call.
52649         * math/libm-test.inc (struct test_f_f1_data): Add comment.
52650         (RUN_TEST_LOOP_fI_f1): New macro.
52651         (frexp_test_data): New variable.
52652         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
52654         * math/libm-test.inc (struct test_fF_f1_data): New type.
52655         (RUN_TEST_LOOP_fF_f1): New macro.
52656         (modf_test_data): New variable.
52657         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
52659         * math/libm-test.inc (struct test_f_f1_data): New type.
52660         (RUN_TEST_LOOP_f_f1): New macro.
52661         (gamma_test_data): New variable.
52662         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52663         (lgamma_test_data): New variable.
52664         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
52666 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
52668         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
52669         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
52670         (main): Comment "tls" pseudo-hwcap.
52672 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
52674         * math/libm-test.inc (struct test_fl_f_data): New type.
52675         (RUN_TEST_LOOP_fl_f): New variable.
52676         (scalbln_test_data): New variable.
52677         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
52679         * math/libm-test.inc (struct test_fi_f_data): New type.
52680         (RUN_TEST_LOOP_fi_f): New macro.
52681         (ldexp_test_data): New variable.
52682         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
52683         (scalbn_test_data): New variable.
52684         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
52686         * math/libm-test.inc (struct test_c_f_data): New type.
52687         (RUN_TEST_LOOP_c_f): New macro.
52688         (cabs_test_data): New variable.
52689         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
52690         (carg_test_data): New variable.
52691         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
52692         (cimag_test_data): New variable.
52693         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
52694         (creal_test_data): New variable.
52695         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
52697         * math/libm-test.inc (struct test_if_f_data): New type.
52698         (RUN_TEST_LOOP_if_f): New macro.
52699         (jn_test_data): New variable.
52700         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
52701         (yn_test_data): New variable.
52702         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
52704         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
52706 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52708         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
52709         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
52711 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
52713         * benchtests/Makefile (CPPFLAGS-nonlib): Add
52714         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
52715         (bench-deps): Add bench-timing.h.
52716         * benchtests-bench-skeleton.c: Include bench-timing.h.
52717         (main): Use TIMING_* macros instead of clock_gettime.
52718         * benchtests/bench-timing.h: New file.
52720         [BZ #14582]
52721         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
52722         Renamed from _LIB_VERSION.
52723         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
52725 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
52727         * math/libm-test.inc (struct test_fff_f_data): New type.
52728         (RUN_TEST_LOOP_fff_f): New macro.
52729         (fma_test_data): New variable.
52730         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
52731         (fma_towardzero_test_data): New variable.
52732         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
52733         (fma_downward_test_data): New variable.
52734         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
52735         (fma_upward_test_data): New variable.
52736         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
52738         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
52739         (struct test_c_c_data): New type.
52740         (RUN_TEST_LOOP_c_c): New macro.
52741         (cacos_test_data): New variable.
52742         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
52743         (cacosh_test_data): New variable.
52744         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
52745         (casin_test_data): New variable.
52746         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
52747         (casinh_test_data): New variable.
52748         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
52749         (catan_test_data): New variable.
52750         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
52751         (catanh_test_data): New variable.
52752         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
52753         (ccos_test_data): New variable.
52754         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
52755         (ccosh_test_data): New variable.
52756         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
52757         (cexp_test_data): New variable.
52758         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
52759         (clog_test_data): New variable.
52760         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
52761         (clog10_test_data): New variable.
52762         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
52763         (conj_test_data): New variable.
52764         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
52765         (cproj_test_data): New variable.
52766         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
52767         (csin_test_data): New variable.
52768         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
52769         (csinh_test_data): New variable.
52770         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
52771         (csqrt_test_data): New variable.
52772         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
52773         (ctan_test_data): New variable.
52774         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
52775         (ctan_tonearest_test_data): New variable.
52776         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52777         (ctan_towardzero_test_data): New variable.
52778         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52779         (ctan_downward_test_data): New variable.
52780         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52781         (ctan_upward_test_data): New variable.
52782         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52783         (ctanh_test_data): New variable.
52784         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
52785         (ctanh_tonearest_test_data): New variable.
52786         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
52787         (ctanh_towardzero_test_data): New variable.
52788         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
52789         (ctanh_downward_test_data): New variable.
52790         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
52791         (ctanh_upward_test_data): New variable.
52792         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
52793         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
52794         of BUILD_COMPLEX.
52796         * math/libm-test.inc (struct test_ff_f_data): New type.
52797         (struct test_ff_f_data_nexttoward): Likewise.
52798         (RUN_TEST_LOOP_2_f): New macro.
52799         (RUN_TEST_LOOP_ff_f): Likewise.
52800         (atan2_test_data): New variable.
52801         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
52802         (copysign_test_data): New variable.
52803         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
52804         (fdim_test_data): New variable.
52805         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
52806         (fmax_test_data): New variable.
52807         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
52808         (fmin_test_data): New variable.
52809         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
52810         (fmod_test_data): New variable.
52811         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
52812         (hypot_test_data): New variable.
52813         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
52814         (nextafter_test_data): New variable.
52815         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
52816         (nexttoward_test_data): New variable.
52817         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
52818         (pow_test_data): New variable.
52819         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
52820         (pow_tonearest_test_data): New variable.
52821         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
52822         (pow_towardzero_test_data): New variable.
52823         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
52824         (pow_downward_test_data): New variable.
52825         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
52826         (pow_upward_test_data): New variable.
52827         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
52828         (remainder_test_data): New variable.
52829         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
52830         (scalb_test_data): New variable.
52831         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
52832         * sysdeps/i386/fpu/libm-test-ulps: Update.
52834 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
52836         * math/libm-test.inc (fma_test): Use max_value instead of local
52837         variable fltmax.
52838         (nextafter_test): Likewise.
52840         * math/libm-test.inc (acos_towardzero_test_data): New variable.
52841         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52842         (acos_downward_test_data): New variable.
52843         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52844         (acos_upward_test_data): New variable.
52845         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52846         (acosh_test_data): New variable.
52847         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
52848         (asin_test_data): New variable.
52849         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
52850         (asin_tonearest_test_data): New variable.
52851         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52852         (asin_towardzero_test_data): New variable.
52853         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52854         (asin_downward_test_data): New variable.
52855         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52856         (asin_upward_test_data): New variable.
52857         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52858         (asinh_test_data): New variable.
52859         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
52860         (atan_test_data): New variable.
52861         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
52862         (atanh_test_data): New variable.
52863         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
52864         (cbrt_test_data): New variable.
52865         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
52866         (ceil_test_data): New variable.
52867         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
52868         (cos_test_data): New variable.
52869         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
52870         (cos_tonearest_test_data): New variable.
52871         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52872         (cos_towardzero_test_data): New variable.
52873         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52874         (cos_downward_test_data): New variable.
52875         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52876         (cos_upward_test_data): New variable.
52877         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52878         (cosh_test_data): New variable.
52879         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
52880         (cosh_tonearest_test_data): New variable.
52881         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52882         (cosh_towardzero_test_data): New variable.
52883         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52884         (cosh_downward_test_data): New variable.
52885         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52886         (cosh_upward_test_data): New variable.
52887         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52888         (erf_test_data): New variable.
52889         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
52890         (erfc_test_data): New variable.
52891         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
52892         (exp_test_data): New variable.
52893         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
52894         (exp_tonearest_test_data): New variable.
52895         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52896         (exp_towardzero_test_data): New variable.
52897         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52898         (exp_downward_test_data): New variable.
52899         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52900         (exp_upward_test_data): New variable.
52901         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52902         (exp10_test_data): New variable.
52903         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
52904         (exp2_test_data): New variable.
52905         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
52906         (expm1_test_data): New variable.
52907         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
52908         (fabs_test_data): New variable.
52909         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
52910         (floor_test_data): New variable.
52911         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
52912         (j0_test_data): New variable.
52913         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
52914         (j1_test_data): New variable.
52915         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
52916         (log_test_data): New variable.
52917         (log_test): Run tests with RUN_TEST_LOOP_f_f.
52918         (log10_test_data): New variable.
52919         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
52920         (log1p_test_data): New variable.
52921         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
52922         (log2_test_data): New variable.
52923         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
52924         (logb_test_data): New variable.
52925         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
52926         (logb_downward_test_data): New variable.
52927         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52928         (nearbyint_test_data): New variable.
52929         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
52930         (rint_test_data): New variable.
52931         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
52932         (rint_tonearest_test_data): New variable.
52933         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52934         (rint_towardzero_test_data): New variable.
52935         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52936         (rint_downward_test_data): New variable.
52937         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52938         (rint_upward_test_data): New variable.
52939         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52940         (round_test_data): New variable.
52941         (round_test): Run tests with RUN_TEST_LOOP_f_f.
52942         (sin_test_data): New variable.
52943         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
52944         (sin_tonearest_test_data): New variable.
52945         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52946         (sin_towardzero_test_data): New variable.
52947         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52948         (sin_downward_test_data): New variable.
52949         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52950         (sin_upward_test_data): New variable.
52951         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52952         (sinh_test_data): New variable.
52953         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
52954         (sinh_tonearest_test_data): New variable.
52955         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52956         (sinh_towardzero_test_data): New variable.
52957         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52958         (sinh_downward_test_data): New variable.
52959         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52960         (sinh_upward_test_data): New variable.
52961         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52962         (sqrt_test_data): New variable.
52963         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
52964         (tan_test_data): New variable.
52965         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
52966         (tan_tonearest_test_data): New variable.
52967         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
52968         (tan_towardzero_test_data): New variable.
52969         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
52970         (tan_downward_test_data): New variable.
52971         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
52972         (tan_upward_test_data): New variable.
52973         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
52974         (tanh_test_data): New variable.
52975         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
52976         (tgamma_test_data): New variable.
52977         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
52978         (trunc_test_data): New variable.
52979         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
52980         (y0_test_data): New variable.
52981         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
52982         (y1_test_data): New variable.
52983         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
52984         (significand_test_data): New variable.
52985         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
52987 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
52989         [BZ #12387]
52990         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
52992 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
52994         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
52996 2013-05-10  Andreas Jaeger  <aj@suse.de>
52998         [BZ #15448]
52999         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
53000         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
53002 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53004         * math/gen-libm-test.pl (adjust_arg): New function.
53005         (special_functions): Handle generating output in both functions
53006         and arrays.
53007         (parse_args): Likewise.
53008         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
53009         $in_func argument to parse_args.
53010         * math/libm-test.inc (struct test_f_f_data): New type.
53011         (IF_ROUND_INIT_): New macro.
53012         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
53013         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
53014         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
53015         (IF_ROUND_INIT_FE_UPWARD): Likewise.
53016         (ROUND_RESTORE_): Likewise.
53017         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
53018         (ROUND_RESTORE_FE_TONEAREST): Likewise.
53019         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
53020         (ROUND_RESTORE_FE_UPWARD): Likewise.
53021         (RUN_TEST_LOOP_f_f): New macro.
53022         (acos_test_data): New variable.
53023         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
53024         (acos_tonearest_test_data): New variable.
53025         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
53027 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53029         * benchtests/bench-skeleton.c (startup): Fix coding style.
53031 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
53033         [BZ #6809]
53034         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
53035         negative infinity argument.
53036         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
53037         negative infinity argument.
53038         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
53039         negative infinity argument.
53040         * math/libm-test.inc (tgamma_test): Expect errno to be set for
53041         domain errors.
53043 2013-05-10  Florian Weimer  <fweimer@redhat.com>
53045         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
53046         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
53047         * iconv/iconv_prog.c (main): Likewise.
53048         * locale/programs/charmap-dir.c (charmap_readdir)
53049         (fopen_uncompressed): Likewise.
53050         * locale/programs/locfile.c (siblings_uncached)
53051         (write_locale_data): Use lstat64 instead of lstat.
53052         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
53053         stat.
53055 2013-05-10  Andreas Jaeger  <aj@suse.de>
53057         [BZ #15395]
53058         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
53059         localization.
53060         Include <locale.h>.
53062 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
53064         * elf/dl-close.c (_dl_close_worker): Add comments.
53066 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
53068         [BZ #15359]
53069         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
53070         high part of pi/2.
53071         (__ieee754_rem_pio2l): Update comments.
53073         [BZ #15429]
53074         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
53075         high part of pi/2.
53076         (__ieee754_rem_pio2l): Update comments.
53078         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
53079         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
53081         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
53082         M_PI_4l.
53084         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
53085         (M_PI_34_LOG10El): Likewise.
53086         (M_PI2_LOG10El): Likewise.
53087         (M_PI4_LOG10El): Likewise.
53088         (M_PI_LOG10El): Likewise.
53090 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53094 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
53096         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
53097         (MINUS_ZERO_INIT): Likewise.
53098         (PLUS_INFTY_INIT): Likewise.
53099         (MINUS_INFTY_INIT): Likewise.
53100         (QNAN_VALUE_INIT): Likewise.
53101         (MAX_VALUE_INIT): Likewise.
53102         (MIN_VALUE_INIT): Likewise.
53103         (MIN_SUBNORM_VALUE_INIT): Likewise.
53104         (plus_zero): Initialize with PLUS_ZERO_INIT.
53105         (minus_zero): Initialize with MINUS_ZERO_INIT.
53106         (plus_infty): Initialize with PLUS_INFTY_INIT.
53107         (minus_infty): Initialize with MINUS_INFTY_INIT.
53108         (qnan_value): Initialize with QNAN_VALUE_INIT.
53109         (max_value): Initialize with MAX_VALUE_INIT.
53110         (min_value): Initialize with MIN_VALUE_INIT.
53111         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
53113         * math/libm-test.inc (RUN_TEST_if_f): New macro.
53114         (jn_test): Use TEST_if_f instead of TEST_ff_f.
53115         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
53116         (yn_test): Use TEST_if_f instead of TEST_ff_f.
53118         * math/libm-test.inc (RUN_TEST_f_f): New macro.
53119         (RUN_TEST_2_f): Likewise.
53120         (RUN_TEST_ff_f): Likewise.
53121         (RUN_TEST_fi_f): Likewise.
53122         (RUN_TEST_fl_f): Likewise.
53123         (RUN_TEST_fff_f): Likewise.
53124         (RUN_TEST_c_f): Likewise.
53125         (RUN_TEST_f_f1): Likewise.
53126         (RUN_TEST_fF_f1): Likewise.
53127         (RUN_TEST_fI_f1): Likewise.
53128         (RUN_TEST_ffI_f1): Likewise.
53129         (RUN_TEST_c_c): Likewise.
53130         (RUN_TEST_cc_c): Likewise.
53131         (RUN_TEST_f_i): Likewise.
53132         (RUN_TEST_f_i_tg): Likewise.
53133         (RUN_TEST_ff_i_tg): Likewise.
53134         (RUN_TEST_f_b): Likewise.
53135         (RUN_TEST_f_b_tg): Likewise.
53136         (RUN_TEST_f_l): Likewise.
53137         (RUN_TEST_f_L): Likewise.
53138         (RUN_TEST_sincos): Likewise.
53139         * math/gen-libm-test.pl (new_test): Take new argument to indicate
53140         whether to show exceptions.  Do not include ");\n" in return
53141         value.
53142         (special_functions): Output call to RUN_TEST_sincos instead of
53143         check_float calls.  Update calls to new_test.
53144         (parse_args): Output call to single RUN_TEST_* macro instead of
53145         check_* calls and other assignments.  Update calls to new_test.
53147         [BZ #2546]
53148         [BZ #2560]
53149         [BZ #5159]
53150         [BZ #15426]
53151         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
53152         input to result for tgamma overflow.
53153         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
53154         (gamma_coeff): New variable.
53155         (NCOEFF): New macro.
53156         (gamma_positive): New function.
53157         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
53158         underflow here.  Use gamma_positive instead of exp (lgamma) for
53159         other arguments.
53160         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
53161         (gamma_coeff): New variable.
53162         (NCOEFF): New macro.
53163         (gammaf_positive): New function.
53164         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
53165         underflow here.  Use gamma_positive instead of exp (lgamma) for
53166         other arguments.
53167         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
53168         (gamma_coeff): New variable.
53169         (NCOEFF): New macro.
53170         (gammal_positive): New function.
53171         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
53172         underflow here.  Use gamma_positive instead of exp (lgamma) for
53173         other arguments.
53174         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
53175         (gamma_coeff): New variable.
53176         (NCOEFF): New macro.
53177         (gammal_positive): New function.
53178         (__ieee754_gammal_r): Handle positive infinity, overflow and
53179         underflow here.  Handle NaN the same as positive infinity.  Remove
53180         check x < 0xffffffff for negative integers.  Use gamma_positive
53181         instead of exp (lgamma) for other arguments.
53182         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
53183         (gamma_coeff): New variable.
53184         (NCOEFF): New macro.
53185         (gammal_positive): New function.
53186         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
53187         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
53188         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
53189         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
53190         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
53191         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
53192         * sysdeps/generic/math_private.h (__gamma_productf): New
53193         prototype.
53194         (__gamma_product): Likewise.
53195         (__gamma_productl): Likewise.
53196         * math/Makefile (libm-calls): Add gamma_product.
53197         * math/libm-test.inc (tgamma_test): Add more tests.
53198         * sysdeps/i386/fpu/libm-test-ulps: Update.
53199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53201 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
53203         * benchtests/bench-skeleton.c (main): Preheat CPU.
53205 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
53207         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
53209 2013-05-07  Roland McGrath  <roland@hack.frob.com>
53211         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
53212         and _dl_skip_args_internal.
53214 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
53216         * manual/message.texi (Message Translation): Talk about users.
53217         Message to key mapping impacts design.
53219 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53221         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
53223         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
53225         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
53226         * sysdeps/wordsize-64/glob64.c: ... here.
53228         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
53229         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
53230         New macros.
53232         * debug/getlogin_r_chk.c: Moved to ...
53233         * login/getlogin_r_chk.c: ... here.
53234         * debug/Makefile (routines): Move getlogin_r_chk to ...
53235         * login/Makefile (routines): ... here.
53236         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
53237         * login/Versions (libc: GLIBC_2.4): ... here.
53239         * io/poll.c (__poll): Renamed from poll.
53240         Add libc_hidden_def.
53241         (poll): Define as weak alias.
53243         * debug/ptsname_r_chk.c: Moved to ...
53244         * login/ptsname_r_chk.c: ... here.
53245         * debug/Makefile (routines): Move ptsname_r_chk to ...
53246         * login/Makefile (routines): ... here.
53247         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
53248         * login/Versions (libc: GLIBC_2.4): ... here.
53250         * posix/getlogin.c: Moved to ...
53251         * login/getlogin.c: ... here.
53252         * posix/getlogin_r.c: Moved to ...
53253         * login/getlogin_r.c: ... here.
53254         * posix/getlogin_r.c: Moved to ...
53255         * login/getlogin_r.c: ... here.
53256         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
53257         * login/Makefile (routines): ... here.
53258         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
53259         * login/Versions (libc: GLIBC_2.0): ... here.
53261         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
53262         (setrlimit): Define as weak alias.
53264         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
53265         Call __ names for open, ftruncate, and close.
53266         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
53267         (truncate): Define as weak alias.
53269 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
53271         * math/gen-libm-test.pl (parse_args): Initialize x before each
53272         test of frexp, modf and remquo.
53274         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
53275         test signgam value.
53277 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53279         [BZ #15418]
53280         [BZ #15419]
53281         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
53282         internal tests.
53283         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
53285 2013-05-06  Roland McGrath  <roland@hack.frob.com>
53287         * elf/dl-writev.h: New file.
53288         * elf/dl-misc.c: Include it.
53289         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
53290         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
53292 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
53294         * math/libm-test.inc (noXFails): Remove variable.
53295         (noXPasses): Likewise.
53296         (BUILD_COMPLEX_INT): Remove macro.
53297         (print_screen): Remove xfail argument.
53298         (print_screen_max_error): Likewise.
53299         (update_stats): Likewise.
53300         (print_max_error): Likewise.  Update calls to other affected
53301         functions.
53302         (print_complex_max_error): Likewise.
53303         (test_single_exception): Update calls to print_screen.
53304         (test_single_errno): Likewise.
53305         (check_float_internal): Remove xfail argument.  Update calls to
53306         other affected functions.
53307         (check_float): Likewise.
53308         (check_complex): Likewise.
53309         (check_int): Likewise.
53310         (check_long): Likewise.
53311         (check_bool): Likewise.
53312         (check_longlong): Likewise.
53313         (main): Don't print noXFails and noXPasses.
53314         * math/gen-libm-test.pl (top level): Don't mention expected
53315         failure handling in comment.
53316         (new_test): Don't handle expected failures.
53317         (parse_args): Don't mention expected failure handling in comment.
53318         (generate_testfile): Don't handle expected failures.
53319         (parse_ulps): Likewise.
53320         (print_ulps_file): Likewise.
53321         (get_failure): Remove function.
53322         (output_test): Don't handle expected failures.
53323         * make/README.libm-test: Don't mention expected failure handling.
53325         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
53326         (minus_zero): Likewise.
53327         (plus_infty): Likewise.
53328         (minus_infty): Likewise.
53329         (qnan_value): Likewise.
53330         (max_value): Likewise.
53331         (min_value): Likewise.
53332         (min_subnorm_value): Likewise.
53333         (initialize): Do not initialize those variables dynamically.
53335 2013-05-03  Roland McGrath  <roland@hack.frob.com>
53337         * io/open.c (__open_2): Moved to ...
53338         * io/open_2.c: ... this new file.
53339         * io/open64.c (__open64_2): Moved to ...
53340         * io/open64_2.c: ... this new file.
53341         * io/openat.c (__openat_2): Moved to ...
53342         * io/openat_2.c: ... this new file.
53343         * io/openat64.c (__openat64_2): Moved to ...
53344         * io/openat64_2.c: ... this new file.
53345         * io/Makefile (routines): Add them.
53346         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
53347         * sysdeps/unix/sysv/linux/open_2.c: File removed.
53348         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
53349         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
53350         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
53351         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
53352         (__openat64): Add hidden_ver.
53353         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
53354         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
53356         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
53357         Separately conditionalize setting of GLRO(dl_sysinfo) so
53358         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
53359         as well, but the actual setting is only under [NEED_DL_SYSINFO].
53361 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53363         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
53364         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
53365         definition.
53366         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
53367         * sysdeps/unix/sysv/linux/powerpc/init-first.c
53368         (_libc_vdso_platform_setup): Add __vdso_time initialization.
53369         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
53370         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
53372 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
53374         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
53375         test signgam value.
53377         * math/libm-test.inc (hypot_test): Do not use
53378         IGNORE_ZERO_INF_SIGN.
53380 2013-05-03  Andreas Jaeger  <aj@suse.de>
53382         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
53383         Linux 3.9.
53384         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
53385         (PF_MAX): Adjust for VSOCK change.
53387 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53391 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
53393         [BZ #15264]
53394         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
53395         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
53396         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
53398 2013-05-02  David S. Miller  <davem@davemloft.net>
53400         * sysdeps/sparc/fpu/libm-test-ulps: Update.
53402 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
53404         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
53406 2013-05-01  Roland McGrath  <roland@hack.frob.com>
53408         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
53410 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
53412         [BZ #14952]
53413         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
53414         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53415         Use __attribute__ ((__gnu_inline__)).
53416         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
53417         Don't use __attribute__ ((__gnu_inline__)).
53419 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
53421         [BZ #15423]
53422         * math/s_catan.c (__catan): Handle small real or imaginary part of
53423         input specially to avoid spurious underflow.
53424         * math/s_catanf.c (__catanf): Likewise.
53425         * math/s_catanh.c (__catanh): Likewise.
53426         * math/s_catanhf.c (__catanhf): Likewise.
53427         * math/s_catanhl.c (__catanhl): Likewise.
53428         * math/s_catanl.c (__catanl): Likewise.
53429         * math/libm-test.inc (catan_test): Add more tests.
53430         (catanh_test): Likewise.
53431         * sysdeps/i386/fpu/libm-test-ulps: Update.
53432         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53434 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53436         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53438 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
53440         [BZ #15416]
53441         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
53442         accurately for denominator in atan2.
53443         * math/s_catanf.c (__catanf): Likewise.
53444         * math/s_catanh.c (__catanh): Likewise.
53445         * math/s_catanhf.c (__catanhf): Likewise.
53446         * math/s_catanhl.c (__catanhl): Likewise.
53447         * math/s_catanl.c (__catanl): Likewise.
53448         * math/libm-test.inc (catan_test): Add more tests.
53449         (catanh_test): Likewise.
53450         * sysdeps/i386/fpu/libm-test-ulps: Update.
53451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53453 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
53455         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
53457         * benchtests/Makefile (bench): Remove slow benchmarks.
53458         * benchtests/atan-inputs: Add slow benchmark inputs.
53459         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
53460         (BENCH_FUNC): Accept variant offset.
53461         (VARIANT): Define.
53462         * benchtests/bench-skeleton.c (main): Run benchmark for each
53463         variant.
53464         * benchtests/cos-inputs: Add slow benchmark inputs.
53465         * benchtests/exp-inputs: Likewise.
53466         * benchtests/pow-inputs: Likewise.
53467         * benchtests/sin-inputs: Likewise.
53468         * benchtests/slowatan-inputs: Remove.
53469         * benchtests/slowatan.c: Remove.
53470         * benchtests/slowcos-inputs: Remove.
53471         * benchtests/slowcos.c: Remove.
53472         * benchtests/slowexp-inputs: Remove.
53473         * benchtests/slowexp.c: Remove.
53474         * benchtests/slowpow-inputs: Remove.
53475         * benchtests/slowpow.c: Remove.
53476         * benchtests/slowsin-inputs: Remove.
53477         * benchtests/slowsin.c: Remove.
53478         * benchtests/slowtan-inputs: Remove.
53479         * benchtests/slowtan.c: Remove.
53480         * benchtests/tan-inputs: Add slow benchmark inputs.
53481         * scripts/bench.pl: Parse comments and directives.
53483         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
53484         in CPPFLAGS.
53485         ($(objpfx)bench-%.c): Remove *-ITER.
53486         * benchtests/bench-modf.c: Remove definition of ITER.
53487         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
53488         (main): Loop for DURATION seconds instead of fixed number of
53489         iterations.
53490         * scripts/bench.pl: Don't expect iterations in parameters.
53492 2013-04-29  Roland McGrath  <roland@hack.frob.com>
53494         * io/fchdir.c (__fchdir): Renamed from fchdir.
53495         (fchdir): Define as weak alias.
53497 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53499         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
53500         (ERRNO_EDOM): Likewise.
53501         (ERRNO_ERANGE): Likewise.
53502         (noErrnoTests): New variable.
53503         (init_max_error): Set errno to 0.
53504         (test_single_errno): New function.
53505         (test_errno): Likewise.
53506         (check_float_internal): Call test_errno.  Set errno to 0.
53507         (check_complex): Refer to errno tests in comment.
53508         (check_int): Call test_errno.  Set errno to 0.
53509         (check_long): Likewise.
53510         (check_bool): Likewise.
53511         (check_longlong): Likewise.
53512         (cos_test): Use ERRNO_* flags for errno tests instead of
53513         check_int.
53514         (expm1_test): Likewise.
53515         (fmod_test): Likewise.
53516         (ilogb_test): Likewise.
53517         (lgamma_test): Likewise.
53518         (pow_test): Likewise.
53519         (remainder_test): Likewise.
53520         (sin_test): Likewise.
53521         (tan_test): Likewise.
53522         (yn_test): Likewise.
53523         (initialize): Set errno to 0.
53524         (main): Print number of errno tests.
53525         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
53527 2013-04-29  Andreas Jaeger  <aj@suse.de>
53529         [BZ #15084]
53530         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
53531         and RES_USEVC.
53533         [BZ #15085]
53534         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
53535         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
53536         unimplemented.
53538         [BZ #15380]
53539         * stdlib/random.c (__initstate): Return NULL if
53540         __initstate fails.
53542         [BZ #15086]
53543         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
53544         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
53545         RES_SNGLKUPREOP.
53547 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53549         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53551 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
53553         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
53554         of individual tests.
53555         (casin_test): Likewise.
53556         (casinh_test): Likewise.
53558 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
53560         [BZ #15409]
53561         * math/s_catan.c (__catan): Handle arguments with large real or
53562         imaginary part separately without squaring.
53563         * math/s_catanf.c (__catanf): Likewise.
53564         * math/s_catanh.c (__catanh): Likewise.
53565         * math/s_catanhf.c (__catanhf): Likewise.
53566         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53567         and redefine.
53568         (__catanhl): Handle arguments with large real or imaginary part
53569         separately without squaring.
53570         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
53571         and redefine.
53572         (__catanl): Handle arguments with large real or imaginary part
53573         separately without squaring.
53574         * math/libm-test.inc (catan_test): Add more tests.
53575         (catanh_test): Likewise.
53576         * sysdeps/i386/fpu/libm-test-ulps: Update.
53577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53579 2013-04-27  Andreas Jaeger  <aj@suse.de>
53581         [BZ #15007]
53582         * stdlib/stdlib.h: Update guards for qecvt.
53583         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
53584         <stdlib.h>.
53586 2013-04-27  Allan McRae  <allan@archlinux.org>
53588         * sysdeps/i386/fpu/libm-test-ulps: Update.
53590 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
53592         [BZ #15406]
53593         * math/s_catan.c: Include <float.h>.
53594         (__catan): Ensure underflow exception occurs for underflowed
53595         result.
53596         * math/s_catanf.c: Include <float.h>.
53597         (__catanf): Ensure underflow exception occurs for underflowed
53598         result.
53599         * math/s_catanh.c: Include <float.h>.
53600         (__catanh): Ensure underflow exception occurs for underflowed
53601         result.
53602         * math/s_catanhf.c: Include <float.h>.
53603         (__catanhf): Ensure underflow exception occurs for underflowed
53604         result.
53605         * math/s_catanhl.c: Include <float.h>.
53606         (__catanhl): Ensure underflow exception occurs for underflowed
53607         result.
53608         * math/s_catanl.c: Include <float.h>.
53609         (__catanl): Ensure underflow exception occurs for underflowed
53610         result.
53611         * math/libm-test.inc (catan_test): Add more tests.
53612         (catanh_test): Likewise.
53614         [BZ #15405]
53615         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
53616         underflowed result.
53617         * math/s_ccoshf.c (__ccoshf): Likewise.
53618         * math/s_ccoshl.c (__ccoshl): Likewise.
53619         * math/s_csin.c (__csin): Likewise.
53620         * math/s_csinf.c (__csinf): Likewise.
53621         * math/s_csinh.c (__csinh): Likewise.
53622         * math/s_csinhf.c (__csinhf): Likewise.
53623         * math/s_csinhl.c (__csinhl): Likewise.
53624         * math/s_csinl.c (__csinl): Likewise.
53625         * math/libm-test.inc (ccos_test): Add more tests.
53626         (ccosh_test): Likewise.
53627         (csin_test): Likewise.
53628         (csinh_test): Likewise.
53630 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53632         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
53633         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
53634         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
53635         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
53636         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
53637         powerpc/power5+/fpu folders.
53638         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
53641 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
53643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
53645 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
53647         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
53648         additions to variable.
53649         [$(config-machine) = x86_64] (modules-names): Likewise.
53650         ($(objpfx)tst-audit3): Remove dependency.
53651         ($(objpfx)tst-audit3.out): Likewise.
53652         ($(objpfx)tst-audit4): Likewise.
53653         ($(objpfx)tst-audit4.out): Likewise.
53654         ($(objpfx)tst-audit5): Likewise.
53655         ($(objpfx)tst-audit5.out): Likewise.
53656         ($(objpfx)tst-audit6): Likewise.
53657         ($(objpfx)tst-audit6.out): Likewise.
53658         ($(objpfx)tst-audit7): Likewise.
53659         ($(objpfx)tst-audit7.out): Likewise.
53660         (tst-audit3-ENV): Remove variable.
53661         (tst-audit4-ENV): Likewise.
53662         (tst-audit5-ENV): Likewise.
53663         (tst-audit6-ENV): Likewise.
53664         (tst-audit7-ENV): Likewise.
53665         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
53666         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
53667         addition to variable.
53668         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
53669         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
53670         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
53671         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
53672         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
53673         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
53674         tst-audit3, tst-audit4 and tst-audit5.
53675         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
53676         tst-audit6 and tst-audit7.
53677         [$(subdir) = elf] (modules-names): Add audit modules for those
53678         tests.
53679         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
53680         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
53681         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
53682         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
53683         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
53684         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
53685         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
53686         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
53687         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
53688         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
53689         [$(subdir) = elf] (tst-audit3-ENV): New variable.
53690         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
53691         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
53692         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
53693         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
53694         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
53695         Likewise.
53696         [$(subdir) = elf && $(config-cflags-avx) = yes]
53697         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
53698         [$(subdir) = elf && $(config-cflags-avx) = yes]
53699         (CFLAGS-tst-auditmod4a.c): Likewise.
53700         [$(subdir) = elf && $(config-cflags-avx) = yes]
53701         (CFLAGS-tst-auditmod4b.c): Likewise.
53702         [$(subdir) = elf && $(config-cflags-avx) = yes]
53703         (CFLAGS-tst-auditmod6b.c): Likewise.
53704         [$(subdir) = elf && $(config-cflags-avx) = yes]
53705         (CFLAGS-tst-auditmod6c.c): Likewise.
53706         [$(subdir) = elf && $(config-cflags-avx) = yes]
53707         (CFLAGS-tst-auditmod7b.c): Likewise.
53708         * elf/tst-audit3.c: Move to ...
53709         * sysdeps/x86_64/tst-audit3.c: ... here.
53710         * elf/tst-audit4.c: Move to ...
53711         * sysdeps/x86_64/tst-audit4.c: ... here.
53712         * elf/tst-audit5.c: Move to ...
53713         * sysdeps/x86_64/tst-audit5.c: ... here.
53714         * elf/tst-audit6.c: Move to ...
53715         * sysdeps/x86_64/tst-audit6.c: ... here.
53716         * elf/tst-audit7.c: Move to ...
53717         * sysdeps/x86_64/tst-audit7.c: ... here.
53718         * elf/tst-auditmod3a.c: Move to ...
53719         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
53720         * elf/tst-auditmod3b.c: Move to ...
53721         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
53722         * elf/tst-auditmod4a.c: Move to ...
53723         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
53724         * elf/tst-auditmod4b.c: Move to ...
53725         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
53726         * elf/tst-auditmod5a.c: Move to ...
53727         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
53728         * elf/tst-auditmod5b.c: Move to ...
53729         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
53730         * elf/tst-auditmod6a.c: Move to ...
53731         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
53732         * elf/tst-auditmod6b.c: Move to ...
53733         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
53734         * elf/tst-auditmod6c.c: Move to ...
53735         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
53736         * elf/tst-auditmod7a.c: Move to ...
53737         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
53738         * elf/tst-auditmod7b.c: Move to ...
53739         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
53741 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
53743         [BZ #15366]
53744         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
53745         define unconditionally.
53746         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
53747         define unconditionally.
53748         (INT8_C, INT16_C, etc.): Likewise.
53750 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
53752         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
53753         __ehdr_start with hidden visibility.
53755         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
53757 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
53759         * math/libm-test.inc (cos_test): Use accurate hex constants.
53760         (sincost_test): Likewise.
53762 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
53764         * math/libm-test.inc (catan_test): Add more tests.
53765         (catanh_test): Likewise.
53767         * math/s_catanf.c (__catanf): Use suffixed floating-point
53768         constants.
53769         * math/s_catanhf.c (__catanhf): Likewise.
53770         * math/s_catanhl.c (__catanhl): Likewise.
53771         * math/s_catanl.c (__catanl): Likewise.
53773         [BZ #15394]
53774         * math/s_catan.c (__catan): Calculate imaginary part of result
53775         with log1p not log unless computing log of number close to 0.
53776         * math/s_catanf.c (__catanf): Likewise.
53777         * math/s_catanl.c (__catanl): Likewise.
53778         * math/s_catanh.c (__catanh): Calculate real part of result with
53779         log1p not log unless computing log of number close to 0.
53780         * math/s_catanhf.c (__catanhf): Likewise.
53781         * math/s_catanhl.c (__catanhl): Likewise.
53782         * math/libm-test.inc (catan_test): Add more tests.
53783         (catanh_test): Likewise.
53784         * sysdeps/i386/fpu/libm-test-ulps: Update.
53785         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53787 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
53789         * benchtests/Makefile: Mention files in which fast and slow
53790         paths of math functions are implemented.
53792 2013-04-23  Roland McGrath  <roland@hack.frob.com>
53794         * sysdeps/posix/timespec_get.c: New file.
53796 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53798         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
53799         POWER.
53800         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
53801         for POWER.
53802         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
53803         powerpc/power5/fpu folders.
53804         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
53805         * benchtests/Makefile: Add modf testcase.
53806         * benchtests/bench-modf.c: New file: Benchmark test for mo
53808 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
53810         [BZ #14888]
53811         * time/Makefile (tests): Add tst-strptime-whitespace.
53812         * time/strptime_l.c (get_number): Use ISSPACE.
53813         (__strptime_internal): Likewise.
53814         * time/tst-strptime-whitespace.c: New test case.
53816 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
53818         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
53819         member.
53820         (_nss_files_init): Set it here.
53822 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
53824         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
53825         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
53826         unsigned.
53828 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
53830         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
53832 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
53834         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
53835         size just once.
53837 2013-04-21  David S. Miller  <davem@davemloft.net>
53839         * po/ru.po: Update Russion translation from translation project.
53841 2013-04-17  Adam Conrad  <adconrad@0c3.net>
53843         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
53844         and setfsgid.
53846 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
53848         * configure.in: Remove i386 configure warning. Remove i386 case.
53849         * configure: Regenerate.
53850         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
53851         Add example to error message.
53852         * sysdeps/i386/configure: Regenerate.
53854 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
53856         * benchtests/Makefile (bench): Add cos, tan, slowcos and
53857         slowtan.
53858         * benchtests/cos-inputs: New file.
53859         * benchtests/slowcos-inputs: New file.
53860         * benchtests/slowcos.c: New file.
53861         * benchtests/slowtan-inputs: New file.
53862         * benchtests/slowtan.c: New file.
53863         * benchtests/tan-inputs: New file.
53865 2013-04-16  Roland McGrath  <roland@hack.frob.com>
53867         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
53868         considered kosher.
53870 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
53872         * benchtests/Makefile: Include cppflags-iterator.mk to add
53873         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
53875         * Makefile.in (bench-clean): New target.
53876         * benchtests/Makefile (bench-clean): Likewise.
53878 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
53880         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
53882 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
53884         * stdio-common/tstdiomisc.c: Fix coding-style violation.
53886 2013-04-15  Andreas Schwab  <schwab@suse.de>
53888         * nscd/grpcache.c (cache_addgr): Properly check for short write.
53889         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53890         * nscd/pwdcache.c (cache_addpw): Likewise.
53891         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
53892         more than recsize.
53894 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53896         * benchtests/Makefile (bench): Write all output to
53897         bench-out.tmp together.
53899 2013-04-15  Andreas Schwab  <schwab@suse.de>
53901         * nscd/nscd.c (main): Don't fork again after closing files.
53903 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
53905         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
53907         * benchtests/Rules (bench-deps): Collect dependencies into a
53908         single variable.  Add Makefile to dependencies.
53909         ($(objpfx)bench-%.c): Depend on bench-deps.
53911 2013-04-12  Roland McGrath  <roland@hack.frob.com>
53912             Xavier Roche  <roche+kml2@exalead.com>
53914         [BZ #15361]
53915         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
53916         just that it's a file descriptor.
53917         * manual/llio.texi (Synchronizing AIO Operations): Update description
53918         for EBADF error from aio_fsync.
53920 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
53922         * Rules (bench): Move target definition...
53923         * benchtests/Makefile: ... here.
53925 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
53927         * math/libm-test.inc (cos_test): Fix PI/2 test.
53928         (sincos_test): Likewise.
53929         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53930         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
53932 2013-04-11  Andreas Schwab  <schwab@suse.de>
53934         [BZ #13988]
53935         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
53936         accept exponent character only when digits were seen.
53937         * stdio-common/Makefile (tests): Add bug26.
53938         * stdio-common/bug26.c: New file.
53940         [BZ #14293]
53941         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
53942         non-freeable.
53944 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
53946         * Makeconfig (rtld-prefix): Define built linker prefix.
53947         * Rules (run-bench): Use it.
53948         * math/Makefile (run-regen-ulps): Likewise.
53950         * Rules (bench): Remove eval.
53952 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
53953             Roland McGrath  <roland@hack.frob.com>
53954             Ondrej Bilka  <neleai@seznam.cz>
53956         [BZ #15346]
53957         * time/getdate.c: Include ctype.h and alloca.h.
53958         (__getdate_r): Trim leading and trailing spaces of input.
53959         * time/tst-getdate.c (tests): Add tests with leading and
53960         trailing spaces.
53962 2013-04-08  Roland McGrath  <roland@hack.frob.com>
53964         [BZ #14280]
53965         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
53966         when computing value.
53968 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53970         * math/README.libm-test (How can I generate "libm-test-ulps"?):
53971         Use testrun.sh to run libm tests.
53973         [BZ #15309]
53974         * elf/dl-open.c (dl_open_worker): memset all of seen array.
53976 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
53978         [BZ #15264]
53979         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
53981 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53983         * Makefile.in (regen-ulps): New target.
53984         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
53985         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
53986         [ifneq (no,$(PERL)] (regen-ulps): New target.
53987         [ifeq (no,$(PERL)] (regen-ulps): New target.
53988         * math/libm-test.inc (ulps_file_name): Define.
53989         (output_dir): New variable.
53990         (options): Add "output-dir" option.
53991         (parse_opt): Handle 'o' case.
53992         (main): If output_dir is non-NULL use it as a prefix
53993         otherwise use "".
53994         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
53996 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
53998         [BZ #10060, #10062]
53999         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
54000         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
54001         fail configure if __sync_val_compare_and_swap is not inlined.
54002         * sysdeps/i386/configure: Regenerate.
54003         * configure.in: Build for i686 when configured for i386.
54004         * configure: Regenerate.
54005         * README: Remove i386 reference.
54007 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
54009         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
54010         * sysdeps/s390/s390-64/sysdep.h: Likewise.
54012 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
54014         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
54015         (lmsnanval): New variables.
54016         (F): Add conversion tests.
54017         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
54018         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
54020         * stdio-common/tstdiomisc.c (F): Properly collect individual
54021         tests' results.
54023         [BZ #14686, #15336]
54024         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
54025         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
54026         Instead, use input NaN values or generate a qNaN by arithmetic
54027         operation.  Also fix bugs to comply with the standard.
54028         * math/libm-test.inc (remainder_test): Add more tests.
54030         [BZ #15335, #15342]
54031         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
54032         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
54033         input NaN values or generate a qNaN by arithmetic operation.
54035         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
54036         unreachable code.
54038         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
54039         definitions.
54041 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
54043         [BZ #14478]
54044         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
54045         underflowed result.
54046         * math/s_cexpf.c (__cexpf): Likewise.
54047         * math/s_cexpl.c (__cexpl): Likewise.
54048         * math/libm-test.inc (cexp_test): Add more tests.
54050 2013-04-03  Andreas Schwab  <schwab@suse.de>
54052         [BZ #15330]
54053         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
54054         order arrays from heap if bigger than alloca cutoff.
54056 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
54058         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
54059         (SNAN_TESTS_double): Refer to GCC PR56831.
54060         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
54061         GCC PR56828.
54063 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
54065         * Rules (bench): Move bench.out after the run is complete.
54067         * Rules (bench): Echo currently running benchmark.
54069         * benchtests/Makefile (bench): Add atan and slowatan.
54070         * benchtests/atan-inputs: New file.
54071         * benchtests/slowatan-inputs: New file.
54072         * benchtests/slowatan.c: New file.
54074         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
54075         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
54076         its value.
54078         [BZ #15305]
54079         * sysdeps/unix/sysv/linux/kernel-features.h
54080         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
54081         __ASSUME_XFS_RESTRICTED_CHOWN.
54082         * sysdeps/unix/sysv/linux/pathconf.c
54083         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
54084         Save and restore errno.
54086 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
54088         [BZ #15327]
54089         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
54090         arguments using __kernel_casinh.
54091         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
54092         arguments using __kernel_casinhf.
54093         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
54094         arguments using __kernel_casinhl.
54095         * math/libm-test.inc (cacosh_test): Add more tests.
54096         * sysdeps/i386/fpu/libm-test-ulps: Update.
54097         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54099 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
54101         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
54102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
54104         * bench/Makefile (bench): Add sin and slowsin.
54105         * benchtests/sin-inputs: New file.
54106         * benchtests/slowsin-inputs: New file.
54107         * benchtests/slowsin.c: New file.
54109         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
54110         (bench): Add slowexp and slowpow.
54111         (exp-ITER): Increase iterations.
54112         (pow-ITER): Likewise.
54113         * benchtests/exp-inputs: Change input.
54114         * benchtests/pow-inputs: Likewise.
54115         * benchtests/slowexp-inputs: New file.
54116         * benchtests/slowexp.c: New file.
54117         * benchtests/slowpow-inputs: New file.
54118         * benchtests/slowpow.c: New file.
54120 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54122         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
54123         instructions.
54124         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
54125         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
54126         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
54127         * benchtests/Makefile: Add rint benchtest.
54128         * benchtests/rint-inputs: Input for rint benchtest.
54130 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
54132         * Versions.def (libm): Add GLIBC_2.18.
54133         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
54134         hidden libm prototypes.
54135         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
54136         * math/Makefile (libm-calls): Add s_issignaling.
54137         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
54138         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
54139         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
54140         declaration.
54141         * math/math.h [__USE_GNU] (issignaling): New macro.
54142         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
54143         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
54144         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
54145         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
54146         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
54147         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
54148         * manual/arith.texi (issignaling): New section.
54149         * manual/libm-err-tab.pl (@all_functions): Update comment.
54150         * math/gen-libm-test.pl (parse_args): Apply special handling for
54151         issignaling.
54152         * math/libm-test.inc (print_float, issignaling_test): New
54153         functions.
54154         (check_float_internal): Add issignaling checks.
54155         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
54156         default definition.
54157         * sysdeps/powerpc/math-tests.h: New file.
54158         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
54159         tests.
54160         * math/test-snan.c (TEST_FUNC): Likewise.
54162 2013-03-30  David S. Miller  <davem@davemloft.net>
54164         * po/de.po: Update from translation team.
54166 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
54168         [BZ #10357]
54169         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54170         imaginary part less than 1.0 and real part less than 0.5
54171         specially.
54172         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54173         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54174         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
54175         (cacos_test): Add more tests.
54176         (casin_test): Likewise.
54177         (casinh_test): Likewise.
54178         * sysdeps/i386/fpu/libm-test-ulps: Update.
54179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54181 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
54183         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
54184         ONE with its value.
54186         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
54187         (__pow_mp): Replace ONE and MONE with their values.
54188         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54189         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
54190         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54191         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
54192         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54193         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54195         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
54197         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
54198         (__pow_mp): Replace ZERO and MZERO with their values.
54199         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54200         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54201         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
54202         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
54203         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54204         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
54205         (__sqr): Likewise.
54207         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
54209         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
54211 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54213         * include/stdlib.h [!SHARED] (__call_tls_dtors):
54214         Declare with __attribute__ ((weak)).
54215         * stdlib/exit.c (__libc_atexit) [!SHARED]:
54216         Call __call_tls_dtors only if it's not NULL.
54218 2013-03-28  Roland McGrath  <roland@hack.frob.com>
54220         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
54221         didn't do it already, then set _dl_phdr and _dl_phnum based on the
54222         magic __ehdr_start linker symbol if it's defined.
54223         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
54224         them up here if it was already done.
54226         * elf/dl-support.c (_dl_phdr): Make pointer to const.
54227         (_dl_aux_init): Use const in cast when setting it.
54228         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
54229         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
54230         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
54232         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
54233         Declare them here.
54234         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
54235         * csu/libc-tls.c: Nor here.
54236         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
54238         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
54239         (__libc_message): Never call vsyslog.
54241 2013-03-28  Alan Modra  <amodra@gmail.com>
54243         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
54244         Define as empty.
54245         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
54246         Likewise.
54248 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54250         [BZ #15214]
54251         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
54252         underflow.
54253         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54255 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
54257         [BZ #15304]
54258         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54259         Don't add gid passed as argument.
54261         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
54263 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
54265         [BZ #15307]
54266         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54267         imaginary part between 1.0 and 1.5 and real part less than 0.5
54268         specially.
54269         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54270         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54271         * math/libm-test.inc (cacos_test): Add more tests.
54272         (casin_test): Likewise.
54273         (casinh_test): Likewise.
54274         * sysdeps/i386/fpu/libm-test-ulps: Update.
54275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54277 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
54279         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
54280         constants.
54281         (norm): Likewise.
54282         (denorm): Likewise.
54283         (__dbl_mp): Likewise.
54284         (add_magnitudes): Likewise.
54285         (sub_magnitudes): Likewise.
54286         (__add): Likewise.
54287         (__sub): Likewise.
54288         (__mul): Likewise.
54289         (__sqr): Likewise.
54290         (__inv): Likewise.
54291         (__dvd): Likewise.
54293         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
54294         commented code.
54295         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
54296         (__dubcos): Likewise.
54297         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
54298         (__ieee754_acos): Likewise.
54299         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
54300         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
54301         (__exp1): Likewise.
54302         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54303         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
54304         (log1): Likewise.
54305         (my_log2): Likewise.
54306         (checkint): Likewise.
54307         * sysdeps/ieee754/dbl-64/e_remainder.c
54308         (__ieee754_remainder): Likewise.
54309         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
54310         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
54311         (bsloww): Likewise.
54312         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
54314         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54315         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
54316         MANTISSA_STORE_T to store computations on mantissa.  Use
54317         macros for rounding and division.
54318         (denorm): Likewise.
54319         (__dbl_mp): Likewise.
54320         (add_magnitudes): Likewise.
54321         (sub_magnitudes): Likewise.
54322         (__mul): Likewise.
54323         (__sqr): Likewise.
54324         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54325         powers of two in terms of TWOPOW macro.
54326         (mp_no): Make type of mantissa as MANTISSA_T.
54327         [!RADIXI]: Define RADIXI.
54328         [!TWO52]: Define TWO52.
54329         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54331 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54333         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
54334         llroundl symbol when building for PPC32.
54336 2013-03-24  Mark H Weaver  <mhw@netris.org>
54338         * manual/arith.texi (Normalization Functions): Fix prototypes for
54339         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
54341 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54343         [BZ #13889]
54344         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
54345         high value to check if expl overflow.
54346         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
54347         to check for underflow and overflow.
54348         * math/libm-test.inc: Add exp test.
54350 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
54352         [BZ #11120]
54353         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
54354         with NOT_IN_libc.
54356 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54358         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
54359         symbol.
54361 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
54363         * math/gen-libm-test.pl (parse_args, special_functions): Properly
54364         wrap blocks consisting of several statements.
54366         * sysdeps/generic/math-tests.h: New file.
54367         * sysdeps/i386/fpu/math-tests.h: Likewise.
54368         * math/test-snan.c: Include it.
54369         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
54371 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54373         [BZ #15285]
54374         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
54375         (__ieee754_j0l): Do not improve calculations using cos of twice
54376         input for inputs above LDBL_MAX / 2.0L.
54377         (__ieee754_y0l): Likewise.
54378         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
54379         (__ieee754_j1l): Do not improve calculations using cos of twice
54380         input for inputs above LDBL_MAX / 2.0L.
54381         (__ieee754_y1l): Likewise.
54382         * math/libm-test.inc (j0_test): Add another test.
54383         (j1_test): Likewise.
54384         (y0_test): Likewise.
54385         (y1_test): Likewise.
54386         * sysdeps/i386/fpu/libm-test-ulps: Update.
54388 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54390         * Rules ($(objpfx)bench-%.c): Include code from a C source
54391         file.
54393 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
54395         [BZ #15287]
54396         * math/k_casinh.c (__kernel_casinh): Handle arguments with
54397         imaginary part 1.0 and real part less than 0.5 specially.
54398         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54399         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54400         * math/libm-test.inc (cacos_test): Add more tests.
54401         (casin_test): Likewise.
54402         (casinh_test): Likewise.
54403         * sysdeps/i386/fpu/libm-test-ulps: Update.
54404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54406 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
54408         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
54409         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
54411 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
54413         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
54414         * config.make.in (config-cflags-sse4): Remove variable.
54415         (config-cflags-avx): Likewise.
54416         (config-cflags-sse2avx): Likewise.
54417         (config-cflags-novzeroupper): Likewise.
54418         (config-asflags-i686): Likewise.
54419         (have-mfma4): Likewise.
54420         (have-as-vis3): Likewise.
54421         (MIG): Likewise.
54422         * configure.in (MIG): Do not AC_SUBST.
54423         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
54424         (libc_cv_cc_sse4): Do not AC_SUBST.
54425         (libc_cv_cc_avx): Likewise.
54426         (libc_cv_cc_sse2avx): Likewise.
54427         (libc_cv_cc_novzeroupper): Likewise.
54428         (libc_cv_cc_fma4): Likewise.
54429         (libc_cv_as_i686): Likewise.
54430         (libc_cv_sparc_as_vis3): Likewise.
54431         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
54432         LIBC_CONFIG_VAR.
54433         (config-asflags-i686): Likewise.
54434         (config-cflags-avx): Likewise.
54435         (config-cflags-sse2avx): Likewise.
54436         (have-mfma4): Likewise.
54437         (config-cflags-novzeroupper): Likewise.
54438         * sysdeps/mach/configure.in (MIG): Likewise.
54439         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
54440         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
54441         LIBC_CONFIG_VAR.
54442         (config-cflags-avx): Likewise.
54443         (config-cflags-sse2avx): Likewise.
54444         (have-mfma4): Likewise.
54445         (config-cflags-novzeroupper): Likewise.
54446         * configure: Regenerated.
54447         * sysdeps/i386/configure: Likewise.
54448         * sysdeps/mach/configure: Likewise.
54449         * sysdeps/sparc/configure: Likewise.
54450         * sysdeps/x86_64/configure: Likewise.
54452 2013-03-20  Roland McGrath  <roland@hack.frob.com>
54454         [BZ #14812]
54455         * locale/programs/localedef.c (options): Put N_ translation marker
54456         on argument names, not just descriptions.
54458 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
54460         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
54462 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
54464         [BZ #14176]
54465         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
54467 2013-03-19  Roland McGrath  <roland@hack.frob.com>
54469         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
54470         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
54471         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
54472         [!BEFORE_ABORT] (before_abort): New function.
54473         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
54474         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
54475         (writev_for_fatal): New function.
54476         (WRITEV_FOR_FATAL): New macro; call that.
54477         (backtrace_and_maps): New function.
54478         (BEFORE_ABORT): New macro; call that.
54479         (struct str_list): Type removed.
54480         (__libc_message, __libc_fatal): Functions removed.
54481         Include <sysdeps/posix/libc_fatal.c> instead.
54483 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
54485         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
54486         constants.
54487         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
54488         double constants.
54490 2013-03-19  Andreas Schwab  <schwab@suse.de>
54492         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
54493         * sysdeps/gnu/configure: Regenerate.
54495         * configure.in: Substitute libc_cv_rtlddir.
54496         * configure: Regenerate.
54497         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
54498         * Makeconfig (rtlddir, inst_rtlddir): New variables.
54499         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
54500         * elf/Makefile (install-others, CFLAGS-interp.c)
54501         (ldso_install, common-ldd-rewrite): Likewise.
54502         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
54503         $(inst_slibdir)/$(rtld-installed-name).
54504         * scripts/rellns-sh: Add -p option.
54505         * Makerules (make-shlib-link): Use rellns-sh to get relative name
54506         for source.
54508 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
54510         * manual/nptl.texi: Renamed to ...
54511         * manual/threads.texi: ... this.
54512         * manual/Makefile (chapters): Update.
54514 2013-03-18  Roland McGrath  <roland@hack.frob.com>
54516         [BZ #14812]
54517         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
54518         on argument names, not just descriptions.
54519         * malloc/memusagestat.c (options): Likewise.
54520         * nss/getent.c (options): Likewise.
54522 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
54524         [BZ #14812]
54525         * iconv/iconv_prog.c (options): Put N_ translation marker
54526         on argument names, not just descriptions.
54527         * iconv/iconvconfig.c (options): Likewise.
54529 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
54531         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
54532         implementation which is faster on all x86_64 architectures.
54533         Tested on AMD, Intel Nehalem, SNB, IVB.
54534         * sysdeps/x86_64/strnlen.S: Likewise.
54536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
54537         Remove all multiarch strlen and strnlen versions.
54538         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
54539         Remove strlen and strnlen related parts.
54541         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
54542         Inline strlen part.
54543         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
54545         * sysdeps/x86_64/multiarch/strlen.S: Remove.
54546         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
54547         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
54548         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
54549         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
54550         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
54552 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
54554         * manual/memory.texi (Malloc Tunable Parameters):
54555         Sort parameters alphabetically. Add comments for missing entries.
54557 2013-03-17  David S. Miller  <davem@davemloft.net>
54559         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54561 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
54563         [BZ #15283]
54564         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
54565         for arguments at most half maximum finite value.
54566         * math/libm-test.inc (j0_test): Add more tests.
54567         (j1_test): Likewise.
54568         (y0_test): Likewise.
54569         (y1_test): Likewise.
54570         * sysdeps/i386/fpu/libm-test-ulps: Update.
54571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54573         [BZ #14155]
54574         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
54575         1 / x and functions P and Q for arguments above 0x1p256L.
54576         (__ieee754_y0l): Likewise.
54577         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
54578         (__ieee754_y1l): Likewise.
54579         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
54580         (j1_test): Likewise.
54581         (y0_test): Likewise.
54582         (y1_test): Likewise.
54584 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
54586         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
54587         variable.
54589 2013-03-15  Roland McGrath  <roland@hack.frob.com>
54591         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
54592         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
54593         zero since it's initialized to EXEC_PAGESIZE.
54595         * sysdeps/unix/sysv/linux/ldsodefs.h
54596         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
54597         * sysdeps/generic/ldsodefs.h: ... here.
54599 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
54601         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
54603         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
54604         math/test-snan.c.
54605         * math/test-snan.c: Renamed from
54606         sysdeps/powerpc/fpu/test-powerpc-snan.c.
54607         * math/Makefile (tests): Add test-snan.
54608         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
54609         test-powerpc-snan.
54611         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
54612         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
54613         functions.
54614         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
54615         __builtin_nan family of functions.
54616         * math/libm-test.inc (initialize): Initialize qnan_value with
54617         __builtin_nan family of functions.
54618         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
54619         Remove variables.
54620         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
54621         Remove functions.
54622         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
54623         storage class.  Initialize qNaN_var and sNaN_var with
54624         __builtin_nan and __builtin_nans families of functions,
54625         respectively.
54627         * math/libm-test.inc (acosh_test): Also test with qNaN input.
54628         (sqrt_test): Remove duplicate test with qNaN input.
54629         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
54630         (round_test, signbit_test, significand_test): Note missing +/-Inf
54631         as well as qNaN tests.
54633         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
54634         qNaN_var.  Fix a few strings, too.
54635         * math/libm-test.inc (nan_value): Rename to qnan_value.
54636         * math/gen-libm-test.pl (%beautify): Adjust to that.
54637         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
54638         * math/test-misc.c (main): Likewise.
54639         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
54640         to __qnan_bytes, and __qnan_union, respectively.
54641         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
54642         Likewise.
54643         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
54644         and lqnanval, respectively.
54645         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
54646         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
54647         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
54648         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
54650         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
54651         * math/test-misc.c (main) [__x86_64__]: Enable test for long
54652         doubles.
54654         * math/test-misc.c (main): Fix copy'n'pastos.
54655         * misc/tst-efgcvt.c (special): Likewise.
54657         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
54658         Remove declarations.
54660 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54662         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
54663         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
54664         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
54665         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
54667 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54669         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
54670         macro to return vdso values correctly in IFUNC implementations.
54671         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
54672         Optimization by using IFUNC.
54674 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54675             Richard Henderson  <rth@redhat.com>
54676             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
54678         * Makefile.in (bench): New target.
54679         * NEWS: Mention the benchmark framework.
54680         * Rules (bench): Likewise.
54681         (binaries-bench): Generate binaries for functions to
54682         benchmark.
54683         * benchtests/Makefile: New makefile for benchmark tests.
54684         * benchtests/bench-skeleton.c: New skeleton file for benchmark
54685         programs.
54686         * benchtests/exp-inputs: New input file for EXP function.
54687         * benchtests/pow-inputs: New input file for POW function.
54688         * scripts/bench.pl: New script to generate source files for
54689         benchmark programs.
54691 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54693         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
54694         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
54695         computations on mantissa.  Use macros for rounding and
54696         division.
54697         (denorm): Likewise.
54698         (__dbl_mp): Likewise.
54699         (add_magnitudes): Likewise.
54700         (sub_magnitudes): Likewise.
54701         (__mul): Likewise.
54702         (__sqr): Likewise.
54703         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
54704         powers of two in terms of TWOPOW macro.
54705         (mp_no): Make type of mantissa as MANTISSA_T.
54706         [!RADIXI]: Define RADIXI.
54707         [!TWO52]: Define TWO52.
54708         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
54710         * manual/nptl.texi (cindex): Modify threads to pthreads.
54712 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
54714         * sysdeps/x86_64/preconfigure: Regenerated.
54716 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
54718         [BZ #14155]
54719         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
54720         0x1p28 and above.
54721         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
54722         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
54723         0x1p28 and above.
54724         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
54725         * math/libm-test.inc (j0_test): Do not allow one spurious
54726         underflow exception.
54727         (y1_test): Likewise.
54729 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54731         * manual/Makefile (chapters): Add nptl.
54732         * manual/debug.texi (Debugging Support): Add link to Threads
54733         chapter.
54734         * manual/nptl.texi: New file.
54736         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
54738 2013-03-14  Petr Baudis  <pasky@ucw.cz>
54740         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
54741         for non-NULL pointer before the memory validity test. Pointed
54742         out by Holger Brunck <holger.brunck@keymile.com>.
54744 2013-03-13  Andreas Schwab  <schwab@suse.de>
54746         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
54747         instead of .os.
54749 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
54751         * timezone/zic.c: Update from tzcode 2013b.
54753 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
54755         * manual/install.texi (Configuring and compiling):
54756         Mention i686 and i586.
54757         * INSTALL: Regenerate.
54759 2013-03-12  Roland McGrath  <roland@hack.frob.com>
54761         * sysdeps/init_array/elf-init.c: New file.
54762         * csu/elf-init.c
54763         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
54764         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
54766         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
54767         __gmon_start__ as global, but as static with a .preinit_array pointer.
54768         * sysdeps/init_array/gmon-start.c: New file.  Use that.
54769         * sysdeps/init_array/crti.S: New file, empty except for comments.
54770         * sysdeps/init_array/crtn.S: Likewise.
54772 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
54774         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
54775         definining bcopy.
54776         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54777         Remove Prefer_SSE_for_memop.
54778         * sysdeps/x86_64/multiarch/init-arch.h: Remove
54779         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
54780         HAS_PREFER_SSE_FOR_MEMOP.
54781         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
54782         memset-x86-64.
54783         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
54784         Remove bzero, memset ifunc support.
54785         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
54786         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
54787         * sysdeps/x86_64/multiarch/memset.S: Likewise.
54788         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
54790 2013-03-11  Andreas Schwab  <schwab@suse.de>
54792         [BZ #15234]
54793         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
54794         by SHLIB_COMPAT.
54795         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
54796         (GLIBC_2.16): Remove pthread_atfork.
54798 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
54800         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
54801         (ptestcases.h): Likewise.
54803 2013-03-08  Roland McGrath  <roland@hack.frob.com>
54805         * Makeconfig ($(common-objpfx)config.status): Depend on
54806         sysdeps/*/preconfigure{,.in} too.
54808 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
54810         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
54811         (__free_hook): Use void * instead of __malloc_ptr_t.
54812         (__malloc_hook): Likewise.
54813         (__realloc_hook): Likewise.
54814         (__memalign_hook): Likewise.
54815         (__after_morecore_hook): Likewise.
54816         * malloc/arena.c (save_malloc_hook): Likewise.
54817         (save_free_hook): Likewise.
54818         * malloc/hooks.c (malloc_hook_ini): Likewise.
54819         (realloc_hook_ini): Likewise.
54820         (memalign_hook_ini): Likewise.
54821         * malloc/malloc.c (malloc_hook_ini): Likewise.
54822         (realloc_hook_ini): Likewise.
54823         (memalign_hook_ini): Likewise.
54824         (__free_hook): Likewise.
54825         (__malloc_hook): Likewise.
54826         (__realloc_hook): Likewise.
54827         (__memalign_hook): Likewise.
54828         (__libc_malloc): Likewise.
54829         (__libc_free): Likewise.
54830         (__libc_realloc): Likewise.
54831         (__libc_memalign): Likewise.
54832         (__libc_valloc): Likewise.
54833         (__libc_pvalloc): Likewise.
54834         (__libc_calloc): Likewise.
54835         (__posix_memalign): Likewise.
54836         * malloc/morecore.c (__sbrk): Likewise.
54837         (__default_morecore): Likewise.
54839         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
54841         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
54842         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
54843         __malloc_ptrdiff_t.
54845         * malloc/malloc.h (__malloc_size_t): Remove macro.
54846         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
54847         __malloc_size_t.
54848         (old_memalign_hook): Likewise.
54849         (old_realloc_hook): Likewise.
54850         (struct hdr): Likewise.
54851         (flood): Likewise.
54852         (mallochook): Likewise.
54853         (memalignhook): Likewise.
54854         (reallochook): Likewise.
54855         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
54856         (tr_old_realloc_hook): Likewise.
54857         (tr_old_memalign_hook): Likewise.
54858         (tr_mallochook): Likewise.
54859         (tr_reallochook): Likewise.
54860         (tr_memalignhook): Likewise.
54862 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54864         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
54865         default_ldbl_pack and using as default implementation.
54866         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
54867         implementation.
54868         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
54869         redundant definition.
54870         (ldbl_insert_mantissa): Likewise.
54871         (ldbl_canonicalize): Likewise.
54872         (ldbl_nearbyint): Likewise.
54873         (ldbl_pack): Rename to ldbl_pack_ppc.
54874         (ldbl_unpack): Rename to ldbl_unpack_ppc.
54875         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
54876         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
54878 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
54880         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
54881         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
54882         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
54883         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
54884         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
54885         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
54886         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
54887         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
54889 2013-03-07  Andreas Jaeger  <aj@suse.de>
54891         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54892         bits/mman-linux.h.
54894 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
54896         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
54897         Include mpa.h and declare __MPEXP.
54898         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
54899         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54900         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54901         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
54902         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54903         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
54904         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
54906         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
54907         (__slowpow): Use long double EXPL and LOGL functions to
54908         compute POW.
54909         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
54910         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54911         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
54912         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
54913         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
54914         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
54916         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
54917         intermediate variable to calculate exponent.
54918         (__sqr): Likewise.
54919         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
54920         Likewise.
54921         (__sqr): Likewise.
54923         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
54924         [!NO__SQR]: Define __sqr.
54925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
54926         and NO__SQR.  Remove all code except __mul and __sqr.  Include
54927         sysdeps/ieee754/dbl-64/mpa.c.
54928         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
54930         [BZ #12723]
54931         * posix/Makefile (tests): Add tst-pathconf.
54932         * posix/tst-pathconf.c: New test case.
54933         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
54934         _PC_PIPE_BUF.
54935         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
54937 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
54939         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
54941 2013-03-06  Andreas Jaeger  <aj@suse.de>
54943         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
54944         definition via __MAP_ANONYMOUS.
54946         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
54947         it's not part of Linux headers.
54949         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
54950         (MAP_HUGE_MASK): Define.
54952         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54953         Define.
54954         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54955         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54956         Define.
54957         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54958         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
54959         Define.
54960         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54961         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
54962         Define.
54963         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
54965         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
54966         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
54967         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
54968         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
54969         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
54970         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
54972         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
54973         Handle f2fs.
54975         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54976         Handle f2fs and efivarfs.
54978         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
54979         f2fs.
54981         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
54982         (EFIVARFS_MAGIC): Add.
54983         (F2FS_LINK_MAX): Add.
54985 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54987         * stdio-common/vfprintf.c: Replace __builtin_expect with
54988         __glibc_unlikely.
54990 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
54992         [BZ #13550]
54993         * sysdeps/generic/bp-sym.h: Remove file.
54994         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
54995         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
54996         <bp-sym.h> and <bp-asm.h>.
54997         (__longjmp): Don't use BP_SYM.
54998         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
54999         and <bp-asm.h>.
55000         (memcpy): Don't use BP_SYM.
55001         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
55002         <bp-sym.h> and <bp-asm.h>.
55003         (memcpy): Don't use BP_SYM.
55004         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
55005         <bp-asm.h>.
55006         (memcpy): Don't use BP_SYM.
55007         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
55008         <bp-asm.h>.
55009         (memset): Don't use BP_SYM.
55010         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55011         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55012         (__bzero): Don't use BP_SYM.
55013         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55014         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55015         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
55016         <bp-sym.h> and <bp-asm.h>.
55017         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55018         pointers.
55019         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
55020         <bp-sym.h> and <bp-asm.h>.
55021         (memcpy): Don't use BP_SYM.
55022         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
55023         <bp-sym.h> and <bp-asm.h>.
55024         (memset): Don't use BP_SYM.
55025         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55026         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55027         (__bzero): Don't use BP_SYM.
55028         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55029         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55030         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
55031         <bp-sym.h> and <bp-asm.h>.
55032         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55033         pointers.
55034         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
55035         <bp-sym.h> and <bp-asm.h>.
55036         (memcpy): Don't use BP_SYM.
55037         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
55038         <bp-sym.h> and <bp-asm.h>.
55039         (memset): Don't use BP_SYM.
55040         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55041         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55042         (__bzero): Don't use BP_SYM.
55043         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55044         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55045         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
55046         <bp-sym.h> and <bp-asm.h>.
55047         (__memchr): Don't use BP_SYM.
55048         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
55049         <bp-sym.h> and <bp-asm.h>.
55050         (memcmp): Don't use BP_SYM.  Remove comment about bounded
55051         pointers.
55052         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
55053         <bp-sym.h> and <bp-asm.h>.
55054         (memcpy): Don't use BP_SYM.
55055         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
55056         <bp-sym.h> and <bp-asm.h>.
55057         (__mempcpy): Don't use BP_SYM.
55058         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
55059         <bp-sym.h> and <bp-asm.h>.
55060         (__memrchr): Don't use BP_SYM.
55061         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
55062         <bp-sym.h> and <bp-asm.h>.
55063         (memset): Don't use BP_SYM.
55064         (__bzero): Likewise.
55065         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
55066         <bp-sym.h> and <bp-asm.h>.
55067         (__rawmemchr): Don't use BP_SYM.
55068         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
55069         <bp-sym.h> and <bp-asm.h>.
55070         (__STRCMP): Don't use BP_SYM.
55071         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
55072         <bp-sym.h> and <bp-asm.h>.
55073         (strchr): Don't use BP_SYM.
55074         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
55075         <bp-sym.h> and <bp-asm.h>.
55076         (__strchrnul): Don't use BP_SYM.
55077         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
55078         <bp-sym.h> and <bp-asm.h>.
55079         (strlen): Don't use BP_SYM.
55080         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
55081         <bp-sym.h> and <bp-asm.h>.
55082         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55083         pointers.
55084         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
55085         <bp-sym.h> and <bp-asm.h>.
55086         (__strnlen): Don't use BP_SYM.
55087         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
55088         <bp-sym.h> and <bp-asm.h>.
55089         (__GI__setjmp): Don't use BP_SYM.
55090         (_setjmp): Likewise.
55091         (__sigsetjmp): Likewise.
55092         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
55093         (L(start_addresses)): Don't use BP_SYM.
55094         (_start): Likewise.
55095         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
55096         <bp-asm.h>.
55097         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
55098         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
55099         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55100         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55101         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
55102         <bp-asm.h>.
55103         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
55104         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
55105         about bounded pointers.
55106         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55107         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55108         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
55109         <bp-asm.h>.
55110         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55111         about bounded pointers.  Remove GKM FIXME comments.
55112         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55113         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
55114         <bp-asm.h>.
55115         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
55116         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
55117         Remove GKM FIXME comments.
55118         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55119         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55120         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
55121         <bp-asm.h>.
55122         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
55123         about bounded pointers.  Remove GKM FIXME comment.
55124         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
55125         and <bp-asm.h>.
55126         (strncmp): Don't use BP_SYM.  Remove comment about bounded
55127         pointers.
55128         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
55129         <bp-sym.h> and <bp-asm.h>.
55130         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
55132         <bp-sym.h> and <bp-asm.h>.
55133         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55134         comment.
55136 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55138         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
55139         call free(NULL).
55141 2013-03-05  David S. Miller  <davem@davemloft.net>
55143         * po/es.po: Update from translation team.
55145 2013-03-05  Andreas Jaeger  <aj@suse.de>
55147         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
55148         <bits/mman-linux.h>.
55149         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55150         is fine.
55151         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
55152         <bits/mman-linux.h> to end of file.
55153         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55154         is fine.
55155         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
55156         <bits/mman-linux.h> to end of file.
55157         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
55158         is fine.
55159         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
55160         <bits/mman-linux.h> to end of file.
55162         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
55163         (MCL_CURRENT, MCL_FUTURE): Define here.
55165 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55167         [BZ #15232]
55168         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
55169         attribute_hidden.
55170         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
55172 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55174         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
55175         fourth parameter needed for rt_sigprocmask syscall.
55176         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
55177         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55178         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
55179         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55180         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55181         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
55183 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
55185         [BZ #13550]
55186         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
55187         comment about bounded pointers.
55188         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
55189         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
55191 2013-03-04  Andreas Jaeger  <aj@suse.de>
55193         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
55194         common definitions.
55196         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
55197         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
55198         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
55199         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55200         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55201         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55203 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55205         [BZ #15055]
55206         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
55207         __ieee754_sqrl instead of __sqrl.
55209 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
55211         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
55212         * sysdeps/powerpc/fpu_control.h: ... here.
55213         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
55214         * sysdeps/powerpc/bits/fenvinline.h: ... here.
55215         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
55216         * sysdeps/powerpc/bits/mathinline.h: ... here.
55218 2013-03-01  Roland McGrath  <roland@hack.frob.com>
55220         * elf/dl-hwcaps.c (_dl_important_hwcaps):
55221         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
55222         to just [NEED_DL_SYSINFO_DSO].
55223         * elf/dl-support.c: Likewise.
55224         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
55225         * elf/rtld.c (dl_main): Likewise.
55226         * elf/setup-vdso.h (setup_vdso): Likewise.
55227         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
55228         * sysdeps/unix/sysv/linux/dl-sysdep.c
55229         (_dl_discover_osversion): Likewise.
55231 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
55233         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
55234         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55236 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
55238         * NEWS: Mention libm performance improvements and non-x86 PI
55239         futex support.
55241         * csu/libc-start.c (__pthread_initialize_minimal): Change
55242         function arguments.
55243         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
55245 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
55247         [BZ #13550]
55248         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
55249         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
55250         <bp-sym.h> and <bp-asm.h>.
55251         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55252         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
55253         and <bp-asm.h>.
55254         (memcpy): Don't use BP_SYM.
55255         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
55256         <bp-asm.h>.
55257         (__mpn_add_n): Don't use BP_SYM.
55258         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
55259         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
55260         and <bp-asm.h>.
55261         (__mpn_addmul_1): Don't use BP_SYM.
55262         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55263         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
55264         <bp-sym.h>.
55265         (_setjmp): Don't use BP_SYM.
55266         (__novmx_setjmp): Likewise.
55267         (__GI__setjmp): Likewise.
55268         (__vmx_setjmp): Likewise.
55269         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
55270         <bp-sym.h>.
55271         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
55272         (__bzero): Don't use BP_SYM.
55273         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
55274         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
55275         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
55276         <bp-sym.h> and <bp-asm.h>.
55277         (memcpy): Don't use BP_SYM.
55278         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
55279         <bp-sym.h> and <bp-asm.h>.
55280         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55281         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
55282         <bp-sym.h> and <bp-asm.h>.
55283         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
55284         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
55285         <bp-asm.h>.
55286         (__mpn_lshift): Don't use BP_SYM.
55287         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55288         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
55289         <bp-asm.h>.
55290         (memset): Don't use BP_SYM.
55291         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
55292         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
55293         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
55294         <bp-asm.h>.
55295         (__mpn_mul_1): Don't use BP_SYM.
55296         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55297         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
55298         <bp-sym.h> and <bp-asm.h>.
55299         (memcmp): Don't use BP_SYM.
55300         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
55301         <bp-sym.h> and <bp-asm.h>.
55302         (memcpy): Don't use BP_SYM.
55303         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
55304         <bp-sym.h> and <bp-asm.h>.
55305         (memset): Don't use BP_SYM.
55306         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
55307         <bp-sym.h> and <bp-asm.h>.
55308         (strncmp): Don't use BP_SYM.
55309         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
55310         <bp-sym.h> and <bp-asm.h>.
55311         (memcpy): Don't use BP_SYM.
55312         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
55313         <bp-sym.h> and <bp-asm.h>.
55314         (memset): Don't use BP_SYM.
55315         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
55316         <bp-sym.h> and <bp-asm.h>.
55317         (__memchr): Don't use BP_SYM.
55318         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
55319         <bp-sym.h> and <bp-asm.h>.
55320         (memcmp): Don't use BP_SYM.
55321         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
55322         <bp-sym.h> and <bp-asm.h>.
55323         (memcpy): Don't use BP_SYM.
55324         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
55325         <bp-sym.h> and <bp-asm.h>.
55326         (__mempcpy): Don't use BP_SYM.
55327         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
55328         <bp-sym.h> and <bp-asm.h>.
55329         (__memrchr): Don't use BP_SYM.
55330         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
55331         <bp-sym.h> and <bp-asm.h>.
55332         (memset): Don't use BP_SYM.
55333         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
55334         <bp-sym.h> and <bp-asm.h>.
55335         (__rawmemchr): Don't use BP_SYM.
55336         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
55337         <bp-sym.h> and <bp-asm.h>.
55338         (__STRCMP): Don't use BP_SYM.
55339         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
55340         <bp-sym.h> and <bp-asm.h>.
55341         (strchr): Don't use BP_SYM.
55342         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
55343         <bp-sym.h> and <bp-asm.h>.
55344         (__strchrnul): Don't use BP_SYM.
55345         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
55346         <bp-sym.h> and <bp-asm.h>.
55347         (strlen): Don't use BP_SYM.
55348         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
55349         <bp-sym.h> and <bp-asm.h>.
55350         (strncmp): Don't use BP_SYM.
55351         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
55352         <bp-sym.h> and <bp-asm.h>.
55353         (__strnlen): Don't use BP_SYM.
55354         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
55355         <bp-asm.h>.
55356         (__mpn_rshift): Don't use BP_SYM.
55357         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55358         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
55359         <bp-sym.h> and <bp-asm.h>.
55360         (__sigsetjmp): Don't use BP_SYM.
55361         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
55362         (L(start_addresses)): Don't use BP_SYM.
55363         (_start): Likewise.
55364         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
55365         <bp-asm.h>.
55366         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
55367         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55368         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55369         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
55370         <bp-asm.h>.
55371         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
55372         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
55373         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
55374         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
55375         <bp-asm.h>.
55376         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55377         comments.
55378         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
55379         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
55380         <bp-asm.h>.
55381         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
55382         FIXME comments.
55383         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
55384         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
55385         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
55386         <bp-asm.h>.
55387         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
55388         comment.
55389         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
55390         and <bp-asm.h>.
55391         (strncmp): Don't use BP_SYM,
55392         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
55393         <bp-asm.h>.
55394         (__mpn_sub_n): Don't use BP_SYM.
55395         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55396         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
55397         and <bp-asm.h>.
55398         (__mpn_submul_1): Don't use BP_SYM.
55399         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
55401         <bp-sym.h> and <bp-asm.h>.
55402         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
55403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
55404         <bp-sym.h> and <bp-asm.h>.
55405         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
55406         comment.
55408 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
55410         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
55411         Use ZK to minimize writes to Z.
55412         (sub_magnitudes): Simplify code a bit.
55413         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
55414         Use ZK to minimize writes to Z.
55415         (sub_magnitudes): Simplify code a bit.
55417 2013-02-27  Roland McGrath  <roland@hack.frob.com>
55419         * csu/gmon-start.c: Add special exception to license text.
55421 2013-02-27  Richard Henderson  <rth@redhat.com>
55423         * scripts/config.guess: Update from config.git.
55424         * scripts/config.sub: Likewise.
55426 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55428         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
55430         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
55432         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
55434         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
55436         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
55438 2013-02-26  Roland McGrath  <roland@hack.frob.com>
55440         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
55441         [$(build-shared = yes].
55443 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55445         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
55446         (__mul): Reduce iterations for calculating mantissa.
55448         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
55449         MPTWO.
55450         (__mpranred): Likewise.
55452         [BZ #15160]
55453         * malloc/memusagestat.c (main): Draw graphs for heap and stack
55454         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
55456 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
55458         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
55459         Define __attribute__.
55461 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
55463         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
55464         unused.
55465         * posix/regex_internal.h (__attribute): Remove.
55466         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
55467         (re_string_context_at): Likewise.
55468         (bitset_not): Use __attribute__ and mark function as possibly
55469         unused.
55470         (bitset_merge): Likewise.
55471         (bitset_mask): Likewise.
55472         (re_string_char_size_at): Likewise.
55473         (re_string_wchar_at): Likewise.
55474         (re_string_elem_size_at): Likewise.
55476 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
55478         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
55479         code.
55480         (cc32): Likewise.
55482         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
55483         (__acr): Likewise.
55484         (__cpy): Likewise.
55485         (norm): Likewise.
55486         (denorm): Likewise.
55487         (__dbl_mp): Likewise.
55488         (add_magnitudes): Likewise.
55489         (sub_magnitudes): Likewise.
55490         (__mul): Likewise.
55491         (__inv): Likewise.
55493         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
55494         style.
55496         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
55497         style.
55499         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
55500         code.
55502         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
55503         up changes with default code.
55504         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
55505         Likewise.
55507 2013-02-24  Allan McRae  <allan@archlinux.org>
55509         * manual/socket.texi (The Internet Namespace): Order menu items
55510         to match that in the file.
55512         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
55513         node listing of the info page menu.
55515 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
55517         [BZ #13550]
55518         * sysdeps/i386/bp-asm.h: Remove file.
55519         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55520         (PARMS): Do not use macros from bp-asm.h.
55521         (S1): Likewise.
55522         (S2): Likewise.
55523         (SIZE): Likewise.
55524         (__mpn_add_n): Do not use BP_SYM
55525         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
55526         "bp-asm.h".
55527         (PARMS): Do not use macros from bp-asm.h.
55528         (S1): Likewise.
55529         (SIZE): Likewise.
55530         (__mpn_addmul_1): Do not use BP_SYM
55531         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
55532         "bp-asm.h".
55533         (PARMS): Do not use macros from bp-asm.h.
55534         (SIGMSK): Likewise.
55535         (_setjmp): Likewise.  Do not use BP_SYM.
55536         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
55537         "bp-asm.h".
55538         (PARMS): Do not use macros from bp-asm.h.
55539         (SIGMSK): Likewise.
55540         (setjmp): Likewise.  Do not use BP_SYM.
55541         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
55542         "bp-asm.h".
55543         (PARMS): Do not use macros from bp-asm.h.
55544         (__frexp): Do not use BP_SYM.
55545         (frexp): Likewise.
55546         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
55547         "bp-asm.h".
55548         (PARMS): Do not use macros from bp-asm.h.
55549         (__frexpf): Do not use BP_SYM.
55550         (frexpf): Likewise.
55551         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
55552         "bp-asm.h".
55553         (PARMS): Do not use macros from bp-asm.h.
55554         (__frexpl): Do not use BP_SYM.
55555         (frexpl): Likewise.
55556         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
55557         "bp-asm.h".
55558         (PARMS): Do not use macros from bp-asm.h.
55559         (__remquo): Do not use BP_SYM.
55560         (remquo): Likewise.
55561         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
55562         "bp-asm.h".
55563         (PARMS): Do not use macros from bp-asm.h.
55564         (__remquof): Do not use BP_SYM.
55565         (remquof): Likewise.
55566         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
55567         "bp-asm.h".
55568         (PARMS): Do not use macros from bp-asm.h.
55569         (__remquol): Do not use BP_SYM.
55570         (remquol): Likewise.
55571         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
55572         "bp-asm.h".
55573         (PARMS): Do not use macros from bp-asm.h.
55574         (DEST): Likewise.
55575         (SRC): Likewise.
55576         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
55577         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
55578         "bp-asm.h".
55579         (PARMS): Do not use macros from bp-asm.h.
55580         (strlen): Do not use BP_SYM.
55581         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
55582         "bp-asm.h".
55583         (PARMS): Do not use macros from bp-asm.h.
55584         (S1): Likewise.
55585         (S2): Likewise.
55586         (SIZE): Likewise.
55587         (__mpn_add_n): Do not use BP_SYM.
55588         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
55589         "bp-asm.h".
55590         (PARMS): Do not use macros from bp-asm.h.
55591         (S1): Likewise.
55592         (SIZE): Likewise.
55593         (__mpn_addmul_1): Do not use BP_SYM.
55594         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
55595         weak_alias.
55596         (bzero): Likewise.
55597         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
55598         "bp-asm.h".
55599         (PARMS): Do not use macros from bp-asm.h.
55600         (S): Likewise.
55601         (SIZE): Likewise.
55602         (__mpn_lshift): Do not use BP_SYM.
55603         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
55604         "bp-asm.h".
55605         (PARMS): Do not use macros from bp-asm.h.
55606         (DEST): Likewise.
55607         (SRC): Likewise.
55608         (LEN): Likewise.
55609         (memcpy): Likewise.  Do not use BP_SYM.
55610         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
55611         libc_hidden_def and weak_alias.
55612         (mempcpy): Do not use BP_SYM in weak_alias.
55613         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
55614         "bp-asm.h".
55615         (PARMS): Do not use macros from bp-asm.h.
55616         (DEST): Likewise.
55617         (LEN): Likewise.
55618         [!BZERO_P] (CHR): Likewise.
55619         (memset): Likewise.  Do not use BP_SYM.
55620         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
55621         "bp-asm.h".
55622         (PARMS): Do not use macros from bp-asm.h.
55623         (S1): Likewise.
55624         (SIZE): Likewise.
55625         (__mpn_mul_1): Do not use BP_SYM.
55626         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
55627         "bp-asm.h".
55628         (PARMS): Do not use macros from bp-asm.h.
55629         (S): Likewise.
55630         (SIZE): Likewise.
55631         (__mpn_rshift): Do not use BP_SYM.
55632         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
55633         "bp-asm.h".
55634         (PARMS): Do not use macros from bp-asm.h.
55635         (STR): Likewise.
55636         (CHR): Likewise.
55637         (strchr): Likewise.  Do not use BP_SYM.
55638         (index): Do not use BP_SYM in weak_alias.
55639         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
55640         "bp-asm.h".
55641         (PARMS): Do not use macros from bp-asm.h.
55642         (DEST): Likewise.
55643         (SRC): Likewise.
55644         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
55645         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
55646         "bp-asm.h".
55647         (PARMS): Do not use macros from bp-asm.h.
55648         (strlen): Do not use BP_SYM.
55649         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
55650         "bp-asm.h".
55651         (PARMS): Do not use macros from bp-asm.h.
55652         (S1): Likewise.
55653         (S2): Likewise.
55654         (SIZE): Likewise.
55655         (__mpn_sub_n): Do not use BP_SYM.
55656         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
55657         "bp-asm.h".
55658         (PARMS): Do not use macros from bp-asm.h.
55659         (S1): Likewise.
55660         (SIZE): Likewise.
55661         (__mpn_submul_1): Do not use BP_SYM.
55662         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
55663         "bp-asm.h".
55664         (PARMS): Do not use macros from bp-asm.h.
55665         (S1): Likewise.
55666         (S2): Likewise.
55667         (SIZE): Likewise.
55668         (__mpn_add_n): Do not use BP_SYM.
55669         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
55670         weak_alias.
55671         (bzero): Likewise.
55672         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
55673         "bp-asm.h".
55674         (PARMS): Do not use macros from bp-asm.h.
55675         (BLK2): Likewise.
55676         (LEN): Likewise.
55677         (memcmp): Do not use BP_SYM.
55678         (bcmp): Do not use BP_SYM in weak_alias.
55679         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
55680         "bp-asm.h".
55681         (PARMS): Do not use macros from bp-asm.h.
55682         (DEST): Likewise.
55683         (SRC): Likewise.
55684         (LEN): Likewise.
55685         (memcpy): Likewise.  Do not use BP_SYM.
55686         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
55687         "bp-asm.h".
55688         (PARMS): Do not use macros from bp-asm.h.
55689         (DEST): Likewise.
55690         (SRC): Likewise.
55691         (LEN): Likewise.
55692         (memmove): Likewise.  Do not use BP_SYM.
55693         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
55694         "bp-asm.h".
55695         (PARMS): Do not use macros from bp-asm.h.
55696         (DEST): Likewise.
55697         (SRC): Likewise.
55698         (LEN): Likewise.
55699         (__mempcpy): Likewise.  Do not use BP_SYM.
55700         (mempcpy): Do not use BP_SYM in weak_alias.
55701         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
55702         "bp-asm.h".
55703         (PARMS): Do not use macros from bp-asm.h.
55704         (DEST): Likewise.
55705         (LEN): Likewise.
55706         [!BZERO_P] (CHR): Likewise.
55707         (memset): Likewise.  Do not use BP_SYM.
55708         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
55709         "bp-asm.h".
55710         (PARMS): Do not use macros from bp-asm.h.
55711         (STR2): Likewise.
55712         (strcmp): Do not use BP_SYM.
55713         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
55714         "bp-asm.h".
55715         (PARMS): Do not use macros from bp-asm.h.
55716         (STR): Likewise.
55717         (DELIM): Likewise.
55718         [USE_AS_STRTOK_R] (SAVE): Likewise.
55719         (FUNCTION): Likewise.  Do not use BP_SYM.
55720         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
55721         aliases.
55722         (strtok_r): Likewise.
55723         (__GI___strtok_r): Likewise.
55724         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55725         (PARMS): Do not use macros from bp-asm.h.
55726         (S): Likewise.
55727         (SIZE): Likewise.
55728         (__mpn_lshift): Do not use BP_SYM.
55729         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55730         (PARMS): Do not use macros from bp-asm.h.
55731         (STR): Likewise.
55732         (CHR): Likewise.
55733         (__memchr): Do not use BP_SYM.
55734         (memchr): Do not use BP_SYM in weak_alias.
55735         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55736         (PARMS): Do not use macros from bp-asm.h.
55737         (BLK2): Likewise.
55738         (LEN): Likewise.
55739         (memcmp): Do not use BP_SYM.
55740         (bcmp): Do not use BP_SYM in weak_alias.
55741         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
55742         (PARMS): Do not use macros from bp-asm.h.
55743         (S1): Likewise.
55744         (SIZE): Likewise.
55745         (__mpn_mul_1): Do not use BP_SYM.
55746         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
55747         "bp-asm.h".
55748         (PARMS): Do not use macros from bp-asm.h.
55749         (STR): Likewise.
55750         (CHR): Likewise.
55751         (__rawmemchr): Do not use BP_SYM.
55752         (rawmemchr): Do not use BP_SYM in weak_alias.
55753         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
55754         (PARMS): Do not use macros from bp-asm.h.
55755         (S): Likewise.
55756         (SIZE): Likewise.
55757         (__mpn_rshift): Do not use BP_SYM.
55758         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
55759         (PARMS): Do not use macros from bp-asm.h.
55760         (SIGMSK): Likewise.
55761         (__sigsetjmp): Likewise.  Do not use BP_SYM.
55762         * sysdeps/i386/start.S: Do not include "bp-sym.h".
55763         (_start): Do not use BP_SYM.
55764         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
55765         (PARMS): Do not use macros from bp-asm.h.
55766         (DEST): Likewise.
55767         (SRC): Likewise.
55768         (__stpcpy): Likewise.  Do not use BP_SYM.
55769         (stpcpy): Do not use BP_SYM in weak_alias.
55770         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
55771         "bp-asm.h".
55772         (PARMS): Do not use macros from bp-asm.h.
55773         (DEST): Likewise.
55774         (SRC): Likewise.
55775         (LEN): Likewise.
55776         (__stpncpy): Likewise.  Do not use BP_SYM.
55777         (stpncpy): Do not use BP_SYM in weak_alias.
55778         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
55779         (PARMS): Do not use macros from bp-asm.h.
55780         (STR): Likewise.
55781         (CHR): Likewise.
55782         (strchr): Likewise.  Do not use BP_SYM.
55783         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
55784         "bp-asm.h".
55785         (PARMS): Do not use macros from bp-asm.h.
55786         (STR): Likewise.
55787         (CHR): Likewise.
55788         (__strchrnul): Likewise.  Do not use BP_SYM.
55789         (strchrnul): Do not use BP_SYM in weak_alias.
55790         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
55791         "bp-asm.h".
55792         (PARMS): Do not use macros from bp-asm.h.
55793         (STOP): Likewise.
55794         (strcspn): Do not use BP_SYM.
55795         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
55796         "bp-asm.h".
55797         (PARMS): Do not use macros from bp-asm.h.
55798         (STR): Likewise.
55799         (STOP): Likewise.
55800         (strpbrk): Likewise.  Do not use BP_SYM.
55801         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
55802         "bp-asm.h".
55803         (PARMS): Do not use macros from bp-asm.h.
55804         (STR): Likewise.
55805         (CHR): Likewise.
55806         (strrchr): Likewise.  Do not use BP_SYM.
55807         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
55808         (PARMS): Do not use macros from bp-asm.h.
55809         (SKIP): Likewise.
55810         (strspn): Do not use BP_SYM.
55811         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
55812         (PARMS): Do not use macros from bp-asm.h.
55813         (STR): Likewise.
55814         (DELIM): Likewise.
55815         (SAVE): Likewise.
55816         (FUNCTION): Likewise.  Do not use BP_SYM.
55817         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
55818         aliases.
55819         (strtok_r): Likewise.
55820         (__GI___strtok_r): Likewise.
55821         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
55822         (PARMS): Do not use macros from bp-asm.h.
55823         (S1): Likewise.
55824         (S2): Likewise.
55825         (SIZE): Likewise.
55826         (__mpn_sub_n): Do not use BP_SYM.
55827         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
55828         "bp-asm.h".
55829         (PARMS): Do not use macros from bp-asm.h.
55830         (S1): Likewise.
55831         (SIZE): Likewise.
55832         (__mpn_submul_1): Do not use BP_SYM.
55833         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
55834         <bp-sym.h>.
55835         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
55836         and <bp-asm.h>.
55837         (PARMS): Do not use macros from bp-asm.h.
55838         (FLAGS): Likewise.
55839         (PTID): Likewise.
55840         (TLS): Likewise.
55841         (CTID): Likewise.
55842         (__clone): Do not use BP_SYM.
55843         (clone): Do not use BP_SYM in weak_alias.
55844         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
55845         and <bp-asm.h>.
55846         (PARMS): Do not use macros from bp-asm.h.
55847         (LEN): Likewise.
55848         (__mmap64): Do not use BP_SYM.
55849         (mmap64): Do not use BP_SYM in weak_alias.
55850         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
55851         <bp-sym.h> and <bp-asm.h>.
55852         (PARMS): Do not use macros from bp-asm.h.
55853         (__posix_fadvise64_l64): Do not use BP_SYM.
55854         * sysdeps/unix/sysv/linux/i386/semtimedop.S
55855         (PARMS): Do not use macros from bp-asm.h.
55856         (NSOPS): Likewise.
55857         (semtimedop): Do not use BP_SYM.
55858         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
55859         and <bp-asm.h>.
55861 2013-02-21  Allan McRae  <allan@archlinux.org>
55863         * manual/message.texi (Charset conversion in gettext):
55864         Move @end statement to beginning of line.
55866 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
55869         static.
55870         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55871         Likewise.
55873         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
55874         (denorm): Likewise.
55875         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
55876         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
55878 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55880         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
55881         tail-call to the resolved function if pltexit isn't needed.
55883 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
55885         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
55886         or Y being zero as being unlikely.
55887         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
55888         Likewise.
55890 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
55892         * manual/nss.texi (System Databases and Name Service Switch):
55893         Remove frobnicate @pxref.
55895 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55897         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55898         __attribute__ ((unused)) to __attribute__ ((__unused__)).
55900 2013-02-20  Petr Machata  <pmachata@redhat.com>
55902         * elf/elf.h (R_ARM_TARGET1): New macro.
55903         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
55904         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
55905         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
55906         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
55907         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
55908         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
55909         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
55910         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
55911         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
55912         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
55913         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
55914         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
55915         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
55916         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
55917         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
55918         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
55919         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
55920         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
55921         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
55922         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
55923         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
55924         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
55925         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
55926         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
55927         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
55928         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
55929         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
55930         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
55931         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
55932         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
55933         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
55934         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
55935         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
55936         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
55937         (R_ARM_THM_GOT_BREL12): Likewise.
55938         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
55939         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
55940         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
55941         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
55942         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
55943         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
55944         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
55945         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
55946         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
55948 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
55950         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
55951         __attribute_used__ to __attribute__ ((unused)).
55953 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55955         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
55956         powerpc mpa.c.
55957         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
55958         comment formatting.
55959         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
55961 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
55963         [BZ #13550]
55964         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
55965         Remove macro.
55966         (ENTER): Remove both macro definitions.
55967         (LEAVE): Likewise.
55968         (CHECK_BOUNDS_LOW): Likewise.
55969         (CHECK_BOUNDS_HIGH): Likewise.
55970         (CHECK_BOUNDS_BOTH): Likewise.
55971         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
55972         (RETURN_BOUNDED_POINTER): Likewise.
55973         (RETURN_NULL_BOUNDED_POINTER): Likewise.
55974         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
55975         (POP_ERRNO_LOCATION_RETURN): Likewise.
55976         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
55977         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55978         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
55979         macros.
55980         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55981         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
55982         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
55983         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
55984         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
55985         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
55986         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
55987         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
55988         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
55989         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
55990         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
55991         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
55992         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
55993         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
55994         removed macros.
55995         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
55996         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
55997         macros.
55998         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
55999         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
56000         * sysdeps/i386/i586/memset.S (memset): Likewise.
56001         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
56002         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56003         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
56004         macros.
56005         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56006         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
56007         Change uses of L(2) to L(out).
56008         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
56009         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
56010         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
56011         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56012         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
56013         removed macros.
56014         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56015         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
56016         macros.
56017         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56018         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
56019         (RETURN): Do not use macro LEAVE.
56020         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
56021         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
56022         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
56023         * sysdeps/i386/i686/memset.S (memset): Likewise.
56024         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
56025         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
56026         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
56027         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
56028         Likewise.
56029         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56030         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
56031         L(1_2) and L(1_3) into L(1).
56032         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56033         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
56034         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56035         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
56036         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
56037         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
56038         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
56039         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56040         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
56041         macros.
56042         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
56043         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
56044         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
56045         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
56046         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
56047         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
56048         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
56049         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
56050         * sysdeps/i386/strcspn.S (strcspn): Likewise.
56051         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
56052         * sysdeps/i386/strrchr.S (strrchr): Likewise.
56053         * sysdeps/i386/strspn.S (strspn): Likewise.
56054         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
56055         conditional code.
56056         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
56057         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
56058         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
56059         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
56060         L(1_3) into L(1_1).
56061         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
56062         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
56063         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
56064         macros.
56065         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
56067 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
56069         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
56070         macro.
56072 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
56074         * math/atest-exp.c (exp_mpn): Remove ROUND.
56075         * math/atest-exp2.c (exp_mpn): Likewise.
56076         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
56078         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
56079         * stdlib/tst-tls-atexit-lib.c: Likewise.
56080         * stdlib/tst-tls-atexit.c: Likewise.
56082 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56084         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
56085         and __attribute_alloc_size__.
56087 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56089         * include/programs/xmalloc.h: Change __attribute_alloc_size to
56090         __attribute_alloc_size__.
56091         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
56092         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
56094 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
56096         * include/programs/xmalloc.h: New file.
56097         * catgets/gencat.c: Include it.
56098         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
56099         * elf/pldd.c: Likewise.
56100         * iconv/iconv_charmap.c: Likewise.
56101         * iconv/iconvconfig.c: Likewise.
56102         * iconv/strtab.c: Likewise.
56103         * locale/programs/locale.c: Likewise.
56104         * locale/programs/localedef.h: Likewise.
56105         * locale/programs/simple-hash.c: Likewise.
56106         * nscd/nscd.h: Likewise.
56107         * nss/makedb.c: Likewise.
56108         * sysdeps/generic/ldconfig.h: Likewise.
56110 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
56112         * Versions.def: Add GLIBC_2.18.
56113         * include/link.h (struct link_map): New member l_tls_dtor_count.
56114         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
56115         (__call_tls_dtors): Likewise.
56116         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
56117         __cxa_thread_atexit_impl.
56118         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
56119         Likewise.
56120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
56121         Likewise.
56122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
56123         Likewise.
56124         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
56125         Likewise.
56126         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
56127         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
56128         Likewise.
56129         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
56130         Likewise.
56131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
56132         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
56133         Likewise.
56134         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
56135         (tests): Add test case tst-tls-atexit.
56136         (modules-names): Add shared library for tst-tls-atexit.
56137         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
56138         (GLIBC_PRIVATE): Add __call_tls_dtors.
56139         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
56140         for libstdc++.
56141         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
56142         * stdlib/tst-tls-atexit.c: New test case.
56143         * stdlib/tst-tls-atexit-lib.c: New test case.
56145         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
56147         * elf/Versions (ld): Add _dl_find_dso_for_object.
56148         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
56149         * elf/dl-open.c (_dl_find_dso_for_object): New function.
56150         (dl_open_worker): Use _dl_find_dso_for_object.
56151         * elf/dl-sym.c (do_sym): Likewise.
56152         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
56154 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56156         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
56157         Syntactic changes only.
56158         (_dl_runtime_profile): Do a tail-call to the resolved function.
56160 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
56162         [BZ #13550]
56163         * sysdeps/x86_64/bp-asm.h: Remove file.
56164         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
56165         <bp-sym.h> and <bp-asm.h>.
56166         (__clone): Do not use BP_SYM.
56167         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
56168         <bp-sym.h> and <bp-asm.h>.
56169         * sysdeps/unix/x86_64/sysdep.S: Likewise.
56170         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
56171         "bp-asm.h".
56172         (_setjmp): Do not use BP_SYM.
56173         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
56174         "bp-asm.h".
56175         (setjmp): Do not use BP_SYM.
56176         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
56177         libc_hidden_def.
56178         (mempcpy): Do not use BP_SYM in weak_alias.
56179         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
56180         "bp-asm.h".
56181         (strchr): Do not use BP_SYM.
56182         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
56183         "bp-asm.h".
56184         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
56185         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
56186         (_start): Do not use BP_SYM.
56187         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
56188         "bp-asm.h".
56189         (strcat): Do not use BP_SYM.
56190         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
56191         "bp-asm.h".
56192         (STRCMP): Do not use BP_SYM.
56193         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
56194         "bp-asm.h".
56195         (STRCPY): Do not use BP_SYM.
56196         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
56197         "bp-asm.h".
56198         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
56199         "bp-asm.h".
56200         (FUNCTION): Do not use BP_SYM.
56201         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
56202         weak_alias.
56203         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
56205 2013-02-17  Andreas Jaeger  <aj@suse.de>
56207         * time/Versions: Sort entries.
56208         * string/Versions: Likewise.
56209         * resolv/Versions: Likewise.
56210         * posix/Versions: Likewise.
56211         * iconv/Versions: Likewise.
56212         * elf/Versions: Likewise.
56213         * wcsmbs/Versions: Likewise.
56215 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
56217         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
56218         loop termination condition.
56220         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
56221         variable to calculate EZ.
56222         (__sqr): Likewise.
56224         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
56225         the lower precision input.
56227 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
56229         [BZ #13550]
56230         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
56231         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
56232         (run-via-rtld-prefix): Do not handle %-bp tests.
56233         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
56234         (all-object-suffixes): Remove .ob.
56235         (bppfx): Remove variable.
56236         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
56237         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
56238         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
56239         [$(build-bounded) = yes] (libtype.ob): Likewise.
56240         * Makerules (elide-routines.ob): Remove variable.
56241         (do-tests-clean): Do not handle *-bp.out.
56242         (common-mostlyclean): Do not handle *-bp and *-bp.out.
56243         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
56244         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
56245         (tests): Do not include $(tests-bp.out).
56246         (xtests): Do not include $(xtests-bp.out).
56247         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
56248         [$(build-bounded) = yes] ($(addprefix
56249         $(objpfx),$(binaries-bounded))): Remove rule.
56250         ($(objpfx)%-bp.out): Remove rule.
56251         * config.make.in (build-bounded): Remove variable.
56252         * crypt/Makefile [$(build-bounded) = yes]
56253         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
56254         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
56255         append to variable.
56256         [$(build-bounded) = yes] (install-lib): Likewise.
56257         [$(build-bounded) = yes] (generated): Likewise.
56258         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
56259         Remove rule.
56260         * intl/Makefile [$(build-bounded) = yes]
56261         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
56262         * math/Makefile [$(build-bounded) = yes]
56263         ($(tests:%=$(objpfx)%-bp): Likewise.
56264         * misc/Makefile [$(build-bounded) = yes]
56265         ($(objpfx)tst-tsearch-bp): Likewise.
56266         * nptl/Makeconfig (bounded-thread-library): Remove variable.
56267         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
56268         Remove dependency.
56269         * string/Makefile (o-objects.ob): Remove variable.
56270         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
56271         (CFLAGS-.ob): Remove variable.
56272         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
56273         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
56274         both definitions of variable.
56275         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
56276         (ASFLAGS-.ob): Remove variable.
56278 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
56280         [BZ #13550]
56281         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
56282         Remove __BOUNDED_POINTERS__ from condition.
56283         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
56284         * string/bits/string2.h [!__NO_STRING_INLINES &&
56285         !__BOUNDED_POINTERS__]: Likewise.
56286         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
56287         Likewise.
56288         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
56289         Remove conditional code.
56290         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
56291         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
56292         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
56293         condition.
56295         [BZ #13550]
56296         * csu/libc-start.c: Do not include <bp-sym.h>.
56297         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
56298         * elf/dl-open.c: Do not include <bp-sym.h>.
56299         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
56300         * math/fegetenv.c: Do not include <bp-sym.h>.
56301         (fegetenv): Do not use BP_SYM in versioned symbols.
56302         * nptl/sysdeps/pthread/bits/libc-lockP.h
56303         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
56304         <bp-sym.h>.
56305         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56306         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
56307         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56308         (__pthread_mutex_destroy): Likewise.
56309         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56310         (__pthread_mutex_lock): Likewise.
56311         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56312         (__pthread_mutex_trylock): Likewise.
56313         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56314         (__pthread_mutex_unlock): Likewise.
56315         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56316         (__pthread_mutexattr_init): Likewise.
56317         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56318         (__pthread_mutexattr_destroy): Likewise.
56319         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56320         (__pthread_mutexattr_settype): Likewise.
56321         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56322         (__pthread_rwlock_init): Likewise.
56323         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56324         (__pthread_rwlock_destroy): Likewise.
56325         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56326         (__pthread_rwlock_rdlock): Likewise.
56327         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56328         (__pthread_rwlock_tryrdlock): Likewise.
56329         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56330         (__pthread_rwlock_wrlock): Likewise.
56331         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56332         (__pthread_rwlock_trywrlock): Likewise.
56333         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56334         (__pthread_rwlock_unlock): Likewise.
56335         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56336         (__pthread_key_create): Likewise.
56337         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56338         (__pthread_setspecific): Likewise.
56339         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56340         (__pthread_getspecific): Likewise.
56341         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
56342         Likewise.
56343         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56344         (_pthread_cleanup_push_defer): Likewise.
56345         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56346         (_pthread_cleanup_pop_restore): Likewise.
56347         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
56348         (pthread_setcancelstate): Likewise.
56349         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
56350         <bp-sym.h>.
56351         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
56352         (memchr): Do not use BP_SYM in weak_alias.
56353         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
56354         (fegetenv): Do not use BP_SYM in versioned symbols.
56355         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
56356         (fesetenv): Do not use BP_SYM in versioned symbols.
56357         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56358         (feupdateenv): Do not use BP_SYM in versioned symbols.
56359         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56360         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56361         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
56362         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
56363         (open64): Do not use BP_SYM in weak_alias.
56364         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
56365         (fegetenv): Do not use BP_SYM in versioned symbols.
56366         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
56367         (fesetenv): Do not use BP_SYM in versioned symbols.
56368         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
56369         (feupdateenv): Do not use BP_SYM in versioned symbols.
56370         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
56371         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
56372         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
56373         (feraiseexcept): Do not use BP_SYM in versioned symbols.
56374         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
56375         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
56376         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
56377         <bp-sym.h>.
56378         (__libc_start_main): Do not use BP_SYM.
56380 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
56382         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
56383         redundant return line.
56384         (norm): Likewise.
56385         (denorm): Likewise.
56386         (dbl_mp): Likewise.
56387         (sub_magnitudes): Likewise.
56388         (__add): Likewise.
56389         (__sub): Likewise.
56390         (__mul): Likewise.
56391         (__inv): Likewise.
56392         (__dvd): Likewise.
56393         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
56394         (norm): Likewise.
56395         (denorm): Likewise.
56396         (dbl_mp): Likewise.
56397         (sub_magnitudes): Likewise.
56398         (__add): Likewise.
56399         (__sub): Likewise.
56400         (__mul): Likewise.
56401         (__inv): Likewise.
56402         (__dvd): Likewise.
56404         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
56405         instead of __mul.
56406         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
56407         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
56408         (cc32): Likewise.
56410         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
56411         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
56412         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
56413         of __mul for squares.
56414         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
56415         function
56416         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
56417         Likewise.
56418         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
56419         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56421 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
56423         [BZ #13550]
56424         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
56425         code.
56426         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
56427         prototype or function definition.  Rename ubp_* variables and
56428         parameters.  Remove argv definitions conditional on
56429         [__BOUNDED_POINTERS__].
56430         * debug/backtrace.c (__backtrace): Do not use __unbounded.
56431         * elf/dl-runtime.c (_dl_fixup): Likewise.
56432         * include/set-hooks.h (RUN_HOOK): Likewise.
56433         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
56434         definition.
56435         * string/strcpy.c (strcpy): Do not use __unbounded.
56436         * sysdeps/generic/frame.h (struct layout): Likewise.
56437         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
56438         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
56439         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
56440         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
56441         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
56442         (__backtrace): Likewise.
56443         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
56444         use __ptrvalue.
56445         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
56446         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
56447         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
56448         Likewise.
56449         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
56450         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
56451         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
56452         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56453         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
56454         Do not use __unbounded.
56455         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
56456         Rename __unboundedrlimits parameter to rlimits in prototype.
56457         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
56458         Do not use __unbounded.
56459         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
56460         not use __ptrvalue.
56461         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56462         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
56463         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56464         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
56465         __ptrvalue or __unbounded.
56466         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
56467         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
56468         use __unbounded.
56469         (__new_msgctl): Do not use __ptrvalue.
56470         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
56471         __unbounded.
56472         (__libc_msgrcv): Do not use __ptrvalue.
56473         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
56474         startup_info): Do not use __unbounded.
56475         (__libc_start_main): Likewise.  Rename ubp_* variables and
56476         parameters.  Remove argv definitions conditional on
56477         [__BOUNDED_POINTERS__].
56478         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
56479         __ptrvalue.
56480         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
56481         use __unbounded.
56482         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
56483         or __ptrvalue.
56484         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
56485         use __unbounded.
56486         (__new_shmctl): Do not use __ptrvalue.
56487         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
56488         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
56489         Likewise.
56490         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
56491         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
56492         (__libc_sigaction): Likewise.
56493         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
56494         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
56495         Likewise.
56496         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56498 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
56500         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
56502         * string/mempcpy.c: Implement by calling memcpy.
56504 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
56506         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
56508         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
56509         evaluation.
56511         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
56512         values in the mantissa.
56514         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
56515         minimize writes to Z.
56516         (sub_magnitudes): Simplify code a bit.
56518 2013-02-12  Roland McGrath  <roland@hack.frob.com>
56520         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
56521         from the message.  The linker prefixes all warnings with that already.
56523 2013-02-12  Andreas Schwab  <schwab@suse.de>
56525         [BZ #15078]
56526         * posix/regexec.c (extend_buffers): Add parameter min_len.
56527         (check_matching): Pass minimum needed length.
56528         (clean_state_log_if_needed): Likewise.
56529         (get_subexp): Likewise.
56530         * posix/Makefile (tests): Add bug-regex34.
56531         (bug-regex34-ENV): Define.
56532         * posix/bug-regex34.c: New file.
56534         [BZ #11561]
56535         * posix/regcomp.c (parse_bracket_exp): When looking up collating
56536         elements compare against the byte sequence of it, not its name.
56537         * posix/Makefile (tests): Add bug-regex35.
56538         (bug-regex35-ENV): Define.
56539         * posix/bug-regex35.c: New file.
56541 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56543         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
56544         comment.
56545         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
56546         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
56547         (CHECK_EOL): Add undef.
56549 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
56551         * bits/stdlib-bsearch.h: New file.
56552         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
56553         * stdlib/stdlib.h: Likewise.
56555 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56557         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
56558         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
56559         declaration.
56560         * manual/search.texi (Array Search Function): Add missing const in
56561         lfind prototype.
56562         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
56563         declaration to use rlim_t.
56564         (Basic Scheduling Functions): Remove erroneous const from
56565         sched_getparam prototype.  Remove erroneous * from
56566         sched_get_priority_max and sched_get_priority_min prototypes.
56567         (Resource Usage): Fix summary @comment on vtimes to refer to
56568         sys/vtimes.h rather than vtimes.h.
56569         Add missing *s in vtimes prototype.
56570         (Limits on Resources): Fix ulimit prototype to return long int.
56571         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
56572         prototypes to use long int rather than double.
56573         (BSD Random): Fix initstate and setstate to use char *, not void *.
56574         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
56575         prototype to make second argument 'struct aiocb64 *const[]'.
56576         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
56577         (Status of AIO Operations): Remove erroneous const in aio_return and
56578         aio_return64 prototypes.
56579         (Synchronizing I/O): Fix sync prototype to return void.
56580         * manual/startup.texi (Suboptions): Remove an erroneous const in
56581         getsubopt prototype.
56582         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
56583         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
56584         use size_t rather than int.
56585         (Scanning All Users): Likewise for getpwent_r.
56586         (Setting Groups): Add missing const to setgroups prototype.
56587         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
56588         * manual/socket.texi (Host Names): Fix gethostbyaddr and
56589         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
56590         'const void *' rather than 'const char *'.
56591         (Host Address Functions): Likewise for inet_ntop.
56592         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
56593         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
56594         ssize_t for return value.
56595         (Sending Data): Likewise for send, sendto, sendmsg.
56596         (Socket Option Functions): Add a missing const in setsockopt prototype.
56597         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
56598         use wchar_t for the argument.
56599         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
56600         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
56601         take no arguments.
56602         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
56603         double/float/long double for second argument.
56604         Fix return types of significand, significandf, significandl.
56605         * manual/filesys.texi (Setting Permissions): Use mode_t for second
56606         argument in fchmod prototype.
56607         (File Owner): Use uid_t and gid_t in fchown prototype.
56608         (File Times): Add const to utimes, futimes, and lutimes prototypes.
56609         (Making Special Files): Use mode_t and dev_t in mknod prototype.
56610         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
56611         use 'const struct dirent **' as argument types to CMP function pointer
56612         argument.
56613         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
56614         (File Times): Fix summary magic @comment for struct utimbuf and utime
56615         to refer to utime.h, not time.h.
56616         * manual/string.texi (Argz Functions): Add missing const in
56617         argz_extract and argz_next prototypes.
56618         (Finding Tokens in a String): Likewise for basename.
56619         (String/Array Comparison): Fix typo in wcscasecmp prototype.
56620         (Copying and Concatenation): Fix typo in wmemmove prototype.
56621         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
56622         (Signal Stack): Remove erroneous const in sigstack prototype.
56623         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
56624         prototype.
56625         (Simple Calendar Time): Likewise for stime.
56626         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
56627         prototype.
56628         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
56629         say sys/sysctl.h instead.
56630         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
56631         and vsyslog prototypes.
56633 2013-02-11  Tom de Vries  <tom@codesourcery.com>
56635         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
56636         Remove.
56638 2013-02-11  Roland McGrath  <roland@hack.frob.com>
56640         * misc/sys/mman.h: Fix typo in mremap comment.
56642 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56644         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
56645         the '\0' terminator.
56647 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56649         [BZ #13550]
56650         * debug/segfault.c: Don't include <bp-checks.h>.
56651         * sysdeps/generic/bp-checks.h: Remove file.
56652         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
56653         (__GETDENTS): Don't use CHECK_N.
56654         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
56655         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
56656         (__getgroups): Don't use CHECK_N.
56657         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
56658         (setgroups): Don't use CHECK_N.
56659         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
56660         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
56661         (__libc_msgrcv): Don't use CHECK_N.
56662         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
56663         (__libc_msgsnd): Don't use CHECK_N.
56664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
56665         <bp-checks.h>.
56666         (__libc_pread): Don't use CHECK_N.
56667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
56668         include <bp-checks.h>.
56669         (__libc_pread64): Don't use CHECK_N.
56670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
56671         include <bp-checks.h>.
56672         (__libc_pwrite): Don't use CHECK_N.
56673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
56674         include <bp-checks.h>.
56675         (__libc_pwrite64): Don't use CHECK_N.
56676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
56677         <bp-checks.h>.
56678         (__libc_pread): Don't use CHECK_N.
56679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
56680         include <bp-checks.h>.
56681         (__libc_pread64): Don't use CHECK_N.
56682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
56683         include <bp-checks.h>.
56684         (__libc_pwrite): Don't use CHECK_N.
56685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
56686         include <bp-checks.h>.
56687         (__libc_pwrite64): Don't use CHECK_N.
56688         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
56689         (do_pread): Don't use CHECK_N.
56690         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
56691         (do_pread64): Don't use CHECK_N.
56692         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
56693         (do_pwrite): Don't use CHECK_N.
56694         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
56695         (do_pwrite64): Don't use CHECK_N.
56696         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
56697         (__libc_readv): Don't use CHECK_N.
56698         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
56699         (semop): Don't use CHECK_N.
56700         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
56701         <bp-checks.h>.
56702         (semtimedop): Don't use CHECK_N.
56703         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
56704         (__libc_pread): Don't use CHECK_N.
56705         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
56706         <bp-checks.h>.
56707         (__libc_pread64): Don't use CHECK_N.
56708         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
56709         <bp-checks.h>.
56710         (__libc_pwrite): Don't use CHECK_N.
56711         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
56712         <bp-checks.h>.
56713         (__libc_pwrite64): Don't use CHECK_N.
56714         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
56715         <bp-checks.h>.
56716         (__libc_msgrcv): Don't use CHECK_N.
56717         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
56718         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
56719         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
56720         (__libc_writev): Don't use CHECK_N.
56722 2013-02-08  Roland McGrath  <roland@hack.frob.com>
56724         * string/strcpy.c: Removed unused variable.
56726         * Makeconfig (+sysdep-includes): Define with := rather than =.
56727         Use an existing include/ subdir of each sysdeps dir before it.
56729 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56731         * nscd/connection.c (register_traced_file): Comment function.
56732         [HAVE_INOTIFY] (union __inev): Define.
56733         [HAVE_INOTIFY] (inotify_check_files): New function.
56734         [HAVE_INOTIFY] (clear_db_cache): Likewise.
56735         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
56736         clear_db_cache.
56737         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
56739 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56741         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
56742         loaded if not already and that a failure is permanent.
56744 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
56746         [BZ #15006]
56747         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
56748         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
56750 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
56752         [BZ #13550]
56753         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
56754         (CHECK_1_NULL_OK): Likewise.
56755         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
56756         (__fxstat): Do not use CHECK_1.
56757         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
56758         <bp-checks.h>.
56759         (___fxstat64): Do not use CHECK_1.
56760         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
56761         <bp-checks.h>.
56762         (__fxstatat): Do not use CHECK_1.
56763         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
56764         <bp-checks.h>.
56765         (__fxstatat64): Do not use CHECK_1.
56766         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
56767         <bp-checks.h>.
56768         (__fxstat): Do not use CHECK_1.
56769         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
56770         <bp-checks.h>.
56771         (__fxstatat): Do not use CHECK_1.
56772         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
56773         <bp-checks.h>.
56774         (__getresgid): Do not use CHECK_1.
56775         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
56776         <bp-checks.h>.
56777         (__getresuid): Do not use CHECK_1.
56778         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
56779         <bp-checks.h>.
56780         (__lxstat): Do not use CHECK_1.
56781         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
56782         <bp-checks.h>.
56783         (__old_msgctl): Do not use CHECK_1.
56784         (__new_msgctl): Likewise.
56785         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
56786         <bp-checks.h>.
56787         (__new_setrlimit): Do not use CHECK_1.
56788         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
56789         <bp-checks.h>.
56790         (__old_shmctl): Do not use CHECK_1.
56791         (__new_shmctl): Likewise.
56792         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
56793         <bp-checks.h>.
56794         (__xstat): Do not use CHECK_1.
56795         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
56796         (__lxstat): Do not use CHECK_1.
56797         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
56798         <bp-checks.h>.
56799         (___lxstat64): Do not use CHECK_1.
56800         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
56801         (__old_msgctl): Do not use CHECK_1.
56802         (__new_msgctl): Likewise.
56803         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
56804         <bp-checks.h>.
56805         (__gettimeofday): Do not use CHECK_1.
56806         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
56807         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
56808         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
56809         <bp-checks.h>.
56810         (__gettimeofday): Do not use CHECK_1.
56811         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
56812         (__old_shmctl): Do not use CHECK_1_NULL_OK.
56813         (__new_shmctl): Do not use CHECK_1.
56814         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
56815         <bp-checks.h>.
56816         (do_sigtimedwait): Do not use CHECK_1.
56817         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
56818         <bp-checks.h>.
56819         (do_sigwaitinfo): Do not use CHECK_1.
56820         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
56821         <bp-checks.h>.
56822         (msgctl): Do not use CHECK_1.
56823         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
56824         <bp-checks.h>.
56825         (shmctl): Do not use CHECK_1.
56826         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
56827         (ustat): Do not use CHECK_1.
56828         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
56829         <bp-checks.h>.
56830         (__fxstat): Do not use CHECK_1.
56831         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
56832         <bp-checks.h>.
56833         (__fxstatat): Do not use CHECK_1.
56834         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
56835         <bp-checks.h>.
56836         (__lxstat): Do not use CHECK_1.
56837         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
56838         <bp-checks.h>.
56839         (__xstat): Do not use CHECK_1.
56840         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
56841         (__xstat): Do not use CHECK_1.
56842         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
56843         (___xstat64): Do not use CHECK_1.
56845         [BZ #13550]
56846         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
56847         definitions.
56848         (CHECK_BOUNDS_HIGH): Likewise.
56849         * string/strcpy.c: Do not include <bp-checks.h>.
56850         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
56852 2013-02-07  Roland McGrath  <roland@hack.frob.com>
56854         * nscd/nscd-client.h (__nscd_drop_map_ref):
56855         Add __attribute__ ((unused)).
56856         * nis/nss-nisplus.h (niserr2nss): Likewise.
56858         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
56859         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
56861         * csu/libc-tls.c (init_static_tls, init_slotinfo):
56862         Remove inline keyword.
56863         * include/rounding-mode.h (round_away): Likewise.
56864         * libio/wfileops.c (adjust_wide_data): Likewise.
56865         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
56866         (__m128i_strloadu_tolower): Likewise.
56867         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
56868         (__m128i_strloadu_tolower): Likewise.
56869         * time/mktime.c (ydhms_diff): Likewise.
56870         * locale/elem-hash.h (elem_hash): Likewise.
56871         * locale/setlocale.c (setdata): Likewise.
56872         * posix/regex_internal.h (re_string_char_size_at): Likewise.
56873         (re_string_wchar_at): Likewise.
56874         (bitset_not, bitset_merge, bitset_mask): Likewise.
56875         [!(__GNUC__ > 3)] (inline): Remove macro.
56876         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
56877         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
56878         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
56879         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
56880         * string/memcmp.c (memcmp_bytes): Likewise.
56881         * locale/programs/locarchive.c (compute_hashval): Likewise.
56882         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
56883         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
56884         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
56885         * nss/getent.c (print_rpc, print_protocols): Likewise.
56886         (print_passwd, print_group, print_aliases): Likewise.
56887         * nis/nss-nisplus.h (niserr2nss): Likewise.
56888         * nscd/connections.c (restart_p): Likewise.
56889         Change return type to bool.
56891 2013-02-05  Roland McGrath  <roland@hack.frob.com>
56893         * Makeconfig (all-Depend-files): Add existing
56894         $(sorted-subdirs:=/Depend) files.
56895         (all-subdirs): Remove nss.
56896         * sysdeps/unix/inet/Subdirs: Add it here instead.
56897         * hesiod/Depend: New file.
56899         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
56900         instead of calling alloca.
56902         * io/lseek.c (__lseek): Rename to __libc_lseek.
56903         Define __lseek as an alias.
56905         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
56907 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
56909         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
56910         else clause and remove check for non-standard endianness.
56912 2013-02-04  David S. Miller  <davem@davemloft.net>
56914         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56916 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
56918         [BZ #13550]
56919         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
56920         (__ubp_memchr): Remove prototype.
56921         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
56922         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56923         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
56924         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
56925         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
56926         Remove alias.
56927         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
56928         (__ubp_memchr): Likewise.
56929         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
56930         (__ubp_memchr): Likewise.
56931         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
56932         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
56933         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
56934         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
56935         CHECK_STRING.
56936         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
56937         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
56938         (__getcwd): Do not use CHECK_STRING.
56939         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
56940         <bp-checks.h>.
56941         (__real_chown): Do not use CHECK_STRING.
56942         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
56943         <bp-checks.h>.
56944         (fchownat): Do not use CHECK_STRING.
56945         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
56946         CHECK_STRING.
56947         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
56948         <bp-checks.h>.
56949         (__lchown): Do not use CHECK_STRING.
56950         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
56951         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
56952         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
56953         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
56954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
56955         include <bp-checks.h>.
56956         (truncate64): Do not use CHECK_STRING.
56957         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
56958         <bp-checks.h>.
56959         (__real_chown): Do not use CHECK_STRING.
56960         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
56961         <bp-checks.h>.
56962         (__lchown): Do not use CHECK_STRING.
56963         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
56964         <bp-checks.h>.
56965         (__chown): Do not use CHECK_STRING.
56966         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
56967         <bp-checks.h>.
56968         (truncate64): Do not use CHECK_STRING.
56969         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
56970         Likewise.
56971         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
56972         (__xmknod): Do not use CHECK_STRING.
56973         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
56974         <bp-checks.h>.
56975         (__xmknodat): Do not use CHECK_STRING.
56976         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
56977         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
56979 2013-02-04  Andreas Schwab  <schwab@suse.de>
56981         [BZ #14142]
56982         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
56983         * include/netdb.h: Likewise for h_errno.
56984         * elf/tst-stackguard1.c: Include <tls.h>.
56986 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
56988         * elf/link.h (struct link_map): Extend the l_addr comment.
56989         * include/link.h (struct link_map): Likewise.
56991 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
56993         [BZ #13550]
56994         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
56995         (BOUNDED_1): Remove macro.
56996         * debug/backtrace.c: Don't include <bp-checks.h>.
56997         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
56998         (__backtrace): Likewise.
56999         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
57000         <bp-checks.h>.
57001         (__backtrace): Don't use BOUNDED_1.
57002         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
57003         <bp-checks.h>.
57004         (__backtrace): Don't use BOUNDED_1.
57005         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
57006         (__backtrace): Don't use BOUNDED_1.
57007         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
57008         (shmat): Don't use BOUNDED_N.
57010 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
57012         [BZ #13550]
57013         * sysdeps/generic/bp-start.h: Remove file.
57014         * csu/libc-start.c: Don't include <bp-start.h>.
57015         (LIBC_START_MAIN): Set up __environ directly instead of using
57016         INIT_ARGV_and_ENVIRON.
57017         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
57018         <bp-start.h>.
57020         [BZ #13550]
57021         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
57022         definitions.
57023         (CHECK_FCNTL): Likewise.
57024         (CHECK_N_PAGES): Likewise.
57026         [BZ #13550]
57027         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
57028         definitions.
57029         (CHECK_SIGSET_NULL_OK): Likewise.
57030         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
57031         <bp-checks.h>.
57032         (sigpending): Don't use CHECK_SIGSET.
57033         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
57034         <bp-checks.h>.
57035         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57036         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
57037         <bp-checks.h>.
57038         (do_sigsuspend): Don't use CHECK_SIGSET.
57039         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
57040         use CHECK_SIGSET.
57041         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
57042         (do_sigwait): Don't use CHECK_SIGSET.
57043         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
57044         use CHECK_SIGSET.
57045         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
57046         include <bp-checks.h>.
57047         (sigpending): Don't use CHECK_SIGSET.
57048         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
57049         include <bp-checks.h>.
57050         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57051         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
57052         <bp-checks.h>.
57053         (sigpending): Don't use CHECK_SIGSET.
57054         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
57055         <bp-checks.h>.
57056         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
57058         [BZ #13550]
57059         * sysdeps/generic/bp-semctl.h: Remove file.
57060         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
57061         <bp-checks.h> and <bp-semctl.h>.
57062         (__old_semctl): Don't use CHECK_SEMCTL.
57063         (__new_semctl): Likewise.
57064         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
57065         and <bp-semctl.h>.
57066         (__old_semctl): Don't use CHECK_SEMCTL.
57067         (__new_semctl): Likewise.
57068         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
57069         <bp-checks.h> and <bp-semctl.h>.
57070         (__old_semctl): Don't use CHECK_SEMCTL.
57071         (__new_semctl): Likewise.
57072         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
57073         <bp-checks.h> and <bp-semctl.h>.
57074         (semctl): Don't use CHECK_SEMCTL.
57076         [BZ #13550]
57077         * Makerules (elide-bp-thunks): Remove variable.
57078         (elide-routines.oS): Don't use $(elide-bp-thunks).
57079         (elide-routines.os): Likewise.
57080         (elide-routines.o): Likewise.
57081         (elide-routines.op): Likewise.
57082         (elide-routines.og): Likewise.
57083         (objects): Don't use $(bp-thunks).
57084         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
57085         include.
57086         (common-generated): Do not add s-proto-bp.d.
57087         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
57088         (int): Likewise.
57089         (typ): Likewise.
57090         Do not generate makefile rules for bounded-pointer thunks.
57091         * sysdeps/generic/bp-thunks.h: Remove file.
57092         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
57093         * sysdeps/unix/s-proto-bp.S: Likewise.
57095         [BZ #15062]
57096         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
57097         parts of result separately when argument is not close to line from
57098         -i to i and one part of argument is small.
57099         * math/k_casinhf.c (__kernel_casinhf): Likewise.
57100         * math/k_casinhl.c (__kernel_casinhl): Likewise.
57101         * math/libm-test.inc (cacos_test): Add more tests.
57102         (casin_test): Likewise.
57103         (casinh_test): Likewise.
57104         * sysdeps/i386/fpu/libm-test-ulps: Update.
57105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57107 2013-01-31  David S. Miller  <davem@davemloft.net>
57109         * po/de.po: Update from translation team.
57111 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
57113         * time/tzfile.c: Include stdint.h for SIZE_MAX.
57115 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
57117         * configure.in (_AC_PROG_CC_C89): New definition.
57118         * configure: Regenerate.
57120         * configure.in (AC_PROG_CPP): New definition.
57121         * configure: Regenerate.
57123 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57125         * debug/tst-backtrace.h: New file.
57126         * debug/tst-backtrace2.c: Include tst-backtrace.h.
57127         (ret): Remove variable.
57128         (x): Likewise.
57129         (FAIL): Remove macro.
57130         (NO_INLINE): Likewise.
57131         (fn1): Use match function instead of strstr.
57132         * debug/tst-backtrace3.c: Include tst-backtrace.h.
57133         (ret): Remove variable.
57134         (x): Likewise.
57135         (FAIL): Remove macro.
57136         (NO_INLINE): Likewise.
57137         (fn): Use match function instead of strstr.
57138         * debug/tst-backtrace4.c: Include tst-backtrace.h.
57139         (ret): Remove variable.
57140         (x): Likewise.
57141         (FAIL): Remove macro.
57142         (NO_INLINE): Likewise.
57143         (handle_signal): Use match function instead of strstr.
57144         * debug/tst-backtrace5.c: Include tst-backtrace.h.
57145         (ret): Remove variable.
57146         (x): Likewise.
57147         (FAIL): Remove macro.
57148         (NO_INLINE): Likewise.
57149         (handle_signal): Use match function instead of strstr.
57151 2013-01-23  Roland McGrath  <roland@hack.frob.com>
57153         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
57155 2013-01-23  David S. Miller  <davem@davemloft.net>
57157         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
57158         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
57159         argument of CAS if possible.
57160         * sysdeps/sparc/sparc64/bits/atomic.h
57161         (__arch_compare_and_exchange_val_32_acq): Likewise.
57162         (__arch_compare_and_exchange_val_64_acq): Likewise.
57164 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
57166         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
57167         * sysdeps/posix/ulimit.c: ... this.
57168         Include <limits.h>.
57169         * sysdeps/unix/bsd/ulimit.c: Remove file.
57171 2013-01-23  Adam Conrad  <adconrad@0c3.net>
57173         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
57174         (LDFLAGS-tst-array5): Likewise.
57176 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
57178         [BZ #15036]
57179         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
57180         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
57181         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
57182         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
57184 2013-01-21  David S. Miller  <davem@davemloft.net>
57186         * sysdeps/sparc/backtrace.c: New file.
57187         * sysdeps/sparc/sparc32/backtrace.h: New file.
57188         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
57189         * sysdeps/sparc/sparc64/backtrace.h: New file.
57190         * sysdeps/sparc/sparc64/backtrace.c: Delete.
57191         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
57192         -funwind-tables.
57194 2013-01-21  Andreas Schwab  <schwab@suse.de>
57196         [BZ #15020]
57197         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
57198         closed its stdout.
57200 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
57202         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
57203         "mpa2.h".
57204         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57206 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
57207             Mark Mitchell  <mark@codesourcery.com>
57208             Tom de Vries  <tom@codesourcery.com>
57209             Paul Pluzhnikov  <ppluzhnikov@google.com>
57211         * debug/tst-backtrace2.c: New file.
57212         * debug/tst-backtrace3.c: Likewise.
57213         * debug/tst-backtrace4.c: Likewise.
57214         * debug/tst-backtrace5.c: Likewise.
57215         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
57216         (CFLAGS-tst-backtrace3.c): Likewise.
57217         (CFLAGS-tst-backtrace4.c): Likewise.
57218         (CFLAGS-tst-backtrace5.c): Likewise.
57219         (LDFLAGS-tst-backtrace2): Likewise.
57220         (LDFLAGS-tst-backtrace3): Likewise.
57221         (LDFLAGS-tst-backtrace4): Likewise.
57222         (LDFLAGS-tst-backtrace5): Likewise.
57223         (tests): Add new tests tst-backtrace2, tst-backtrace3,
57224         tst-backtrace4 and tst-backtrace5.
57226 2013-01-18  Anton Blanchard  <anton@samba.org>
57227             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
57229         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
57230         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
57231         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
57232         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
57233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
57234         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
57235         "+r" and remove output regs list as redundant.  Add explicit inline
57236         asm to specify register of return val to work around compiler codegen
57237         bug.  Remove (int) cast on return value.  Add return type parameter to
57238         use in macro so that this macro does not truncate return value for
57239         64-bit values.
57240         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
57241         pass to INTERNAL_VSYSCALL_NCS.
57242         (INLINE_VSYSCALL): Add 'long int' as return type to
57243         INTERNAL_VSYSCALL_NCS macro invocation.
57244         (INTERNAL_VSYSCALL): Add 'long int' as return type to
57245         INTERNAL_VSYSCALL_NCS macro invocation.
57246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
57248 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
57250         [BZ #14496]
57251         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
57252         Fix application of SIMD FP exception mask.
57254         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
57255         mp_no from a power of two.
57256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
57257         __mpexp_twomm1.  Use __pow_mp.
57259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
57260         multiplication.
57262 2013-01-17  David S. Miller  <davem@davemloft.net>
57264         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57266 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57268         [BZ #15023]
57269         * include/complex.h: Condition contents on [!_COMPLEX_H].
57270         (__kernel_casinhf): New prototype.
57271         (__kernel_casinh): Likewise.
57272         (__kernel_casinhl): Likewise.
57273         * math/Makefile (libm_calls): Add k_casinh.
57274         * math/k_casinh.c: New file.
57275         * math/k_casinhf.c: Likewise.
57276         * math/k_casinhl.c: Likewise.
57277         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
57278         finite nonzero arguments.
57279         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
57280         finite nonzero arguments.
57281         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
57282         finite nonzero arguments.
57283         * math/s_casinh.c: Do not include <float.h>.
57284         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
57285         * math/s_casinhf.c: Do not include <float.h>.
57286         (__casinhf): Move code for finite nonzero arguments to
57287         k_casinhf.c.
57288         * math/s_casinhl.c: Do not include <float.h>.
57289         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
57290         redefine.
57291         (__casinhl): Move code for finite nonzero arguments to
57292         k_casinhl.c.
57293         * math/libm-test.inc (cacos_test): Add more tests.
57294         * sysdeps/i386/fpu/libm-test-ulps: Update.
57295         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57297 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
57299         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
57300         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
57301         [!HAVE_MREMAP]: Remove [defined linux] case.
57302         * malloc/arena.c: Do not include <malloc-sysdep.h>.
57304 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
57306         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
57308 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
57310         * elf/elf.h (R_386_SIZE32): New relocation.
57311         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
57312         R_386_SIZE32.
57313         (elf_machine_rela): Likewise.
57314         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
57315         R_X86_64_SIZE64 and R_X86_64_SIZE32.
57317 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
57319         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
57320         (FP_FAST_FMA): Do not define.
57321         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
57322         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
57323         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
57324         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
57325         !_SOFT_FLOAT]: Likewise.
57326         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
57327         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
57328         value.
57329         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
57330         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
57331         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
57332         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
57333         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
57334         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
57335         file.
57337 2013-01-16  Andreas Schwab  <schwab@suse.de>
57339         [BZ #14327]
57340         * include/stdlib.h (__mktemp): Add declaration.
57341         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
57342         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
57344 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57346         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
57347         definitions.
57348         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
57349         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
57350         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
57351         definitions here.
57352         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
57353         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
57354         definitions.
57355         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
57356         and ONE.
57357         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
57358         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
57359         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
57360         definitions.
57361         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
57362         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
57363         definitions.
57364         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
57366         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
57368 2013-01-15  David S. Miller  <davem@davemloft.net>
57370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57371         trunc{,f} to libm-sysdep_routes.
57372         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
57374         file.
57375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
57376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
57377         file.
57378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
57379         file.
57380         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
57381         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
57382         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
57383         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
57384         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
57385         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
57386         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
57387         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
57389         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57390         nearbyint{,f} to libm-sysdep_routes.
57391         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57392         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
57393         New file.
57394         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
57395         file.
57396         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
57397         New file.
57398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
57399         file.
57400         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
57401         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
57402         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
57403         file.
57404         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
57405         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
57406         file.
57407         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
57408         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
57409         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
57411         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
57412         libc_feholdexcept and libc_fesetenv.
57414 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
57416         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
57418 2013-01-14  David S. Miller  <davem@davemloft.net>
57420         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
57421         (SPARC_ASM_VIS2_IFUNC): Likewise.
57422         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
57423         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
57424         use of 'siam' instruction.
57425         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
57426         Likewise.
57427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
57428         Likewise.
57429         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
57430         Likewise.
57431         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
57432         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
57433         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
57434         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
57435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
57436         file.
57437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
57438         file.
57439         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
57440         file.
57441         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
57442         file.
57443         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
57444         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
57445         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
57446         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
57447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
57448         new VIS2 routines.
57449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
57450         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
57451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
57452         Likewise.
57453         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
57454         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
57455         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
57456         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
57457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
57458         routines to libm-sysdep_routines.
57459         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
57461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
57462         fdim/fdimf to libm-sysdep_routines.
57463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
57464         file.
57465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
57466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
57467         file.
57468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
57469         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
57470         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
57471         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
57472         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
57473         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
57474         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
57476 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
57478         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
57479         to optimize copies.
57481         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
57482         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57483         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57485         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
57486         local variable MPTWO.
57487         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
57488         Likewise.
57490 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57492         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
57493         GLOB_NOESCAPE.
57495 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57497         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
57499 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
57501         * manual/pattern.texi (glob_t): Document gl_flags.
57502         (glob64_t): Likewise.
57504 2013-01-11  David S. Miller  <davem@davemloft.net>
57506         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
57507         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
57508         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
57509         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
57510         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
57511         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
57512         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
57513         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
57514         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
57515         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
57516         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
57517         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
57518         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
57520         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57521         sparc V9 rather than using V8 code.
57522         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57523         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57525         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
57526         Move to...
57527         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
57528         Here.
57530 2013-01-11  Roland McGrath  <roland@hack.frob.com>
57532         [BZ #14941]
57533         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
57534         not in the main loop.
57535         * configure: Regenerated.
57537 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
57539         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
57540         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
57541         to just #else.
57542         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
57543         [!__GLIBC_HAVE_LONG_LONG] case.
57544         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
57545         condition to just #else.
57546         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
57547         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
57548         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
57549         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
57550         unconditional.
57551         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
57552         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57553         #elif condition to just #else.
57554         * sysdeps/unix/sysv/linux/sys/sysmacros.h
57555         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
57556         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
57557         #elif condition to just #else.
57559 2013-01-11  Steve Ellcey  <sellcey@mips.com>
57561         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
57562         (EF_MIPS_ARCH_64): Fix value.
57563         (EF_MIPS_ARCH_32R2): New.
57564         (EF_MIPS_ARCH_64R2): New.
57566 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
57568         * Makeconfig (+link-pie-before-libc): New.
57569         (+link-pie-after-libc): Likewise.
57570         (+link-pie-tests): Likewise.
57571         (+link-pie): Rewritten.
57572         (link-before-libc): Remove $(config-LDFLAGS).
57573         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
57574         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
57575         (config-LDFLAGS): Renamed to ...
57576         (rtld-LDFLAGS): This.
57577         (rtld-tests-LDFLAGS): New macro.
57578         (link-libc-rpath-link): Likewise.
57579         (link-libc-tests-rpath-link): Likewise.
57580         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
57581         (link-libc): Prepand $(link-libc-rpath-link).
57582         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
57583         (test-program-prefix): New macro.
57584         (test-via-rtld-prefix): Likewise.
57585         (test-program-cmd): Likewise.
57586         (host-test-program-cmd): Likewise.
57587         * Makefile ($(common-objpfx)testrun.sh): Replace
57588         $(run-program-prefix) with $(test-program-prefix).
57589         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
57590         $(rtld-LDFLAGS).
57591         ($(common-objpfx)shlib.lds): Likewise.
57592         (build-module-helper): Likewise.
57593         ($(common-objpfx)format.lds): Likewise.
57594         * Rules (binaries-pie-tests): New.
57595         (binaries-pie-notests): Likewise.
57596         (binaries-pie): Rewritten.
57597         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
57598         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
57599         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
57600         (make-test-out): Replace $(host-built-program-cmd) with
57601         $(host-test-program-cmd).
57602         * config.make.in (build-hardcoded-path-in-tests): New variable.
57603         * configure.in (--enable-hardcoded-path-in-tests): New configure
57604         option.
57605         (hardcoded_path_in_tests): New AC_SUBST.
57606         * configure: Regenerated.
57607         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
57608         $(built-program-cmd) with $(test-program-cmd).
57609         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
57610         (test_program_cmd): This.
57611         * elf/Makefile ($(objpfx)order.out): Run test with
57612         $(test-program-prefix).
57613         ($(objpfx)order2.out): Likewise.
57614         ($(objpfx)tst-initorder.out): Likewise.
57615         ($(objpfx)tst-initorder2.out): Likewise.
57616         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
57617         $(test-program-cmd).
57618         ($(objpfx)tst-array1-static.out): Likewise.
57619         ($(objpfx)tst-array2.out): Likewise.
57620         ($(objpfx)tst-array3.out): Likewise.
57621         ($(objpfx)tst-array4.out): Likewise.
57622         ($(objpfx)tst-array5.out): Likewise.
57623         ($(objpfx)tst-array5-static.out): Likewise.
57624         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
57625         $(test-program-cmd).
57626         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
57627         $(run-program-prefix) with $(test-program-prefix).
57628         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
57629         (test_program_prefix): This.
57630         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
57631         $(run-program-prefix) with $(test-program-prefix).
57632         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
57633         (test_program_prefix): This.
57634         * iconvdata/tst-tables.sh: Likewise.
57635         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
57636         $(run-program-prefix) with $(test-program-prefix).
57637         ($(objpfx)tst-translit.out): Likewise.
57638         ($(objpfx)tst-gettext2.out): Likewise.
57639         ($(objpfx)tst-gettext4.out): Likewise.
57640         ($(objpfx)tst-gettext6.out): Likewise.
57641         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
57642         (test_program_prefix): This.
57643         * intl/tst-gettext2.sh: Likewise.
57644         * intl/tst-gettext4.sh  Likewise.
57645         * intl/tst-gettext6.sh: Likewise.
57646         * intl/tst-translit.sh: Likewise.
57647         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
57648         with $(test-program-cmd).
57649         * libio/Makefile ($(objpfx)test-freopen.out): Replace
57650         $(run-program-prefix) with $(test-program-prefix).
57651         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
57652         (test_program_prefix): This.
57653         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
57654         $(run-program-prefix) with $(test-program-prefix).
57655         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
57656         (test_program_prefix): This.
57657         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
57658         * posix/Makefile ($(objpfx)globtest.out): Replace
57659         $(run-via-rtld-prefix) and $(test-wrapper) with
57660         $(test-program-prefix) and $(test-via-rtld-prefix).
57661         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
57662         $(test-program-prefix).
57663         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
57664         $(host-test-program-cmd).
57665         (tst-spawn-ARGS): Likewise.
57666         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
57667         $(test-program-prefix).
57668         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
57669         (test_via_rtld_prefix): This.
57670         (test_wrapper): Renamed to ...
57671         (test_program_prefix): This.
57672         (run_program_prefix): Replaced by test_program_prefix.
57673         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
57674         (test_program_prefix): This.
57675         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
57676         with $(host-test-program-cmd).
57677         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
57678         $(run-program-prefix) with $(test-program-prefix).
57679         ($(objpfx)tst-printf.out): Likewise.
57680         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
57681         $(test-program-cmd).
57682         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
57683         (test_program_prefix): This.
57684         * stdio-common/tst-unbputc.sh: Likewise.
57685         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
57686         $(run-program-prefix) with $(test-program-prefix).
57687         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
57688         (test_program_prefix): This.
57689         * string/Makefile ($(objpfx)tst-svc.out):  Replace
57690         $(built-program-cmd) with $(test-program-cmd).
57692 2013-01-11  Andreas Jaeger  <aj@suse.de>
57694         [BZ #15003]
57695         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
57696         value. Sync with Linux 3.7.
57698 2013-01-10  David S. Miller  <davem@davemloft.net>
57700         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
57701         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57702         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57704 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57706         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
57707         never set.
57708         * configure: Regenerated.
57710 2013-01-10  David S. Miller  <davem@davemloft.net>
57712         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
57713         sparc V9 rather than using V8 code.
57714         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
57715         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
57717 2013-01-10  Roland McGrath  <roland@hack.frob.com>
57719         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
57720         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
57721         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
57722         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
57723         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
57724         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
57725         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
57726         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
57727         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
57728         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
57729         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
57730         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
57731         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
57732         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
57733         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
57734         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
57735         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
57736         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
57737         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
57738         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
57739         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
57740         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
57741         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
57742         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
57743         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
57744         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
57745         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
57747 2013-01-10  David S. Miller  <davem@davemloft.net>
57749         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57751 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57753         * posix/Makefile (tests-static): New variable.
57754         (tests): Add $(tests-static).
57755         (tst-exec-static-ARGS): New variable.
57756         (tst-spawn-static-ARGS): Likewise.
57757         * posix/tst-exec-static.c: New file.
57758         * posix/tst-spawn-static.c: Likewise.
57759         * posix/tst-exec.c: Support run directly.
57760         * posix/tst-spawn.c: Likewise.
57762 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
57764         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
57765         long.
57766         * math/bits/mathcalls.h (llrint): Likewise.
57767         (llround): Likewise.
57768         * stdlib/stdlib.h (struct drand48_data): Likewise.
57769         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
57770         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
57771         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
57772         Likewise.
57773         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
57774         Likewise.
57775         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
57776         (elf_greg_t): Likewise.
57777         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
57778         (__jmp_buf): Likewise.
57779         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
57780         definitions.
57781         (llrint): Likewise, for all definitions.
57782         (llrintl): Likewise.
57784         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
57785         Remove [__GNUC__] condition.
57786         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
57787         condition to just [__USE_ISOC99].
57788         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
57790 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
57792         [BZ #14200]
57793         * sysdeps/unix/sysv/linux/x86/bits/environments.h
57794         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
57795         defined.
57796         (_POSIX_V6_ILP32_OFF32): Likewise.
57797         (_XBS5_ILP32_OFF32): Likewise.
57798         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
57799         (__ILP32_OFFBIG_LDFLAGS): Likewise.
57801 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
57803         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
57805         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
57806         doubles __mpexp_twomm1.  Adjust usage.
57807         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
57808         Remove.
57810 2013-01-10  Andreas Schwab  <schwab@suse.de>
57812         [BZ #14964]
57813         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
57814         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
57816 2013-01-09  David S. Miller  <davem@davemloft.net>
57818         [BZ #15003]
57819         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
57820         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
57821         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
57822         (TCP_FASTOPEN): Define.
57823         (tcp_repair_opt): New structure.
57824         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
57825         enum values.
57826         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
57827         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
57828         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
57829         (tcp_cookie_transactions): New structure.
57831 2013-01-09  Anton Blanchard  <anton@samba.org>
57833         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
57834         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
57835         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
57836         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
57838 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
57840         * include/features.h (__USE_ANSI): Remove.
57842 2013-01-09  Roland McGrath  <roland@hack.frob.com>
57844         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
57846         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
57848 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
57850         * sysdeps/s390/fpu/libm-test-ulps: Update.
57852         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57854         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
57855         (__acr): Likewise.
57856         (__cpy): Likewise.
57857         (norm): Likewise.
57858         (denorm): Likewise.
57859         (__mp_dbl): Likewise.
57860         (__dbl_mp): Likewise.
57861         (add_magnitudes): Likewise.
57862         (sub_magnitudes): Likewise.
57863         (__add): Likewise.
57864         (__sub): Likewise.
57865         (__mul): Likewise.
57866         (__inv): Likewise.
57867         (__dvd): Likewise.
57868         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
57869         (__acr): Likewise.
57870         (__cpy): Likewise.
57871         (norm): Likewise.
57872         (denorm): Likewise.
57873         (__mp_dbl): Likewise.
57874         (__dbl_mp): Likewise.
57875         (add_magnitudes): Likewise.
57876         (sub_magnitudes): Likewise.
57877         (__add): Likewise.
57878         (__sub): Likewise.
57879         (__mul): Likewise.
57880         (__inv): Likewise.
57881         (__dvd): Likewise.
57882         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
57883         (__acr): Likewise.
57884         (__cpy): Likewise.
57885         (norm): Likewise.
57886         (denorm): Likewise.
57887         (__mp_dbl): Likewise.
57888         (__dbl_mp): Likewise.
57889         (add_magnitudes): Likewise.
57890         (sub_magnitudes): Likewise.
57891         (__add): Likewise.
57892         (__sub): Likewise.
57893         (__mul): Likewise.
57894         (__inv): Likewise.
57895         (__dvd): Likewise.
57897 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
57899         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
57900         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
57901         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
57902         2 && __USE_EXTERN_INLINES]: Likewise.
57904 2013-01-08  Andreas Jaeger  <aj@suse.de>
57906         [BZ# 14985]
57907         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
57908         Remove.
57909         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57910         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
57912 2013-01-07  Anton Blanchard  <anton@samba.org>
57914         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
57915         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
57916         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
57917         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
57918         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
57919         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
57920         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
57921         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
57922         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
57923         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
57924         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
57925         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
57926         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
57927         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
57928         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
57929         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
57930         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
57931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
57932         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
57933         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
57934         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
57935         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
57936         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
57937         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
57938         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
57939         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
57940         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
57941         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
57942         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
57943         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
57944         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
57945         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
57946         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
57947         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
57948         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
57949         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
57950         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
57951         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
57952         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
57953         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
57954         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
57955         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
57956         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
57958 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
57960         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
57961         (__MALLOC_PMT): Likewise.
57962         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
57963         [__GNUC__], only on [_LIBC].
57964         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57965         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
57966         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
57967         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
57968         forward declaration.
57969         (realloc_hook_ini): Likewise.
57970         (memalign_hook_ini): Likewise.
57971         (__libc_memalign): Do not use __MALLOC_PMT in variable
57972         declaration.
57973         (__libc_valloc): Likewise.
57974         (__libc_pvalloc): Likewise.
57975         (__libc_calloc): Likewise.
57976         (__posix_memalign): Likewise.
57978         [BZ #14996]
57979         * math/s_casinh.c: Include <float.h>.
57980         (__casinh): Do not do computation with squaring and square root
57981         for large arguments.
57982         * math/s_casinhf.c: Include <float.h>.
57983         (__casinhf): Do not do computation with squaring and square root
57984         for large arguments.
57985         * math/s_casinhl.c: Include <float.h>.
57986         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
57987         (__casinhl): Do not do computation with squaring and square root
57988         for large arguments.
57989         * math/libm-test.inc (casin_test): Add more tests.
57990         (casinh_test): Likewise.
57991         * sysdeps/i386/fpu/libm-test-ulps: Update.
57992         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57994 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
57996         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
57997         (__x86_64_raw_data_cache_size): Likewise.
57998         (__x86_64_data_cache_size_half): Likewise.
57999         (__x86_64_raw_data_cache_size_half): Likewise.
58000         (__x86_64_shared_cache_size): Likewise.
58001         (__x86_64_raw_shared_cache_size): Likewise.
58002         (__x86_64_shared_cache_size_half): Likewise.
58003         (__x86_64_raw_shared_cache_size_half): Likewise.
58004         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
58005         to ...
58006         (__x86_data_cache_size): This.
58007         (__x86_64_raw_data_cache_size): Renamed to ...
58008         (__x86_raw_data_cache_size): This.
58009         (__x86_64_data_cache_size_half): Renamed to ...
58010         (__x86_data_cache_size_half): This.
58011         (__x86_64_raw_data_cache_size_half): Renamed to ...
58012         (__x86_raw_data_cache_size_half): This.
58013         (__x86_64_shared_cache_size): Renamed to ...
58014         (__x86_shared_cache_size): This.
58015         (__x86_64_raw_shared_cache_size): Renamed to ...
58016         (__x86_raw_shared_cache_size): This.
58017         (__x86_64_shared_cache_size_half): Renamed to ...
58018         (__x86_shared_cache_size_half): This.
58019         (__x86_64_raw_shared_cache_size_half): Renamed to ...
58020         (__x86_raw_shared_cache_size_half): This.
58021         * sysdeps/x86_64/memcpy.S: Updated.
58022         * sysdeps/x86_64/memset.S: Likewise.
58023         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
58024         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
58025         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
58027 2013-01-04  David S. Miller  <davem@davemloft.net>
58029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58031 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
58033         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
58034         1 to avoid redefinition warning.
58035         (__USE_GNU): Don't define.
58036         (init_signaling_nan): Protoize.
58038         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58040 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58042         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
58043         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
58044         (__cpymn): Likewise.
58045         (norm): Remove commented code.
58046         (denorm): Likewise.
58047         (__mp_dbl): Likewise.
58048         (__inv): Likewise.
58049         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
58050         (__cpymn): Likewise.
58051         (norm): Remove commented code.
58052         (denorm): Likewise.
58053         (__mp_dbl): Likewise.
58054         (__inv): Likewise.
58056         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
58057         mp_no value for 1.0 and 2.0.
58058         (norm): Use RADIXI instead of radixi.d.
58059         (denorm): Likewise.
58060         (__mul): Use 0.0 instead of zero.d.
58061         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
58062         mp_no value for 1.0 and 2.0.
58063         (norm): Use RADIXI instead of radixi.d.
58064         (denorm): Likewise.
58065         (__mul): Use 0.0 instead of zero.d.
58067 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
58069         [BZ #14994]
58070         * math/s_casinh.c (__casinh): Reduce finite argument to first
58071         quadrant then set signs of results at the end.
58072         * math/s_casinhf.c (__casinhf): Likewise.
58073         * math/s_casinhl.c (__casinhl): Likewise.
58074         * math/libm-test.inc (casin_test): Add more tests.
58075         (casinh_test): Likewise.
58076         * sysdeps/i386/fpu/libm-test-ulps: Update.
58077         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58079 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
58081         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
58083         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
58085         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
58086         declarations.
58087         (denorm): Likewise.
58088         (__mp_dbl): Likewise.
58089         (__inv): Likewise.
58091         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
58092         and adjust the header comment.
58094         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
58095         variable name from declaration.
58097 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
58099         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
58100         Initialize COMMON_CPUID_INDEX_7 element.
58101         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
58102         (CPUID_RTM): Likewise.
58103         (HAS_RTM): Likewise.
58104         (COMMON_CPUID_INDEX_7): New enum.
58106 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
58108         [BZ #14981]
58109         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
58110         size is zero, record memory as freed.
58112 2013-01-03  Andreas Jaeger  <aj@suse.de>
58114         * po/ia.po: Add new Interlingua translation.
58116 2012-01-03  Allan McRae  <allan@archlinux.org>
58118         * locale/programs/localedef.c: Fix description of '--posix' flag.
58120 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
58122         * NEWS: Update dates in second copyright notice.
58123         * README: Update copyright dates in example.
58124         * manual/libc.texinfo: Update copyright dates.
58125         * scripts/test-installation.pl: Update copyright date in --version
58126         output.
58128         * hurd/ctty-input.c: Fix copyright notice formatting.
58129         * hurd/ctty-output.c: Likewise.
58130         * hurd/dtable.c: Likewise.
58131         * hurd/hurd-raise.c: Likewise.
58132         * hurd/hurdprio.c: Likewise.
58133         * hurd/msgportdemux.c: Likewise.
58134         * misc/sys/file.h: Likewise.
58135         * misc/sys/ioctl.h: Likewise.
58136         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58137         * sysdeps/mach/hurd/chdir.c: Likewise.
58138         * sysdeps/mach/hurd/fchdir.c: Likewise.
58139         * sysdeps/mach/hurd/rename.c: Likewise.
58140         * sysdeps/mach/hurd/rmdir.c: Likewise.
58141         * sysdeps/mach/hurd/seekdir.c: Likewise.
58142         * sysdeps/mach/hurd/setsid.c: Likewise.
58143         * sysdeps/posix/wait3.c: Likewise.
58145         * All files with FSF copyright notices: Update copyright dates
58146         using scripts/update-copyrights.
58147         * intl/plural.c: Regenerated.
58148         * locale/programs/charmap-kw.h: Likewise.
58149         * locale/programs/locfile-kw.h: Likewise.
58151 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
58153         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
58154         four values.
58156         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
58157         calculation loop and add branch prediction.
58159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
58160         check access beyond bounds of m1np.
58162         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58163         MPTWO.
58164         (__inv): Remove local variable MPTWO to use the global
58165         constant.
58166         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
58167         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58168         variable MPTWO.
58169         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
58170         MP3HALFS static const.
58172 2013-01-01  David S. Miller  <davem@davemloft.net>
58174         * po/ca.po: Update from translation team.
58176 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
58178         * scripts/update-copyrights: New file.
58179         * Makeconfig: Reformat copyright notice.
58180         * ctype/ctype.h: Likewise.
58181         * debug/swprintf_chk.c: Likewise.
58182         * elf/dl-cache.c: Likewise.
58183         * elf/dl-debug.c: Likewise.
58184         * elf/dl-object.c: Likewise.
58185         * grp/initgroups.c: Likewise.
58186         * hurd/Makefile: Likewise.
58187         * hurd/hurd/signal.h: Likewise.
58188         * hurd/hurdfault.c: Likewise.
58189         * hurd/hurdioctl.c: Likewise.
58190         * hurd/hurdlookup.c: Likewise.
58191         * hurd/intr-msg.c: Likewise.
58192         * iconv/gconv_open.c: Likewise.
58193         * libio/swprintf.c: Likewise.
58194         * locale/lc-ctype.c: Likewise.
58195         * locale/nl_langinfo.c: Likewise.
58196         * mach/Machrules: Likewise.
58197         * mach/Makefile: Likewise.
58198         * malloc/obstack.h: Likewise.
58199         * manual/Makefile: Likewise.
58200         * manual/tsort.awk: Likewise.
58201         * misc/bits/stab.def: Likewise.
58202         * nis/nis_print_group_entry.c: Likewise.
58203         * nis/nis_table.c: Likewise.
58204         * nis/nss_compat/compat-pwd.c: Likewise.
58205         * nis/nss_compat/compat-spwd.c: Likewise.
58206         * po/Makefile: Likewise.
58207         * posix/fnmatch.c: Likewise.
58208         * posix/regex.h: Likewise.
58209         * resolv/Makefile: Likewise.
58210         * resolv/nss_dns/dns-network.c: Likewise.
58211         * resolv/res_hconf.c: Likewise.
58212         * scripts/gen-sorted.awk: Likewise.
58213         * soft-fp/soft-fp.h: Likewise.
58214         * stdio-common/printf.h: Likewise.
58215         * stdlib/monetary.h: Likewise.
58216         * stdlib/random.c: Likewise.
58217         * stdlib/random_r.c: Likewise.
58218         * sysdeps/generic/Makefile: Likewise.
58219         * sysdeps/gnu/Makefile: Likewise.
58220         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
58221         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58222         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
58223         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58224         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
58225         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58226         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
58227         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58228         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58229         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58230         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58231         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58232         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
58233         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
58234         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
58235         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
58236         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58237         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58238         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
58239         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
58240         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
58241         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
58242         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
58243         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
58244         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
58245         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
58246         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
58247         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
58248         * sysdeps/mach/hurd/errnos.awk: Likewise.
58249         * sysdeps/mach/hurd/fork.c: Likewise.
58250         * sysdeps/mach/hurd/getcwd.c: Likewise.
58251         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
58252         * sysdeps/mach/hurd/mmap.c: Likewise.
58253         * sysdeps/mach/hurd/utimes.c: Likewise.
58254         * sysdeps/mach/hurd/xmknod.c: Likewise.
58255         * sysdeps/posix/profil.c: Likewise.
58256         * sysdeps/posix/readdir_r.c: Likewise.
58257         * sysdeps/powerpc/bits/mathdef.h: Likewise.
58258         * sysdeps/powerpc/bits/setjmp.h: Likewise.
58259         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
58260         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
58261         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
58262         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
58263         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
58264         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
58265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
58266         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
58267         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
58268         * sysdeps/pthread/lio_listio.c: Likewise.
58269         * sysdeps/sparc/dl-procinfo.h: Likewise.
58270         * sysdeps/unix/i386/sysdep.S: Likewise.
58271         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
58272         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
58273         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
58274         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
58275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
58276         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
58277         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
58278         * sysdeps/unix/sysv/linux/speed.c: Likewise.
58279         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
58280         * sysdeps/wordsize-32/divdi3.c: Likewise.
58281         * time/sys/time.h: Likewise.
58282         * wcsmbs/Makefile: Likewise.
58284 2013-01-01  David S. Miller  <davem@davemloft.net>
58286         * po/fr.po: Update from translation team.
58288         * catgets/gencat.c: Update copyright year.
58289         * csu/version.c: Likewise.
58290         * debug/catchsegv.sh: Likewise.
58291         * debug/pcprofiledump.c: Likewise.
58292         * debug/xtrace.sh: Likewise.
58293         * elf/ldconfig.c: Likewise.
58294         * elf/ldd.bash.in: Likewise.
58295         * elf/pldd.c: Likewise.
58296         * elf/sotruss.ksh: Likewise.
58297         * elf/sprof.c: Likewise.
58298         * iconv/iconv_prog.c: Likewise.
58299         * iconv/iconvconfig.c: Likewise.
58300         * locale/programs/locale.c: Likewise.
58301         * locale/programs/localedef.c: Likewise.
58302         * login/programs/pt_chown.c: Likewise.
58303         * malloc/memusage.sh: Likewise.
58304         * malloc/memusagestat.c: Likewise.
58305         * malloc/mtrace.pl: Likewise.
58306         * nscd/nscd.c: Likewise.
58307         * nss/getent.c: Likewise.
58308         * nss/makedb.c: Likewise.
58309         * posix/getconf.c: Likewise.
58311 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
58313         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
58314         numbers.
58316 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
58318         * math/bits/mathcalls.h (modf): Use __nonnull.
58320 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
58322         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
58323         (split): Use macro CN instead of the bare value.
58324         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
58325         could be used.
58326         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
58327         instead of the bare value.
58328         (power1): Likewise.
58330 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58332         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
58333         __ATAN_TWOM.
58334         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58336         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
58337         their values.
58338         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
58339         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58340         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
58341         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
58343 2012-12-28  Andreas Jaeger  <aj@suse.de>
58345         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
58346         values are from Linux 3.7.
58348         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
58349         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
58351 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58353         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
58354         TRUE case.
58356         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
58357         (norm): Likewise.
58358         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
58359         variables with preprocessor constants.
58360         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
58361         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
58362         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
58364 2012-12-27  Bruno Haible  <bruno@clisp.org>
58366         [BZ #14317]
58367         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
58368         only if needed.
58370 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58372         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
58373         and use variable directly.
58374         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
58376         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
58377         MPONE.
58378         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
58379         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
58380         variable MPONE.
58381         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58383         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
58384         include directive.  Remove local variable MPONE.
58385         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
58386         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
58387         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
58389 2012-12-25  David S. Miller  <davem@davemloft.net>
58391         * version.h (RELEASE): Set to "development".
58392         (VERSION): Set to "2.17.90".
58393         * NEWS: Add 2.18 section.
58395 2012-12-21  David S. Miller  <davem@davemloft.net>
58397         * po/hr.po: Update from translation team.
58399 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
58401         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
58403 2012-12-19  Steve Ellcey  <sellcey@mips.com>
58405         * NEWS:  Mention new memcpy for MIPS.
58407 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58409         * manual/contrib.texi (Contributors): Spelling correction.
58411 2012-12-15  David S. Miller  <davem@davemloft.net>
58413         * po/ru.po: Update from translation team.
58415 2012-12-13  David S. Miller  <davem@davemloft.net>
58417         * NEWS: Mention IFUNC testsuite enhancements.
58419         * po/pl.po: Update from translation team.
58420         * po/bg.po: Likewise.
58422         * manual/contrib.texi (Contributors): Update entries for Hongjiu
58423         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
58425 2012-12-11  David S. Miller  <davem@davemloft.net>
58427         * po/sv.po: Update from translation team.
58429         * po/vi.po: Update from translation team.
58431         * po/cs.po: Update from translation team.
58433         * po/de.po: Update from translation team.
58434         * po/eo.po: Likewise.
58435         * po/nl.po: Likewise.
58437 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
58439         [BZ #14246]
58440         * manual/argp.texi (Argp Helper Functions): Move node to follow
58441         Argp Parsing State.
58443         [BZ #14872]
58444         * manual/conf.texi (Limits on File System Capacity): Mention if
58445         terminating null is included in the max size.
58447 2012-12-10  Andreas Jaeger  <aj@suse.de>
58449         * po/cs.po: Update from translation team.
58451 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
58453         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
58454         void pointer and cast to uintptr_t.
58455         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
58456         path.
58457         * sysdeps/s390/s390-64/memcpy.S: Likewise.
58458         * sysdeps/s390/s390-64/memset.S: Likewise.
58460 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
58462         [BZ #14833]
58463         * menual/message.texi (Message Translation): Fix typos.
58464         (Helper programs for gettext): Likewise.
58466 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
58468         [BZ #14898]
58469         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
58470         Change to -1.
58472 2012-12-07  David S. Miller  <davem@davemloft.net>
58474         * po/libc.pot: Update.
58476 2012-12-07  Richard Henderson  <rth@redhat.com>
58478         [BZ #10114]
58479         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
58480         normal/normal case to before the switch.
58481         (_FP_DIV): Likewise.
58483 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
58484             Mike Frysinger  <vapier@gentoo.org>
58486         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
58487         check for __NR_fadvise64_64.
58489 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
58491         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
58492         0, not just to plain "0" as a statement.
58493         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
58494         with cw.
58496 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
58498         * NEWS: Use sourceware.org in Bugzilla URL.
58500 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
58502         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
58503         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58505         * stdio-common/tst-put-error.c (do_test): Add newline to the
58506         padded test to ensure flush.
58508 2012-12-05  Jeff Law  <law@redhat.com>
58510         * sunrpc/etc.rpc (fedfs_admin): Add entry.
58512 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
58514         * README: Don't refer to ports add-on as distributed separately.
58515         Mention AArch64 in list of systems supported in the ports add-on.
58517         * LICENSES: Add more non-FSF copyright and license notices.
58519         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
58520         ((unused)).
58522         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
58524         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
58525         10000 as width of padded output.
58527 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58529         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
58531         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
58532         variable LX with __attribute__ ((unused)).
58533         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
58534         Likewise.
58535         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
58536         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
58537         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
58538         with __attribute__ ((unused)).
58540 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
58542         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
58544 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
58546         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
58547         (CFLAGS-nldbl-acos.c): New variable.
58548         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
58549         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
58550         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
58551         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
58552         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
58553         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
58554         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
58555         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
58556         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
58557         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
58558         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
58559         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
58560         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
58561         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
58562         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
58563         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
58564         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
58565         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
58566         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
58567         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
58568         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
58569         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
58570         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
58571         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
58572         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
58573         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
58574         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
58575         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
58576         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
58577         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
58578         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
58579         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
58580         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
58581         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
58582         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
58583         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
58584         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
58585         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
58586         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
58587         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
58588         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
58589         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
58590         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
58591         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
58592         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
58593         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
58594         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
58595         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
58596         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
58597         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
58598         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
58599         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
58600         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
58601         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
58602         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
58603         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
58604         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
58605         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
58606         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
58607         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
58608         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
58609         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
58610         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
58611         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
58612         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
58613         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
58614         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
58615         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
58616         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
58617         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
58618         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
58619         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
58620         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
58621         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
58622         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
58623         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
58624         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
58625         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
58626         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
58627         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
58628         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
58629         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
58630         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
58631         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
58632         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
58633         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
58634         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
58635         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
58636         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
58637         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
58638         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
58639         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
58640         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
58641         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
58642         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
58643         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
58644         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
58646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
58647         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
58649         [BZ #14914]
58650         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
58651         whole low double instead of just low 47 bits when splitting values
58652         into two parts.
58654 2012-12-03  Allan McRae  <allan@archlinux.org>
58656         * manual/stdio.texi (Predefined Printf Handlers): Remove
58657         @hsep and @vsep usage.
58659 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
58661         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
58662         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
58664 2012-12-03  Jeff Law  <law@redhat.com>
58666         * time/sys/time.h (settimeofday): Do not mark TV argument
58667         as __nonnull.
58669 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
58671         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
58672         when currently writing and seek to current position when not.
58673         * libio/Makefile (tests): Remove bug-fclose1.
58674         * libio/bug-fclose1.c: Delete.
58676 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
58678         * manual/arith.texi (feenableexcept): Fix typo.
58679         (fedisableexcept): Likewise.
58681 2012-11-30  Roland McGrath  <roland@hack.frob.com>
58683         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
58684         second, differently-typed declaration, rather than a cast.
58686 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58688         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
58689         * include/rpc/svc.h: ... here.
58691 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
58693         [BZ #13013]
58694         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
58695         depending n and resplen2 to catch cases where answer
58696         equals answerp2.
58698 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
58700         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
58701         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
58703 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
58705         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
58707 2012-11-29  Roland McGrath  <roland@hack.frob.com>
58709         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
58711 2012-11-28  Jeff Law  <law@redhat.com>
58713         [BZ #13761]
58714         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
58715         dataset_temporary.  Track alloca usage into alloca_used.
58716         If dataset is large allocate and release it via malloc/free.
58718 2012-06-04  Florian Weimer  <fweimer@redhat.com>
58720         [BZ #14197]
58721         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
58723 2012-11-28  David S. Miller  <davem@davemloft.net>
58725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58727 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58729         [BZ #14803]
58730         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
58731         of pi/2 rounded to nearest to 64 bits.
58732         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
58733         nearest to 64 bits.
58734         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
58735         bits.
58737 2012-11-28  Jeff Law <law@redhat.com>
58738             Martin Osvald <mosvald@redhat.com>
58740         [BZ #14889]
58741         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
58742         * sunrpc/svc.c: Include time.h.
58743         (__svc_accept_failed): New function.
58744         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
58745         any reason other than EINTR, call __svc_accept_failed.
58746         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
58747         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
58749 2012-11-28  Andreas Schwab  <schwab@suse.de>
58751         * scripts/abilist.awk: Also handle indirect functions in .opd
58752         section.
58754 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
58756         [BZ #13881]
58757         * sysdeps/x86/fpu/powl_helper.c: New file.
58758         * sysdeps/x86/fpu/Makefile: Likewise.
58759         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
58760         (p3): New object.
58761         (__ieee754_powl): Use __powl_helper for finite arguments except
58762         integer exponents below 8.
58763         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
58764         (p3): New object.
58765         (__ieee754_powl): Use __powl_helper for finite arguments except
58766         integer exponents below 8.
58767         * math/libm-test.inc (pow_test): Add more tests and enable some
58768         previously disabled tests.
58769         * sysdeps/i386/fpu/libm-test-ulps: Update.
58770         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58772 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58773             Carlos O'Donell  <carlos_odonell@mentor.com>
58775         * nss/makedb.c (is_prime): Assert that input is odd and greater
58776         than 4.  Note that fact in a comment too.
58777         (next_prime): Add 4 to input.
58779 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
58781         [BZ #11741]
58782         * libio/Makefile (tests): Add test case tst-fwrite-error.
58783         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
58784         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
58785         * libio/tst-fwrite-error.c: New test case.
58787 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
58789         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
58790         before casting to void *.
58791         * include/libc-internal.h (__pointer_type): New macro.
58792         (__integer_if_pointer_type_sub): Likewise.
58793         (__integer_if_pointer_type): Likewise.
58794         (cast_to_integer): Likewise.
58795         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
58796         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
58797         before casting to atomic64_t.
58798         (atomic_exchange_acq): Likewise.
58799         (__arch_exchange_and_add_body): Likewise.
58800         (__arch_add_body): Likewise.
58801         (atomic_add_negative): Likewise.
58802         (atomic_add_zero): Likewise.
58804 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
58806         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
58807         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
58808         (add_fdes): Likewise.
58809         (linear_search_fdes): Likewise.
58810         (binary_search_unencoded_fdes): Likewise.
58812 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
58814         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
58816 2012-11-24  Adam Conrad  <adconrad@0c3.net>
58818         * configure.in: Autodetect C++ header directories.
58819         * configure: Regenerated.
58821 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
58823         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
58825 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
58827         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58829 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
58831         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
58832         LDBL_MANT_DIG == 106]: Disable some tests.
58833         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58834         Likewise.
58835         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
58836         Likewise.
58838         [BZ #14871]
58839         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
58840         input for small inputs.  Return +/- pi/2 for large inputs.
58841         * math/libm-test.inc (atan_test): Add more tests.
58843         * sysdeps/generic/unwind-dw2-fde-glibc.c
58844         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
58845         __attribute__ ((unused)).
58847         [BZ #14645]
58848         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
58849         x * y if x and y are nonzero and z is zero.
58851         [BZ #14811]
58852         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
58853         nonzero exponents with absolute value below 0x1p-117 to +/-
58854         0x1p-117.
58856         [BZ #14869]
58857         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
58858         up arguments below 2**-450, not just those below 2**-500.
58859         * math/libm-test.inc (hypot_test): Add another test.
58861         [BZ #14868]
58862         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
58863         Return a+b for ratio over 2**120, not 2**60.
58864         * math/libm-test.inc (hypot_test): Add another test.
58866         * math/libm-test.inc (clog_test): Use
58867         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
58868         (clog10_test): Likewise.
58870         [BZ #6778]
58871         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
58873 2012-11-22  Andreas Schwab  <schwab@suse.de>
58875         * sysdeps/i386/fpu/libm-test-ulps: Update.
58877 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
58879         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
58880         printf output with newline.
58882 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
58884         [BZ #14865]
58885         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
58886         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
58887         -z nodlopen, -z initfirst and -z execstack support.
58888         * configure: Regenerated.
58890         * elf/elf.h (DF_1_NODIRECT): New macro.
58891         (DF_1_IGNMULDEF): Likewise.
58892         (DF_1_NOKSYMS): Likewise.
58893         (DF_1_NOHDR): Likewise.
58894         (DF_1_EDITED): Likewise.
58895         (DF_1_NORELOC): Likewise.
58896         (DF_1_SYMINTPOSE): Likewise.
58897         (DF_1_GLOBAUDIT): Likewise.
58898         (DF_1_SINGLETON): Likewise.
58899         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
58900         DT_1_SUPPORTED_MASK bits.
58901         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
58903 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
58905         * sysdeps/unix/make-syscalls.sh: Document prefixes.
58907 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
58909         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
58910         macro.
58912         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
58913         (sendmmsg): Move declarations...
58914         * socket/sys/socket.h: ... here.
58915         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
58916         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
58917         include it from...
58918         * socket/recvmmsg.c: ... this new file.
58919         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
58920         (sendmmsg): Rename to __sendmmsg, create weak alias and make
58921         definition of __sendmmsg hidden.
58922         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
58923         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
58924         Move ENOSYS stub into and include it from...
58925         * socket/sendmmsg.c: ... this new file.
58926         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
58927         (sysdep_routines): Move recvmmsg and sendmmsg...
58928         * socket/Makefile (routines): ... here.
58929         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
58930         (GLIBC_PRIVATE): Add __sendmmsg.
58931         * include/sys/socket.h (__sendmmsg): Add declarations.
58932         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
58933         sendmmsg.
58935 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
58937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
58938         variable I1 with __attribute__ ((unused)).
58939         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
58941 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58943         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
58944         DUMMY variables with __attribute__ ((unused)).
58946         * bits/byteswap.h: Include <bits/types.h>.
58947         (__bswap_64): Use __uint64_t instead of unsigned long long int.
58949 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
58951         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
58952         string_t.  Do not manually set errno.
58953         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
58954         length with __strnlen.  Make sure to both set errno and return it on
58955         failure.
58957 2012-11-19  David S. Miller  <davem@davemloft.net>
58959         With help from Joseph Myers.
58960         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
58961         very large arguments properly.
58962         * math/libm-test.inc (atan_test): New tests.
58963         (atan2_test): New tests.
58964         * sysdeps/sparc/fpu/libm-test-ulps: Update.
58965         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58967 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
58969         [BZ #14856]
58970         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
58971         Define to 3.
58973         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
58974         [POSIX] (EADDRNOTAVAIL): Likewise.
58975         [POSIX] (EAFNOSUPPORT): Likewise.
58976         [POSIX] (EALREADY): Likewise.
58977         [POSIX] (ECONNABORTED): Likewise.
58978         [POSIX] (ECONNREFUSED): Likewise.
58979         [POSIX] (ECONNRESET): Likewise.
58980         [POSIX] (EDESTADDRREQ): Likewise.
58981         [POSIX] (EDQUOT): Likewise.
58982         [POSIX] (EHOSTUNREACH): Likewise.
58983         [POSIX] (EIDRM): Likewise.
58984         [POSIX] (EISCONN): Likewise.
58985         [POSIX] (ELOOP): Likewise.
58986         [POSIX] (EMULTIHOP): Likewise.
58987         [POSIX] (ENETDOWN): Likewise.
58988         [POSIX] (ENETUNREACH): Likewise.
58989         [POSIX] (ENOBUFS): Likewise.
58990         [POSIX] (ENODATA): Likewise.
58991         [POSIX] (ENOLINK): Likewise.
58992         [POSIX] (ENOMSG): Likewise.
58993         [POSIX] (ENOPROTOOPT): Likewise.
58994         [POSIX] (ENOSR): Likewise.
58995         [POSIX] (ENOSTR): Likewise.
58996         [POSIX] (ENOTCONN): Likewise.
58997         [POSIX] (ENOTSOCK): Likewise.
58998         [POSIX] (EOPNOTSUPP): Likewise.
58999         [POSIX] (EOVERFLOW): Likewise.
59000         [POSIX] (EPROTO): Likewise.
59001         [POSIX] (EPROTONOSUPPORT): Likewise.
59002         [POSIX] (EPROTOTYPE): Likewise.
59003         [POSIX] (ESTALE): Likewise.
59004         [POSIX] (ETIME): Likewise.
59005         [POSIX] (ETXTBSY): Likewise.
59006         [POSIX] (EWOULDBLOCK): Likewise.
59007         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
59008         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
59009         [POSIX] (SEEK_CUR): Likewise.
59010         [POSIX] (SEEK_END): Likewise.
59011         [POSIX || UNIX98] (mode_t): Do not require.
59012         [POSIX] (off_t): Likewise.
59013         [POSIX] (pid_t): Likewise.
59014         [POSIX] (sys/stat.h): Do not allow header.
59015         [POSIX] (unistd.h): Likewise.
59016         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
59017         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
59018         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
59019         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
59020         require.
59021         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
59022         sigevent): Specify elements.
59023         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
59024         entry.
59025         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
59026         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
59028         * conform/data/cpio.h-data [POSIX]: Disable whole file.
59029         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
59030         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
59031         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
59032         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
59033         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
59034         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
59035         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
59036         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
59037         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
59038         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
59039         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
59040         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
59041         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
59042         Likewise.
59043         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
59044         Likewise.
59045         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
59046         Likewise.
59047         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
59048         Likewise.
59049         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
59050         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
59051         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
59052         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
59053         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
59054         Specify lower bound on value.
59055         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
59056         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
59057         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
59058         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
59059         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
59060         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
59061         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
59062         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
59063         value.
59064         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
59065         as optional.
59066         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
59067         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
59068         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
59069         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
59070         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
59071         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
59072         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
59073         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
59074         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
59075         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
59076         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
59077         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
59078         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
59079         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
59080         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
59081         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
59082         entry.
59083         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
59084         optional.
59085         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
59086         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
59087         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
59088         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
59089         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
59090         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
59091         Likewise.
59092         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
59093         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
59094         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
59095         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
59096         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
59097         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
59098         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
59099         as optional.
59100         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
59101         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
59102         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
59103         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
59104         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
59105         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
59106         specify as optional.
59107         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
59108         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
59109         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
59110         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
59111         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
59112         [XPG3] (NL_LANGMAX): Likewise.
59113         [POSIX || XPG3] (NL_MSGMAX): Likewise.
59114         [POSIX || XPG3] (NL_NMAX): Likewise.
59115         [POSIX || XPG3] (NL_SETMAX): Likewise.
59116         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
59117         [XPG3] (NZERO): Likewise.
59118         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
59119         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
59120         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
59121         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
59122         (REG_ERANGE): Expect.
59123         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
59124         optional-constant.
59125         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
59126         Use (void) in prototype.
59127         [POSIX] (*_t): Allow.
59128         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
59129         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
59130         (WRDE_BADVAL): Expect.
59132         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
59133         expect.
59134         [XPG3 || XPG4] (O_RSYNC): Likewise.
59135         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
59136         Likewise.
59137         [XPG3 || XPG4] (pthread_sigmask): Likewise.
59138         [XPG3 || XPG4] (sigqueue): Likewise.
59139         [XPG3 || XPG4] (sigtimedwait): Likewise.
59140         [XPG3 || XPG4] (sigwaitinfo): Likewise.
59141         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
59142         [XPG3 || XPG4] (vsnprintf): Likewise.
59143         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
59144         Likewise.
59145         [XPG3 || XPG4] (blksize_t): Likewise.
59146         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
59147         Likewise.
59148         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
59149         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
59150         [XPG3 || XPG4] (struct itimerspec): Likewise.
59151         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
59152         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
59153         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
59154         [XPG3 || XPG4] (clockid_t): Likewise.
59155         [XPG3 || XPG4] (timer_t): Likewise.
59156         [XPG3 || XPG4] (clock_getres): Likewise.
59157         [XPG3 || XPG4] (clock_gettime): Likewise.
59158         [XPG3 || XPG4] (clock_settime): Likewise.
59159         [XPG3 || XPG4] (nanosleep): Likewise.
59160         [XPG3 || XPG4] (timer_create): Likewise.
59161         [XPG3 || XPG4] (timer_delete): Likewise.
59162         [XPG3 || XPG4] (timer_gettime): Likewise.
59163         [XPG3 || XPG4] (timer_getoverrun): Likewise.
59164         [XPG3 || XPG4] (timer_settime): Likewise.
59165         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
59166         [XPG3 || XPG4] (getlogin_r): Likewise.
59167         [XPG3 || XPG4] (pread): Likewise.
59168         [XPG3 || XPG4] (pthread_atfork): Likewise.
59169         [XPG3 || XPG4] (pwrite): Likewise.
59171         [BZ #14835]
59172         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
59173         <bits/siginfo.h>.
59175 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
59177         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
59178         finalizing MALLSTREAM.
59180         * sysdeps/mach/hurd/syncfs.c: New file.
59182 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
59184         [BZ #14719]
59185         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
59186         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
59187         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
59188         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
59189         (_nss_dns_gethostbyname4_r): Likewise.
59190         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
59191         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
59193 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
59195         [BZ #13763]
59196         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
59198 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
59200         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
59201         * elf/cache.c (print_entry): Print ",AArch64" for
59202         FLAG_AARCH64_LIB64
59204         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
59205         * elf/cache.c (print_entry): Print ",hard-float" for
59206         FLAG_ARM_LIBHF.
59208 2012-11-18  David S. Miller  <davem@davemloft.net>
59210         With help from Joseph Myers.
59211         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
59212         cutoff to 2**-13.
59213         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
59214         cutoff to 2**-25.
59215         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
59216         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
59217         small.
59218         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
59219         * math/libm-test.inc (y0_test): New tests.
59220         (y1_test): New tests.
59221         * sysdeps/i386/fpu/libm-test-ulps: Update.
59222         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59223         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59225 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
59227         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
59228         64-bit targets.
59229         * configure: Regenerated.
59231 2012-11-17  David S. Miller  <davem@davemloft.net>
59233         [BZ #14811]
59234         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
59235         nonzero exponents with absolute value below 0x1p-128 to +/-
59236         0x1p-128.
59238 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
59240         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
59242         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
59244         * posix/getconf-speclist.c: New file.
59245         * posix/posix-envs.def: Likewise.
59246         * posix/confstr.c (START_ENV_GROUP): New macro.
59247         (END_ENV_GROUP): Likewise.
59248         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59249         (KNOWN_PRESENT_ENV_STRING): Likewise.
59250         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59251         (UNKNOWN_ENVIRONMENT): Likewise.
59252         (confstr): Include posix-envs.def instead of handling
59253         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
59254         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
59255         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
59256         (END_ENV_GROUP): Likewise.
59257         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
59258         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
59259         (UNKNOWN_ENVIRONMENT): Likewise.
59260         (__sysconf): Include posix-envs.def instead of handling associated
59261         cases directly here.
59262         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
59263         preprocessing getconf-speclist.c rather than running getconf or
59264         generating empty file.
59266 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
59268         * scripts/check-local-headers.sh: Ignore 'mach' headers.
59270 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
59272         [BZ #14672]
59273         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
59275 2012-11-16  David S. Miller  <davem@davemloft.net>
59277         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
59278         smaller than LDBL_EPSILON/2.0L, just return xm1.
59280 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
59282         * elf/tst-array1.c (init): Set constructor priority to 1000.
59283         (fini): Set destructor priority to 1000.
59284         * elf/tst-array2dep.c: Likewise.
59286 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59288         [BZ #11741]
59289         * libio/fileops.c (_IO_new_file_write): Correctly return error.
59290         (_IO_new_file_xsputn): Also return EOF if none of the input
59291         data was written when overflow failed.
59292         * libio/iopadn.c (_IO_padn): Likewise.
59293         * libio/iowpadn.c (_IO_wpadn): Likewise.
59294         * stdio-common/tst-put-error.c: Add copyright notice.
59295         (do_test): Add case for printing padded string.
59296         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
59297         _IO_padn returned error.
59298         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
59299         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
59300         return EOF.
59302 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
59304         * libio/libioP.h: Add comment note that the references to C++
59305         bits are now obsolete.
59307 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59309         * math/libm-test.inc (check_complex): Use asprintf.
59311 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
59313         * debug/pcprofiledump.c (print_version): Update copyright year.
59314         * malloc/memusagestat.c (print_version): Likewise.
59316 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
59318         [BZ #14831]
59319         * elf/Makefile (tests): Add tst-audit8.
59320         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
59321         ($(objpfx)tst-audit8.out): New target.
59322         (tst-audit8-ENV): New variable.
59323         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
59324         audit if l_reloc_result is NULL.
59325         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
59326         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
59327         * elf/tst-audit8.c: New file.
59329 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59331         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
59332         * misc/Makefile (CFLAGS-select.c): Define.
59333         * posix/Makefile (CFLAGS-pause.c): Define.
59335 2012-11-13  David S. Miller  <davem@davemloft.net>
59337         * crypt/Makefile: Move test targets after toplevel Rules
59338         inclusion.  Grab any necessary sysdep routines when linking.
59339         * crypt/md5.c (md5_process_block): Remove define, we will always
59340         name it __md5_process_block.
59341         (md5_finish_ctx): Update md5_process_block call.
59342         (md5_stream): Likewise.
59343         (md5_process_bytes): Likewise.
59344         (md5_process_block): Rename to __md5_process_block and move to ...
59345         * crypt/md5-block.c: ... here.
59346         * crypt/sha256.c (sha256_process_block): Move to ...
59347         * crypt/sha256-block.c: ... here.
59348         * crypt/sha512.c (sha512_process_block): Move to ...
59349         * crypt/sha512-block.c: ... here.
59350         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
59351         path.
59352         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
59353         * sysdeps/sparc/sparc64/multiarch/Makefile
59354         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
59355         crypt subdir.
59356         (localedef-aux): Add md5 crypto assembler when in locale subdir.
59357         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
59358         multiarch changes.
59359         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
59360         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
59361         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
59362         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
59363         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
59364         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
59365         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
59366         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
59367         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
59368         file.
59369         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
59370         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
59371         file.
59372         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
59374 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
59376         * timezone/tzselect.ksh: Update from tzcode git revision
59377         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
59378         * timezone/zdump.c: Likewise.
59379         * timezone/zic.c: Likewise.
59380         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
59381         in TZVERSION setting, not $(PKGVERSION).
59382         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
59383         REPORT_BUGS_TO settings.
59385         [BZ #14838]
59386         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
59387         macro.
59389 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59391         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
59392         detection to immediately after _FP_ROUND().
59393         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
59394         bits are 0.
59396 2012-11-11  David S. Miller  <davem@davemloft.net>
59398         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
59399         inttypes.h
59400         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
59401         __close rather than their public counterparts.
59403 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
59405         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
59406         file.
59407         [UNIX98] (sem_timedwait): Do not expect.
59408         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
59409         [XPG4 || UNIX98] (sockatmark): Do not expect.
59410         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
59411         (clock_getcpuclockid): Do not expect.
59412         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
59413         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
59414         Do not expect.
59415         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
59416         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
59417         [UNIX98] (vwscanf): Likewise.
59418         [UNIX98] (vswscanf): Likewise.
59420 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
59422         * timezone/version.h: Remove file.
59423         * timezone/README: Do not refer to version.h.
59424         * timezone/Makefile ($(objpfx)zic.o): New dependency on
59425         $(objpfx)version.h.
59426         ($(objpfx)zdump.o): Likewise.
59427         ($(objpfx)version.h): New target.
59429         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
59430         2012i.
59431         * timezone/README: Don't mention modification to tzselect.ksh.
59432         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
59433         work on unmodified tzselect.ksh.  Substitute version numbers in
59434         tzselect.ksh.
59436         * Makefile (format-me): Remove.
59437         (INSTALL): Adjust indentation.  Use commands directly instead of
59438         using $(format-me).
59440         * aclocal.m4 (ACX_PKGVERSION): New macro.
59441         (ACX_BUGURL): Likewise.
59442         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
59443         (PKGVERSION): New AC_DEFINE_UNQUOTED.
59444         (REPORT_BUGS_TO): Likewise.
59445         * configure: Regenerated.
59446         * config.h.in (PKGVERSION): New macro.
59447         (REPORT_BUGS_TO): Likewise.
59448         * config.make.in (PKGVERSION): New variable.
59449         (PKGVERSION_TEXI): Likewise.
59450         (REPORT_BUGS_TO): Likewise.
59451         (REPORT_BUGS_TEXI): Likewise.
59452         * Makefile (format-me): Use -I$(common-objpfx)manual.
59453         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
59454         ($(common-objpfx)manual/%): New target.
59455         (manual/%): Remove target.
59456         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
59457         (print_version): Use PKGVERSION.
59458         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
59459         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
59460         and REPORT_BUGS_TO.
59461         ($(objpfx)xtrace): Likewise.
59462         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
59463         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
59464         (print_version): Use PKGVERSION.
59465         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
59466         (do_version): Use PKGVERSION.
59467         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
59468         REPORT_BUGS_TO.
59469         (common-ldd-rewrite): Likewise.
59470         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
59471         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
59472         (print_version): Use PKGVERSION.
59473         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
59474         * elf/pldd.c (argp_program_bug_address): Remove variable.
59475         (more_help): New function.
59476         (argp): Use more_help.
59477         (print_version): Use PKGVERSION.
59478         * elf/sln.c (main): Use PKGVERSION.
59479         (usage): Use REPORT_BUGS_TO.
59480         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
59481         (top level): Use PKGVERSION.
59482         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
59483         (print_version): Use PKGVERSION.
59484         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
59485         (print_version): Use PKGVERSION.
59486         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
59487         (print_version): Use PKGVERSION.
59488         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
59489         (print_version): Use PKGVERSION.
59490         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
59491         (print_version): Use PKGVERSION.
59492         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
59493         (print_version): Use PKGVERSION.
59494         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
59495         and BUGURL.
59496         ($(objpfx)memusage): Likewise.
59497         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
59498         (do_version): Use PKGVERSION.
59499         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
59500         (print_version): Use PKGVERSION.
59501         * malloc/mtrace.pl ($PACKAGE): Remove variable.
59502         ($PKGVERSION): New variable.
59503         ($REPORT_BUGS_TO): Likewise.
59504         (usage): Use $REPORT_BUGS_TO.
59505         (top level): Use $PKGVERSION.
59506         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
59507         ($(objpfx)pkgvers.texi): New rule.
59508         ($(objpfx)stamp-pkgvers): Likewise.
59509         * manual/install.texi: Include pkgvers.texi.
59510         (--with-pkgversion): Document new configure option.
59511         (--with-bugurl): Likewise.
59512         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
59513         than necessarily for this particular distribution.  Use
59514         REPORT_BUGS_TO for where to report bugs.
59515         * INSTALL: Regenerated.
59516         * manual/libc.texinfo: Include pkgvers.texi.
59517         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
59518         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
59519         (print_version): Use PKGVERSION.
59520         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
59521         (print_version): Use PKGVERSION.
59522         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
59523         (print_version): Use PKGVERSION.
59524         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
59525         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
59526         macro.
59527         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
59528         (print_version): Use PKGVERSION.
59529         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
59530         (print_version): Use PKGVERSION.
59531         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
59532         and PKGVERSION.
59534         * timezone/checktab.awk: Update from tzcode 2012i.
59535         * timezone/ialloc.c: Likewise.
59536         * timezone/private.h: Likewise.
59537         * timezone/scheck.c: Likewise.
59538         * timezone/tzfile.h: Likewise.
59539         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
59540         (TZVERSION): Hardcode tzcode version number.
59541         * timezone/zdump.c: Update from tzcode 2012i.
59542         * timezone/zic.c: Likewise.
59543         * timezone/version.h: New file.
59544         * timezone/README: Describe version.h.  Update upstream location.
59546         [BZ #14824]
59547         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
59548         (mktemp): Enable declaration.
59549         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
59550         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
59551         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
59552         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
59553         Likewise.
59554         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
59555         Likewise.
59556         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
59557         Likewise.
59558         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
59559         Likewise.
59560         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
59561         Likewise.
59562         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
59563         Likewise.
59565         [BZ #14821]
59566         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
59567         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
59568         for copies of such integer values.
59569         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
59570         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
59572 2012-11-09  Andreas Jaeger  <aj@suse.de>
59574         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
59575         definitions and declarations that are provided by
59576         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59578 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
59580         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
59581         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
59582         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
59583         definition.
59585 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59587         * elf/elf.h: Update comment before AArch64 relocations.
59589 2012-11-07  David S. Miller  <davem@davemloft.net>
59591         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
59592         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
59593         (__start_context): Declare.
59594         (__makecontext_ret): Delete.
59595         (__makecontext): Hook up __start_context instead of
59596         __makecontext_ret.
59597         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
59598         (sysdep_routines): Add __start_context when in stdlib.
59600 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59602         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
59603         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
59604         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
59605         hardcoded "nm".
59606         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
59607         (READELF): New variable.  Use it instead of hardcoded "readelf".
59609 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
59611         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
59612         * sysdeps/x86/Makefile: Here.
59613         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
59614         * sysdeps/x86/tst-xmmymm.sh: This.
59616 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59618         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
59619         expectations.
59620         [UNIX98] (pthread_barrier_t): Do not expect.
59621         [UNIX98] (pthread_barrierattr_t): Likewise.
59622         [UNIX98] (pthread_spinlock_t): Likewise.
59623         [UNIX98] (pthread_barrier_destroy): Likewise.
59624         [UNIX98] (pthread_barrier_init): Likewise.
59625         [UNIX98] (pthread_barrier_wait): Likewise.
59626         [UNIX98] (pthread_barrierattr_destroy): Likewise.
59627         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
59628         [UNIX98] (pthread_barrierattr_init): Likewise.
59629         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
59630         [UNIX98] (pthread_getcpuclockid): Likewise.
59631         [UNIX98] (pthread_mutex_timedlock): Likewise.
59632         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
59633         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
59634         [UNIX98] (pthread_sigmask): Likewise.
59635         [UNIX98] (pthread_spin_destroy): Likewise.
59636         [UNIX98] (pthread_spin_init): Likewise.
59637         [UNIX98] (pthread_spin_lock): Likewise.
59638         [UNIX98] (pthread_spin_trylock): Likewise.
59639         [UNIX98] (pthread_spin_unlock): Likewise.
59640         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
59641         Do not expect.
59642         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
59643         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
59644         [XPG3 || XPG4] (pthread_cond_t): Likewise.
59645         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
59646         [XPG3 || XPG4] (pthread_key_t): Likewise.
59647         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
59648         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
59649         [XPG3 || XPG4] (pthread_once_t): Likewise.
59650         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
59651         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
59652         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
59653         [XPG3 || XPG4] (pthread_t): Likewise.
59655         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
59656         not expect.
59657         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
59659         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
59660         Change function return type to int.
59662         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
59663         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
59664         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
59665         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
59666         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
59667         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
59668         [!POSIX] (posix_madvise): Likewise.
59669         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
59670         && !UNIX98].
59671         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
59672         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
59673         (mode_t): Likewise.
59674         (posix_mem_offset): Likewise.
59675         (posix_typed_mem_get_info): Likewise.
59676         (posix_typed_mem_open): Likewise.
59678         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
59679         Change condition to [XOPEN2K8].
59681         * conform/conformtest.pl: Preprocess allow-header data with -x c
59682         instead of from stdin.
59683         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
59684         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
59685         [C99-based standards] (cerfc): Likewise.
59686         [C99-based standards] (cexp2): Likewise.
59687         [C99-based standards] (cexpm1): Likewise.
59688         [C99-based standards] (clog10): Likewise.
59689         [C99-based standards] (clog1p): Likewise.
59690         [C99-based standards] (clog2): Likewise.
59691         [C99-based standards] (clgamma): Likewise.
59692         [C99-based standards] (ctgamma): Likewise.
59693         [C99-based standards] (cerff): Likewise.
59694         [C99-based standards] (cerfcf): Likewise.
59695         [C99-based standards] (cexp2f): Likewise.
59696         [C99-based standards] (cexpm1f): Likewise.
59697         [C99-based standards] (clog10f): Likewise.
59698         [C99-based standards] (clog1pf): Likewise.
59699         [C99-based standards] (clog2f): Likewise.
59700         [C99-based standards] (clgammaf): Likewise.
59701         [C99-based standards] (ctgammaf): Likewise.
59702         [C99-based standards] (cerfl): Likewise.
59703         [C99-based standards] (cerfcl): Likewise.
59704         [C99-based standards] (cexp2l): Likewise.
59705         [C99-based standards] (cexpm1l): Likewise.
59706         [C99-based standards] (clog10l): Likewise.
59707         [C99-based standards] (clog1pl): Likewise.
59708         [C99-based standards] (clog2l): Likewise.
59709         [C99-based standards] (clgammal): Likewise.
59710         [C99-based standards] (ctgammal): Likewise.
59711         * conform/data/inttypes.h-data [C99-based standards]: Include
59712         stdint.h-data.  Remove all expectations for stdint.h contents.
59713         [C99-based standards] (PRI*): Do not allow.
59714         [C99-based standards] (SCN*): Likewise.
59715         [C99-based standards] (*_t): Likewise.
59716         [C99-based-standards] (PRId8): Expect macro.
59717         [C99-based-standards] (PRIi8): Likewise.
59718         [C99-based-standards] (PRIo8): Likewise.
59719         [C99-based-standards] (PRIu8): Likewise.
59720         [C99-based-standards] (PRIx8): Likewise.
59721         [C99-based-standards] (PRIX8): Likewise.
59722         [C99-based-standards] (SCNd8): Likewise.
59723         [C99-based-standards] (SCNi8): Likewise.
59724         [C99-based-standards] (SCNo8): Likewise.
59725         [C99-based-standards] (SCNu8): Likewise.
59726         [C99-based-standards] (SCNx8): Likewise.
59727         [C99-based-standards] (PRIdLEAST8): Likewise.
59728         [C99-based-standards] (PRIiLEAST8): Likewise.
59729         [C99-based-standards] (PRIoLEAST8): Likewise.
59730         [C99-based-standards] (PRIuLEAST8): Likewise.
59731         [C99-based-standards] (PRIxLEAST8): Likewise.
59732         [C99-based-standards] (PRIXLEAST8): Likewise.
59733         [C99-based-standards] (SCNdLEAST8): Likewise.
59734         [C99-based-standards] (SCNiLEAST8): Likewise.
59735         [C99-based-standards] (SCNoLEAST8): Likewise.
59736         [C99-based-standards] (SCNuLEAST8): Likewise.
59737         [C99-based-standards] (SCNxLEAST8): Likewise.
59738         [C99-based-standards] (PRIdFAST8): Likewise.
59739         [C99-based-standards] (PRIiFAST8): Likewise.
59740         [C99-based-standards] (PRIoFAST8): Likewise.
59741         [C99-based-standards] (PRIuFAST8): Likewise.
59742         [C99-based-standards] (PRIxFAST8): Likewise.
59743         [C99-based-standards] (PRIXFAST8): Likewise.
59744         [C99-based-standards] (SCNdFAST8): Likewise.
59745         [C99-based-standards] (SCNiFAST8): Likewise.
59746         [C99-based-standards] (SCNoFAST8): Likewise.
59747         [C99-based-standards] (SCNuFAST8): Likewise.
59748         [C99-based-standards] (SCNxFAST8): Likewise.
59749         [C99-based-standards] (PRId16): Likewise.
59750         [C99-based-standards] (PRIi16): Likewise.
59751         [C99-based-standards] (PRIo16): Likewise.
59752         [C99-based-standards] (PRIu16): Likewise.
59753         [C99-based-standards] (PRIx16): Likewise.
59754         [C99-based-standards] (PRIX16): Likewise.
59755         [C99-based-standards] (SCNd16): Likewise.
59756         [C99-based-standards] (SCNi16): Likewise.
59757         [C99-based-standards] (SCNo16): Likewise.
59758         [C99-based-standards] (SCNu16): Likewise.
59759         [C99-based-standards] (SCNx16): Likewise.
59760         [C99-based-standards] (PRIdLEAST16): Likewise.
59761         [C99-based-standards] (PRIiLEAST16): Likewise.
59762         [C99-based-standards] (PRIoLEAST16): Likewise.
59763         [C99-based-standards] (PRIuLEAST16): Likewise.
59764         [C99-based-standards] (PRIxLEAST16): Likewise.
59765         [C99-based-standards] (PRIXLEAST16): Likewise.
59766         [C99-based-standards] (SCNdLEAST16): Likewise.
59767         [C99-based-standards] (SCNiLEAST16): Likewise.
59768         [C99-based-standards] (SCNoLEAST16): Likewise.
59769         [C99-based-standards] (SCNuLEAST16): Likewise.
59770         [C99-based-standards] (SCNxLEAST16): Likewise.
59771         [C99-based-standards] (PRIdFAST16): Likewise.
59772         [C99-based-standards] (PRIiFAST16): Likewise.
59773         [C99-based-standards] (PRIoFAST16): Likewise.
59774         [C99-based-standards] (PRIuFAST16): Likewise.
59775         [C99-based-standards] (PRIxFAST16): Likewise.
59776         [C99-based-standards] (PRIXFAST16): Likewise.
59777         [C99-based-standards] (SCNdFAST16): Likewise.
59778         [C99-based-standards] (SCNiFAST16): Likewise.
59779         [C99-based-standards] (SCNoFAST16): Likewise.
59780         [C99-based-standards] (SCNuFAST16): Likewise.
59781         [C99-based-standards] (SCNxFAST16): Likewise.
59782         [C99-based-standards] (PRId32): Likewise.
59783         [C99-based-standards] (PRIi32): Likewise.
59784         [C99-based-standards] (PRIo32): Likewise.
59785         [C99-based-standards] (PRIu32): Likewise.
59786         [C99-based-standards] (PRIx32): Likewise.
59787         [C99-based-standards] (PRIX32): Likewise.
59788         [C99-based-standards] (SCNd32): Likewise.
59789         [C99-based-standards] (SCNi32): Likewise.
59790         [C99-based-standards] (SCNo32): Likewise.
59791         [C99-based-standards] (SCNu32): Likewise.
59792         [C99-based-standards] (SCNx32): Likewise.
59793         [C99-based-standards] (PRIdLEAST32): Likewise.
59794         [C99-based-standards] (PRIiLEAST32): Likewise.
59795         [C99-based-standards] (PRIoLEAST32): Likewise.
59796         [C99-based-standards] (PRIuLEAST32): Likewise.
59797         [C99-based-standards] (PRIxLEAST32): Likewise.
59798         [C99-based-standards] (PRIXLEAST32): Likewise.
59799         [C99-based-standards] (SCNdLEAST32): Likewise.
59800         [C99-based-standards] (SCNiLEAST32): Likewise.
59801         [C99-based-standards] (SCNoLEAST32): Likewise.
59802         [C99-based-standards] (SCNuLEAST32): Likewise.
59803         [C99-based-standards] (SCNxLEAST32): Likewise.
59804         [C99-based-standards] (PRIdFAST32): Likewise.
59805         [C99-based-standards] (PRIiFAST32): Likewise.
59806         [C99-based-standards] (PRIoFAST32): Likewise.
59807         [C99-based-standards] (PRIuFAST32): Likewise.
59808         [C99-based-standards] (PRIxFAST32): Likewise.
59809         [C99-based-standards] (PRIXFAST32): Likewise.
59810         [C99-based-standards] (SCNdFAST32): Likewise.
59811         [C99-based-standards] (SCNiFAST32): Likewise.
59812         [C99-based-standards] (SCNoFAST32): Likewise.
59813         [C99-based-standards] (SCNuFAST32): Likewise.
59814         [C99-based-standards] (SCNxFAST32): Likewise.
59815         [C99-based-standards] (PRId64): Likewise.
59816         [C99-based-standards] (PRIi64): Likewise.
59817         [C99-based-standards] (PRIo64): Likewise.
59818         [C99-based-standards] (PRIu64): Likewise.
59819         [C99-based-standards] (PRIx64): Likewise.
59820         [C99-based-standards] (PRIX64): Likewise.
59821         [C99-based-standards] (SCNd64): Likewise.
59822         [C99-based-standards] (SCNi64): Likewise.
59823         [C99-based-standards] (SCNo64): Likewise.
59824         [C99-based-standards] (SCNu64): Likewise.
59825         [C99-based-standards] (SCNx64): Likewise.
59826         [C99-based-standards] (PRIdLEAST64): Likewise.
59827         [C99-based-standards] (PRIiLEAST64): Likewise.
59828         [C99-based-standards] (PRIoLEAST64): Likewise.
59829         [C99-based-standards] (PRIuLEAST64): Likewise.
59830         [C99-based-standards] (PRIxLEAST64): Likewise.
59831         [C99-based-standards] (PRIXLEAST64): Likewise.
59832         [C99-based-standards] (SCNdLEAST64): Likewise.
59833         [C99-based-standards] (SCNiLEAST64): Likewise.
59834         [C99-based-standards] (SCNoLEAST64): Likewise.
59835         [C99-based-standards] (SCNuLEAST64): Likewise.
59836         [C99-based-standards] (SCNxLEAST64): Likewise.
59837         [C99-based-standards] (PRIdFAST64): Likewise.
59838         [C99-based-standards] (PRIiFAST64): Likewise.
59839         [C99-based-standards] (PRIoFAST64): Likewise.
59840         [C99-based-standards] (PRIuFAST64): Likewise.
59841         [C99-based-standards] (PRIxFAST64): Likewise.
59842         [C99-based-standards] (PRIXFAST64): Likewise.
59843         [C99-based-standards] (SCNdFAST64): Likewise.
59844         [C99-based-standards] (SCNiFAST64): Likewise.
59845         [C99-based-standards] (SCNoFAST64): Likewise.
59846         [C99-based-standards] (SCNuFAST64): Likewise.
59847         [C99-based-standards] (SCNxFAST64): Likewise.
59848         [C99-based-standards] (PRIdMAX): Likewise.
59849         [C99-based-standards] (PRIiMAX): Likewise.
59850         [C99-based-standards] (PRIoMAX): Likewise.
59851         [C99-based-standards] (PRIuMAX): Likewise.
59852         [C99-based-standards] (PRIxMAX): Likewise.
59853         [C99-based-standards] (PRIXMAX): Likewise.
59854         [C99-based-standards] (SCNdMAX): Likewise.
59855         [C99-based-standards] (SCNiMAX): Likewise.
59856         [C99-based-standards] (SCNoMAX): Likewise.
59857         [C99-based-standards] (SCNuMAX): Likewise.
59858         [C99-based-standards] (SCNxMAX): Likewise.
59859         [C99-based-standards] (PRIdPTR): Likewise.
59860         [C99-based-standards] (PRIiPTR): Likewise.
59861         [C99-based-standards] (PRIoPTR): Likewise.
59862         [C99-based-standards] (PRIuPTR): Likewise.
59863         [C99-based-standards] (PRIxPTR): Likewise.
59864         [C99-based-standards] (PRIXPTR): Likewise.
59865         [C99-based-standards] (SCNdPTR): Likewise.
59866         [C99-based-standards] (SCNiPTR): Likewise.
59867         [C99-based-standards] (SCNoPTR): Likewise.
59868         [C99-based-standards] (SCNuPTR): Likewise.
59869         [C99-based-standards] (SCNxPTR): Likewise.
59870         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
59871         allow.
59872         * conform/data/stdint.h-data: Update comments to clarify
59873         requirements.
59874         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
59875         type.
59876         [C99-based standards] (INT8_MAX): Likewise.
59877         [C99-based standards] (INT16_MIN): Likewise.
59878         [C99-based standards] (INT16_MAX): Likewise.
59879         [C99-based standards] (INT32_MIN): Likewise.
59880         [C99-based standards] (INT32_MAX): Likewise.
59881         [C99-based standards] (INT64_MIN): Likewise.
59882         [C99-based standards] (INT64_MAX): Likewise.
59883         [C99-based standards] (UINT8_MAX): Likewise.
59884         [C99-based standards] (UINT16_MAX): Likewise.
59885         [C99-based standards] (UINT32_MAX): Likewise.
59886         [C99-based standards] (UINT64_MAX): Likewise.
59887         [C99-based standards] (INT_LEAST8_MIN): Likewise.
59888         [C99-based standards] (INT_LEAST8_MAX): Likewise.
59889         [C99-based standards] (INT_LEAST16_MIN): Likewise.
59890         [C99-based standards] (INT_LEAST16_MAX): Likewise.
59891         [C99-based standards] (INT_LEAST32_MIN): Likewise.
59892         [C99-based standards] (INT_LEAST32_MAX): Likewise.
59893         [C99-based standards] (INT_LEAST64_MIN): Likewise.
59894         [C99-based standards] (INT_LEAST64_MAX): Likewise.
59895         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
59896         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
59897         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
59898         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
59899         [C99-based standards] (INT_FAST8_MIN): Likewise.
59900         [C99-based standards] (INT_FAST8_MAX): Likewise.
59901         [C99-based standards] (INT_FAST16_MIN): Likewise.
59902         [C99-based standards] (INT_FAST16_MAX): Likewise.
59903         [C99-based standards] (INT_FAST32_MIN): Likewise.
59904         [C99-based standards] (INT_FAST32_MAX): Likewise.
59905         [C99-based standards] (INT_FAST64_MIN): Likewise.
59906         [C99-based standards] (INT_FAST64_MAX): Likewise.
59907         [C99-based standards] (UINT_FAST8_MAX): Likewise.
59908         [C99-based standards] (UINT_FAST16_MAX): Likewise.
59909         [C99-based standards] (UINT_FAST32_MAX): Likewise.
59910         [C99-based standards] (UINT_FAST64_MAX): Likewise.
59911         [C99-based standards] (INTPTR_MIN): Likewise.
59912         [C99-based standards] (INTPTR_MAX): Likewise.
59913         [C99-based standards] (UINTPTR_MAX): Likewise.
59914         [C99-based standards] (INTMAX_MIN): Likewise.
59915         [C99-based standards] (INTMAX_MAX): Likewise.
59916         [C99-based standards] (UINTMAX_MAX): Likewise.
59917         [C99-based standards] (PTRDIFF_MIN): Likewise.
59918         [C99-based standards] (PTRDIFF_MAX): Likewise.
59919         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
59920         [C99-based standards] (SIZE_MAX): Likewise.
59921         [C99-based standards] (WCHAR_MAX): Likewise.
59922         [C99-based standards] (WINT_MAX): Likewise.
59923         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
59924         constraint on value.
59925         [C99-based standards] (WCHAR_MIN): Likewise.
59926         [C99-based standards] (WINT_MIN): Likewise.
59927         [C99-based standards] (*_t): Allow.
59928         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
59929         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
59930         Include math.h-data and complex.h-data.  Remove all expectations
59931         of math.h and complex.h contents.
59932         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
59933         at end of line.
59934         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
59935         (struct tm): Expect tag.
59936         [C99-based-standards] (wcstof): Expect function.
59937         [C99-based-standards] (wcstold): Likewise.
59938         [C99-based-standards] (wcstoll): Likewise.
59939         [C99-based-standards] (wcstoull): Likewise.
59940         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
59941         macro-int-constant.  Specify type.
59942         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
59943         constraint on value.
59944         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59945         Specify type.
59946         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
59947         Specify value.
59948         [ISO C standards]: Do not allow headers.
59949         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
59950         wcs[abcdefghijklmnopqrstuvwxyz]*.
59951         [ISO C standards] (*_t): Do not allow.
59952         * conform/data/wctype.h-data [C99-based standards] (iswblank):
59953         Expect function.
59954         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
59955         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
59956         Specify type.
59957         [ISO C standards]: Do not allow headers.
59958         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
59959         is[abcdefghijklmnopqrstuvwxyz]*.
59960         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
59961         to[abcdefghijklmnopqrstuvwxyz]*.
59962         [ISO C standards] (*_t): Do not allow.
59963         * conform/data/stdalign.h-data: New file.
59964         * conform/data/stdbool.h-data: Likewise.
59965         * conform/data/stdnoreturn.h-data: Likewise.
59967 2012-11-07  Roland McGrath  <roland@hack.frob.com>
59969         [BZ #14815]
59970         * manual/filesys.texi (Directory Entries): Typo fix.
59971         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
59973 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
59975         * elf/elf.h (EM_AARCH64): New macro.
59976         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
59977         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
59978         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
59979         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
59980         (R_AARCH64_TLSDESC): Likewise.
59981         (NT_ARM_TLS): Likewise.
59982         (NT_ARM_HW_BREAK): Likewise.
59983         (NT_ARM_HW_WATCH): Likewise.
59985 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
59987         [BZ #14811]
59988         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
59989         (__ieee754_powl): Saturate nonzero exponents with absolute value
59990         below 0x1p-79 to +/- 0x1p-79.
59991         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
59992         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
59993         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
59994         nonzero exponents with absolute value below 0x1p-32 to +/-
59995         0x1p-32.
59996         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
59997         (__ieee754_powl): Saturate nonzero exponents with absolute value
59998         below 0x1p-79 to +/- 0x1p-79.
59999         * math/libm-test.inc (pow_test): Add more tests.
60001 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60003         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
60004         _dl_s390_cap_flags with kernel. Increase string length.
60005         (_dl_s390_platforms): Add z196 and zEC12.
60007 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
60009         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
60010         Change XOPEN21K to XOPEN2K.
60012 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
60014         * string/memmove.c: Use memcpy when possible.
60016 2012-11-06  Andreas Jaeger  <aj@suse.de>
60018         * po/eo.po: Update from translation team.
60020 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
60022         [BZ #14793]
60023         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
60024         exponent and small x and y exponents, scale x or y up.  Increase
60025         by 2 the exponent used in scaling up.
60026         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60027         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60028         * math/libm-test.inc (fma_test): Add more tests.
60029         (fma_test_towardzero): Likewise.
60030         (fma_test_downward): Likewise.
60031         (fma_test_upward): Likewise.
60033 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
60035         [BZ #14805]
60036         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
60037         fenv_t *.
60039         [BZ #14801]
60040         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
60041         namespace for names of struct fields.
60042         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
60043         fenv_t fields.
60044         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
60045         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
60047 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
60049         [BZ #3665]
60050         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
60052 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60054         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
60055         PTR_DEMANGLE.
60057         [BZ #5246]
60058         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
60059         PTR_DEMANGLE.
60061 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
60063         [BZ #14797]
60064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
60065         definitely overflow as x * y not x * y + z.
60066         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60067         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60068         * math/libm-test.inc (fma_test): Add more tests.
60069         (fma_test_towardzero): Likewise.
60070         (fma_test_downward): Likewise.
60071         (fma_test_upward): Likewise.
60073 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
60075         [BZ #157]
60077         * include/stub-tag.h: Remove file.
60078         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
60079         '#include' of it.
60080         * manual/maint.texi (Porting): Don't reference it.
60081         * Makerules ($(objpfx)stubs): Likewise.
60082         * dirent/closedir.c: Don't include <stub-tag.h>.
60083         * dirent/dirfd.c: Likewise.
60084         * dirent/fdopendir.c: Likewise.
60085         * dirent/getdents.c: Likewise.
60086         * dirent/getdents64.c: Likewise.
60087         * dirent/opendir.c: Likewise.
60088         * dirent/readdir.c: Likewise.
60089         * dirent/readdir64.c: Likewise.
60090         * dirent/readdir64_r.c: Likewise.
60091         * dirent/readdir_r.c: Likewise.
60092         * dirent/rewinddir.c: Likewise.
60093         * dirent/seekdir.c: Likewise.
60094         * dirent/telldir.c: Likewise.
60095         * gmon/profil.c: Likewise.
60096         * grp/setgroups.c: Likewise.
60097         * inet/if_index.c: Likewise.
60098         * io/access.c: Likewise.
60099         * io/chdir.c: Likewise.
60100         * io/chmod.c: Likewise.
60101         * io/chown.c: Likewise.
60102         * io/close.c: Likewise.
60103         * io/dup.c: Likewise.
60104         * io/dup2.c: Likewise.
60105         * io/dup3.c: Likewise.
60106         * io/euidaccess.c: Likewise.
60107         * io/faccessat.c: Likewise.
60108         * io/fchdir.c: Likewise.
60109         * io/fchmod.c: Likewise.
60110         * io/fchmodat.c: Likewise.
60111         * io/fchown.c: Likewise.
60112         * io/fchownat.c: Likewise.
60113         * io/fcntl.c: Likewise.
60114         * io/flock.c: Likewise.
60115         * io/fstatfs.c: Likewise.
60116         * io/fstatfs64.c: Likewise.
60117         * io/fstatvfs.c: Likewise.
60118         * io/fstatvfs64.c: Likewise.
60119         * io/futimens.c: Likewise.
60120         * io/fxstat.c: Likewise.
60121         * io/fxstat64.c: Likewise.
60122         * io/fxstatat.c: Likewise.
60123         * io/fxstatat64.c: Likewise.
60124         * io/getcwd.c: Likewise.
60125         * io/isatty.c: Likewise.
60126         * io/lchmod.c: Likewise.
60127         * io/lchown.c: Likewise.
60128         * io/link.c: Likewise.
60129         * io/linkat.c: Likewise.
60130         * io/lseek.c: Likewise.
60131         * io/lseek64.c: Likewise.
60132         * io/lxstat64.c: Likewise.
60133         * io/mkdir.c: Likewise.
60134         * io/mkdirat.c: Likewise.
60135         * io/mkfifo.c: Likewise.
60136         * io/mkfifoat.c: Likewise.
60137         * io/open.c: Likewise.
60138         * io/open64.c: Likewise.
60139         * io/openat.c: Likewise.
60140         * io/openat64.c: Likewise.
60141         * io/pipe.c: Likewise.
60142         * io/pipe2.c: Likewise.
60143         * io/poll.c: Likewise.
60144         * io/posix_fadvise.c: Likewise.
60145         * io/posix_fadvise64.c: Likewise.
60146         * io/posix_fallocate.c: Likewise.
60147         * io/posix_fallocate64.c: Likewise.
60148         * io/read.c: Likewise.
60149         * io/readlink.c: Likewise.
60150         * io/readlinkat.c: Likewise.
60151         * io/rmdir.c: Likewise.
60152         * io/sendfile.c: Likewise.
60153         * io/sendfile64.c: Likewise.
60154         * io/statfs.c: Likewise.
60155         * io/statfs64.c: Likewise.
60156         * io/statvfs.c: Likewise.
60157         * io/statvfs64.c: Likewise.
60158         * io/symlink.c: Likewise.
60159         * io/symlinkat.c: Likewise.
60160         * io/ttyname.c: Likewise.
60161         * io/ttyname_r.c: Likewise.
60162         * io/umask.c: Likewise.
60163         * io/unlink.c: Likewise.
60164         * io/unlinkat.c: Likewise.
60165         * io/utime.c: Likewise.
60166         * io/utimensat.c: Likewise.
60167         * io/write.c: Likewise.
60168         * io/xmknod.c: Likewise.
60169         * io/xmknodat.c: Likewise.
60170         * io/xstat.c: Likewise.
60171         * io/xstat64.c: Likewise.
60172         * login/getpt.c: Likewise.
60173         * login/grantpt.c: Likewise.
60174         * login/unlockpt.c: Likewise.
60175         * math/e_acoshl.c: Likewise.
60176         * math/e_acosl.c: Likewise.
60177         * math/e_asinl.c: Likewise.
60178         * math/e_atan2l.c: Likewise.
60179         * math/e_atanhl.c: Likewise.
60180         * math/e_coshl.c: Likewise.
60181         * math/e_expl.c: Likewise.
60182         * math/e_fmodl.c: Likewise.
60183         * math/e_gammal_r.c: Likewise.
60184         * math/e_hypotl.c: Likewise.
60185         * math/e_j0l.c: Likewise.
60186         * math/e_j1l.c: Likewise.
60187         * math/e_jnl.c: Likewise.
60188         * math/e_lgammal_r.c: Likewise.
60189         * math/e_log10l.c: Likewise.
60190         * math/e_log2l.c: Likewise.
60191         * math/e_logl.c: Likewise.
60192         * math/e_powl.c: Likewise.
60193         * math/e_rem_pio2l.c: Likewise.
60194         * math/e_sinhl.c: Likewise.
60195         * math/e_sqrtl.c: Likewise.
60196         * math/fclrexcpt.c: Likewise.
60197         * math/fedisblxcpt.c: Likewise.
60198         * math/feenablxcpt.c: Likewise.
60199         * math/fegetenv.c: Likewise.
60200         * math/fegetexcept.c: Likewise.
60201         * math/fegetround.c: Likewise.
60202         * math/feholdexcpt.c: Likewise.
60203         * math/fesetenv.c: Likewise.
60204         * math/fesetround.c: Likewise.
60205         * math/feupdateenv.c: Likewise.
60206         * math/fgetexcptflg.c: Likewise.
60207         * math/fraiseexcpt.c: Likewise.
60208         * math/fsetexcptflg.c: Likewise.
60209         * math/ftestexcept.c: Likewise.
60210         * math/k_cosl.c: Likewise.
60211         * math/k_rem_pio2l.c: Likewise.
60212         * math/k_sinl.c: Likewise.
60213         * math/k_tanl.c: Likewise.
60214         * math/s_asinhl.c: Likewise.
60215         * math/s_atanl.c: Likewise.
60216         * math/s_cbrtl.c: Likewise.
60217         * math/s_erfl.c: Likewise.
60218         * math/s_expm1l.c: Likewise.
60219         * math/s_log1pl.c: Likewise.
60220         * math/s_tanhl.c: Likewise.
60221         * misc/acct.c: Likewise.
60222         * misc/brk.c: Likewise.
60223         * misc/chflags.c: Likewise.
60224         * misc/chroot.c: Likewise.
60225         * misc/fchflags.c: Likewise.
60226         * misc/fgetxattr.c: Likewise.
60227         * misc/flistxattr.c: Likewise.
60228         * misc/fremovexattr.c: Likewise.
60229         * misc/fsetxattr.c: Likewise.
60230         * misc/fsync.c: Likewise.
60231         * misc/ftruncate.c: Likewise.
60232         * misc/futimes.c: Likewise.
60233         * misc/futimesat.c: Likewise.
60234         * misc/getdomain.c: Likewise.
60235         * misc/getdtsz.c: Likewise.
60236         * misc/gethostid.c: Likewise.
60237         * misc/gethostname.c: Likewise.
60238         * misc/getloadavg.c: Likewise.
60239         * misc/getpagesize.c: Likewise.
60240         * misc/getsysstats.c: Likewise.
60241         * misc/getxattr.c: Likewise.
60242         * misc/gtty.c: Likewise.
60243         * misc/ioctl.c: Likewise.
60244         * misc/lgetxattr.c: Likewise.
60245         * misc/listxattr.c: Likewise.
60246         * misc/llistxattr.c: Likewise.
60247         * misc/lremovexattr.c: Likewise.
60248         * misc/lsetxattr.c: Likewise.
60249         * misc/lutimes.c: Likewise.
60250         * misc/madvise.c: Likewise.
60251         * misc/mincore.c: Likewise.
60252         * misc/mlock.c: Likewise.
60253         * misc/mlockall.c: Likewise.
60254         * misc/mmap.c: Likewise.
60255         * misc/mprotect.c: Likewise.
60256         * misc/msync.c: Likewise.
60257         * misc/munlock.c: Likewise.
60258         * misc/munlockall.c: Likewise.
60259         * misc/munmap.c: Likewise.
60260         * misc/preadv.c: Likewise.
60261         * misc/preadv64.c: Likewise.
60262         * misc/ptrace.c: Likewise.
60263         * misc/pwritev.c: Likewise.
60264         * misc/pwritev64.c: Likewise.
60265         * misc/readv.c: Likewise.
60266         * misc/reboot.c: Likewise.
60267         * misc/remap_file_pages.c: Likewise.
60268         * misc/removexattr.c: Likewise.
60269         * misc/revoke.c: Likewise.
60270         * misc/select.c: Likewise.
60271         * misc/setdomain.c: Likewise.
60272         * misc/setegid.c: Likewise.
60273         * misc/seteuid.c: Likewise.
60274         * misc/sethostid.c: Likewise.
60275         * misc/sethostname.c: Likewise.
60276         * misc/setregid.c: Likewise.
60277         * misc/setreuid.c: Likewise.
60278         * misc/setxattr.c: Likewise.
60279         * misc/sstk.c: Likewise.
60280         * misc/stty.c: Likewise.
60281         * misc/swapoff.c: Likewise.
60282         * misc/swapon.c: Likewise.
60283         * misc/sync.c: Likewise.
60284         * misc/syncfs.c: Likewise.
60285         * misc/syscall.c: Likewise.
60286         * misc/truncate.c: Likewise.
60287         * misc/ualarm.c: Likewise.
60288         * misc/usleep.c: Likewise.
60289         * misc/ustat.c: Likewise.
60290         * misc/utimes.c: Likewise.
60291         * misc/vhangup.c: Likewise.
60292         * misc/writev.c: Likewise.
60293         * posix/_exit.c: Likewise.
60294         * posix/alarm.c: Likewise.
60295         * posix/execve.c: Likewise.
60296         * posix/fexecve.c: Likewise.
60297         * posix/fork.c: Likewise.
60298         * posix/fpathconf.c: Likewise.
60299         * posix/getaddrinfo.c: Likewise.
60300         * posix/getegid.c: Likewise.
60301         * posix/geteuid.c: Likewise.
60302         * posix/getgid.c: Likewise.
60303         * posix/getgroups.c: Likewise.
60304         * posix/getlogin.c: Likewise.
60305         * posix/getlogin_r.c: Likewise.
60306         * posix/getpgid.c: Likewise.
60307         * posix/getpid.c: Likewise.
60308         * posix/getppid.c: Likewise.
60309         * posix/getresgid.c: Likewise.
60310         * posix/getresuid.c: Likewise.
60311         * posix/getsid.c: Likewise.
60312         * posix/getuid.c: Likewise.
60313         * posix/glob64.c: Likewise.
60314         * posix/nanosleep.c: Likewise.
60315         * posix/pathconf.c: Likewise.
60316         * posix/pause.c: Likewise.
60317         * posix/posix_madvise.c: Likewise.
60318         * posix/pread.c: Likewise.
60319         * posix/pread64.c: Likewise.
60320         * posix/pwrite.c: Likewise.
60321         * posix/pwrite64.c: Likewise.
60322         * posix/sched_getaffinity.c: Likewise.
60323         * posix/sched_getp.c: Likewise.
60324         * posix/sched_gets.c: Likewise.
60325         * posix/sched_primax.c: Likewise.
60326         * posix/sched_primin.c: Likewise.
60327         * posix/sched_rr_gi.c: Likewise.
60328         * posix/sched_setaffinity.c: Likewise.
60329         * posix/sched_setp.c: Likewise.
60330         * posix/sched_sets.c: Likewise.
60331         * posix/sched_yield.c: Likewise.
60332         * posix/setgid.c: Likewise.
60333         * posix/setlogin.c: Likewise.
60334         * posix/setpgid.c: Likewise.
60335         * posix/setresgid.c: Likewise.
60336         * posix/setresuid.c: Likewise.
60337         * posix/setsid.c: Likewise.
60338         * posix/setuid.c: Likewise.
60339         * posix/sleep.c: Likewise.
60340         * posix/spawni.c: Likewise.
60341         * posix/sysconf.c: Likewise.
60342         * posix/times.c: Likewise.
60343         * posix/wait.c: Likewise.
60344         * posix/wait3.c: Likewise.
60345         * posix/wait4.c: Likewise.
60346         * posix/waitpid.c: Likewise.
60347         * resolv/gai_sigqueue.c: Likewise.
60348         * resource/getpriority.c: Likewise.
60349         * resource/getrlimit.c: Likewise.
60350         * resource/getrusage.c: Likewise.
60351         * resource/nice.c: Likewise.
60352         * resource/setpriority.c: Likewise.
60353         * resource/setrlimit.c: Likewise.
60354         * resource/ulimit.c: Likewise.
60355         * rt/aio_cancel.c: Likewise.
60356         * rt/aio_fsync.c: Likewise.
60357         * rt/aio_read.c: Likewise.
60358         * rt/aio_sigqueue.c: Likewise.
60359         * rt/aio_suspend.c: Likewise.
60360         * rt/aio_write.c: Likewise.
60361         * rt/clock_getres.c: Likewise.
60362         * rt/clock_gettime.c: Likewise.
60363         * rt/clock_nanosleep.c: Likewise.
60364         * rt/clock_settime.c: Likewise.
60365         * rt/lio_listio.c: Likewise.
60366         * rt/mq_close.c: Likewise.
60367         * rt/mq_getattr.c: Likewise.
60368         * rt/mq_notify.c: Likewise.
60369         * rt/mq_open.c: Likewise.
60370         * rt/mq_receive.c: Likewise.
60371         * rt/mq_send.c: Likewise.
60372         * rt/mq_setattr.c: Likewise.
60373         * rt/mq_timedreceive.c: Likewise.
60374         * rt/mq_timedsend.c: Likewise.
60375         * rt/mq_unlink.c: Likewise.
60376         * rt/shm_open.c: Likewise.
60377         * rt/shm_unlink.c: Likewise.
60378         * rt/timer_create.c: Likewise.
60379         * rt/timer_delete.c: Likewise.
60380         * rt/timer_getoverr.c: Likewise.
60381         * rt/timer_gettime.c: Likewise.
60382         * rt/timer_settime.c: Likewise.
60383         * setjmp/__longjmp.c: Likewise.
60384         * setjmp/setjmp.c: Likewise.
60385         * signal/kill.c: Likewise.
60386         * signal/killpg.c: Likewise.
60387         * signal/raise.c: Likewise.
60388         * signal/sigaction.c: Likewise.
60389         * signal/sigaltstack.c: Likewise.
60390         * signal/sigblock.c: Likewise.
60391         * signal/sigignore.c: Likewise.
60392         * signal/sigintr.c: Likewise.
60393         * signal/signal.c: Likewise.
60394         * signal/sigpause.c: Likewise.
60395         * signal/sigpending.c: Likewise.
60396         * signal/sigqueue.c: Likewise.
60397         * signal/sigreturn.c: Likewise.
60398         * signal/sigset.c: Likewise.
60399         * signal/sigsetmask.c: Likewise.
60400         * signal/sigstack.c: Likewise.
60401         * signal/sigsuspend.c: Likewise.
60402         * signal/sigtimedwait.c: Likewise.
60403         * signal/sigvec.c: Likewise.
60404         * signal/sigwait.c: Likewise.
60405         * signal/sigwaitinfo.c: Likewise.
60406         * signal/sysv_signal.c: Likewise.
60407         * socket/accept.c: Likewise.
60408         * socket/accept4.c: Likewise.
60409         * socket/bind.c: Likewise.
60410         * socket/connect.c: Likewise.
60411         * socket/getpeername.c: Likewise.
60412         * socket/getsockname.c: Likewise.
60413         * socket/getsockopt.c: Likewise.
60414         * socket/isfdtype.c: Likewise.
60415         * socket/listen.c: Likewise.
60416         * socket/recv.c: Likewise.
60417         * socket/recvfrom.c: Likewise.
60418         * socket/recvmsg.c: Likewise.
60419         * socket/send.c: Likewise.
60420         * socket/sendmsg.c: Likewise.
60421         * socket/sendto.c: Likewise.
60422         * socket/setsockopt.c: Likewise.
60423         * socket/shutdown.c: Likewise.
60424         * socket/sockatmark.c: Likewise.
60425         * socket/socket.c: Likewise.
60426         * socket/socketpair.c: Likewise.
60427         * stdio-common/ctermid.c: Likewise.
60428         * stdio-common/cuserid.c: Likewise.
60429         * stdio-common/remove.c: Likewise.
60430         * stdio-common/rename.c: Likewise.
60431         * stdio-common/renameat.c: Likewise.
60432         * stdio-common/tempname.c: Likewise.
60433         * stdlib/getcontext.c: Likewise.
60434         * stdlib/makecontext.c: Likewise.
60435         * stdlib/setcontext.c: Likewise.
60436         * stdlib/swapcontext.c: Likewise.
60437         * stdlib/system.c: Likewise.
60438         * streams/fattach.c: Likewise.
60439         * streams/fdetach.c: Likewise.
60440         * streams/getmsg.c: Likewise.
60441         * streams/getpmsg.c: Likewise.
60442         * streams/putmsg.c: Likewise.
60443         * streams/putpmsg.c: Likewise.
60444         * sysdeps/unix/bsd/getpt.c: Likewise.
60445         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
60446         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
60447         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
60448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
60449         Likewise.
60450         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
60451         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
60452         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
60453         * sysvipc/msgctl.c: Likewise.
60454         * sysvipc/msgget.c: Likewise.
60455         * sysvipc/msgrcv.c: Likewise.
60456         * sysvipc/msgsnd.c: Likewise.
60457         * sysvipc/semctl.c: Likewise.
60458         * sysvipc/semget.c: Likewise.
60459         * sysvipc/semop.c: Likewise.
60460         * sysvipc/semtimedop.c: Likewise.
60461         * sysvipc/shmat.c: Likewise.
60462         * sysvipc/shmctl.c: Likewise.
60463         * sysvipc/shmdt.c: Likewise.
60464         * sysvipc/shmget.c: Likewise.
60465         * termios/tcdrain.c: Likewise.
60466         * termios/tcflow.c: Likewise.
60467         * termios/tcflush.c: Likewise.
60468         * termios/tcgetattr.c: Likewise.
60469         * termios/tcgetpgrp.c: Likewise.
60470         * termios/tcsendbrk.c: Likewise.
60471         * termios/tcsetattr.c: Likewise.
60472         * termios/tcsetpgrp.c: Likewise.
60473         * time/adjtime.c: Likewise.
60474         * time/clock.c: Likewise.
60475         * time/getitimer.c: Likewise.
60476         * time/gettimeofday.c: Likewise.
60477         * time/setitimer.c: Likewise.
60478         * time/settimeofday.c: Likewise.
60479         * time/stime.c: Likewise.
60480         * time/time.c: Likewise.
60482 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
60484         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
60485         /usr/old/bin.
60487         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
60488         instead of spaces.
60489         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
60491 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
60493         [BZ #14796]
60494         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
60495         FE_TONEAREST before applying Dekker multiplication and Knuth
60496         addition.  Clear inexact exceptions and check for exact zero
60497         results afterwards.
60498         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60499         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
60500         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60501         * math/libm-test.inc (fma_test): Add more tests.
60502         (fma_test_towardzero): Likewise.
60503         (fma_test_downward): Likewise.
60504         (fma_test_upward): Likewise.
60505         * sysdeps/generic/math_private.h (default_libc_fesetround): New
60506         function.
60507         (libc_fesetround): New macro.
60508         (libc_fesetroundf): Likewise.
60509         (libc_fesetroundl): Likewise.
60510         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
60511         function.
60512         (libc_fesetround_387): Likewise.
60513         (libc_fesetroundf): New macro.
60514         (libc_fesetround): Likewise.
60515         (libc_fesetroundl): Likewise.
60516         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
60517         function.
60518         (libc_fesetroundf): New macro.
60519         (libc_fesetround): Likewise.
60520         (libc_fesetroundl): Likewise.
60521         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
60522         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
60523         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
60524         libm_hidden_ver.
60525         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
60526         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
60527         libm_hidden_def.
60528         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
60529         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
60530         libm_hidden_ver.
60531         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
60532         libm_hidden_def.
60534         [BZ #3439]
60535         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
60536         integer constant usable in #if and use that to give value to enum
60537         constant.
60538         (FE_DIVBYZERO): Likewise.
60539         (FE_UNDERFLOW): Likewise.
60540         (FE_OVERFLOW): Likewise.
60541         (FE_INVALID): Likewise.
60542         (FE_INVALID_SNAN): Likewise.
60543         (FE_INVALID_ISI): Likewise.
60544         (FE_INVALID_IDI): Likewise.
60545         (FE_INVALID_ZDZ): Likewise.
60546         (FE_INVALID_IMZ): Likewise.
60547         (FE_INVALID_COMPARE): Likewise.
60548         (FE_INVALID_SOFTWARE): Likewise.
60549         (FE_INVALID_SQRT): Likewise.
60550         (FE_INVALID_INTEGER_CONVERSION): Likewise.
60551         (FE_TONEAREST): Likewise.
60552         (FE_TOWARDZERO): Likewise.
60553         (FE_UPWARD): Likewise.
60554         (FE_DOWNWARD): Likewise.
60555         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
60556         (FE_DIVBYZERO): Likewise.
60557         (FE_OVERFLOW): Likewise.
60558         (FE_UNDERFLOW): Likewise.
60559         (FE_INEXACT): Likewise.
60560         (FE_TONEAREST): Likewise.
60561         (FE_DOWNWARD): Likewise.
60562         (FE_UPWARD): Likewise.
60563         (FE_TOWARDZERO): Likewise.
60564         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
60565         (FE_UNDERFLOW): Likewise.
60566         (FE_OVERFLOW): Likewise.
60567         (FE_DIVBYZERO): Likewise.
60568         (FE_INVALID): Likewise.
60569         (FE_TONEAREST): Likewise.
60570         (FE_TOWARDZERO): Likewise.
60571         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
60572         (FE_OVERFLOW): Likewise.
60573         (FE_UNDERFLOW): Likewise.
60574         (FE_DIVBYZERO): Likewise.
60575         (FE_INEXACT): Likewise.
60576         (FE_TONEAREST): Likewise.
60577         (FE_TOWARDZERO): Likewise.
60578         (FE_UPWARD): Likewise.
60579         (FE_DOWNWARD): Likewise.
60580         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
60581         (FE_DIVBYZERO): Likewise.
60582         (FE_OVERFLOW): Likewise.
60583         (FE_UNDERFLOW): Likewise.
60584         (FE_INEXACT): Likewise.
60585         (FE_TONEAREST): Likewise.
60586         (FE_DOWNWARD): Likewise.
60587         (FE_UPWARD): Likewise.
60588         (FE_TOWARDZERO): Likewise.
60590 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
60592         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
60594 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
60596         * scripts/cross-test-ssh.sh (command): Use newlines to separate
60597         commands.  Quote $PWD.
60598         (blacklist_exports): Don't use remove_newlines.  Replace "declare
60599         -x" by "export".
60600         (remove_newlines): Remove.
60602 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
60604         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
60605         * stdlib/stdlib.h (atof): Moved to ...
60606         * include/bits/stdlib-float.h: Here.  New file.
60607         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
60608         * stdlib/bits/stdlib-float.h: New file.
60609         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
60610         -mno-sse -mno-mmx.
60611         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
60612         <xmmintrin.h>.
60614 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60616         * conform/conformtest.pl (@headers): Add fenv.h.
60617         * conform/data/fenv.h-data: New file.
60618         * include/fenv.h [_ISOMAC]: Disable all contents of file except
60619         include of <math/fenv.h>.
60621         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
60622         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
60623         && !UNIX98].  Enables tests for XOPEN2K8.
60624         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
60625         POSIX2008]: Likewise.
60627         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
60628         (struct rusage): Do not expect type or its members.
60630         [BZ #3439]
60631         * math/math.h (FP_NAN): Define macro to integer constant usable in
60632         #if and use that to give value to enum constant.
60633         (FP_INFINITE): Likewise.
60634         (FP_ZERO): Likewise.
60635         (FP_SUBNORMAL): Likewise.
60636         (FP_NORMAL): Likewise.
60638 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
60640         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
60641         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
60642         arguments.
60644 2012-11-02  Roland McGrath  <roland@hack.frob.com>
60646         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
60647         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
60648         autoconf-time if not.
60649         * configure.in: Remove AC_PREREQ.
60651 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60653         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
60654         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
60655         of the internal implementation.
60657 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
60659         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
60660         except include of <misc/sys/syslog.h>.
60662 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
60665         function returns with a NULL context exit with zero.
60667 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60669         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
60671 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
60673         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
60674         (run_program_cmd): This.
60675         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
60676         (tst_langinfo): New variable.  Use it.
60678 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
60680         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
60681         floating point opcodes.
60683 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60685         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
60686         variable.
60688         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
60690         * sysdeps/mach/hurd/powerpc: Remove directory.
60691         * sysdeps/mach/powerpc: Likewise.
60693 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
60695         * scripts/check-local-headers.sh: Ignore c++ headers.
60697 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60699         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
60700         __libc_cleanup_region_start argument.
60702 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
60704         [BZ #14784]
60705         [BZ #14785]
60706         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
60707         x * y using scaling, not as x * y + z.
60708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60709         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60710         * math/libm-test.inc (fma_test): Add more tests.
60711         (fma_test_towardzero): Likewise.
60712         (fma_test_downward): Likewise.
60713         (fma_test_upward): Likewise.
60715 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
60717         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
60719 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60721         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
60722         New variable.
60724 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
60726         * rt/tst-shm.c (worker): Correct checking for mmap failure.
60728 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60731         Fix sort order.
60732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60733         Likewise.
60735 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
60737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60738         Fix the order of the list for glibc 2.17.
60739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60740         Likewise.
60742 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
60744         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60746 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
60748         [BZ #14610]
60749         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
60750         for low part of x being zero before using __atanl (y).
60751         * math/libm-test.inc (atan2_test): Add another test.
60753         * manual/install.texi (Configuring and compiling): Document
60754         general use of test-wrapper and test-wrapper-env.
60755         * INSTALL: Regenerated.
60757         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
60758         (__fma): Do not extract and scale down low bits on after-rounding
60759         systems when result rounded to normal precision would have normal
60760         exponent.
60761         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
60762         (__fmal): Do not extract and scale down low bits on after-rounding
60763         systems when result rounded to normal precision would have normal
60764         exponent.
60765         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
60766         (__fmal): Do not extract and scale down low bits on after-rounding
60767         systems when result rounded to normal precision would have normal
60768         exponent.
60769         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
60770         macro.
60771         (fma_test): Add more tests.
60772         (fma_test_towardzero): Likewise.
60773         (fma_test_downward): Likewise.
60774         (fma_test_upward): Likewise.
60776 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
60778         * sysdeps/i386/tininess.h: Renamed to ...
60779         * sysdeps/x86/tininess.h: This.
60780         * sysdeps/x86_64/tininess.h: Removed.
60782 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60784         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
60785         input.  Use $(build-program-cmd).
60786         ($(objpfx)tst-array1-static.out): Likewise.
60787         ($(objpfx)tst-array2.out): Likewise.
60788         ($(objpfx)tst-array3.out): Likewise.
60789         ($(objpfx)tst-array4.out): Likewise.
60790         ($(objpfx)tst-array5.out): Likewise.
60791         ($(objpfx)tst-array5-static.out): Likewise.
60793 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
60795         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
60796         if defined.
60798         * nss/nsswitch.h (nss_interface_function): Provide new
60799         macro for use with NSS functions.
60800         * grp/initgroups.c: Use new macro.
60801         * nss/getXXbyYY.c: Likewise.
60802         * nss/getXXbyYY_r.c: Likewise.
60803         * nss/getXXent.c: Likewise.
60804         * nss/getXXent_r.c: Likewise.
60805         * sysdeps/posix/getaddrinfo.c: Likewise.
60807 2012-10-30  Andreas Jaeger  <aj@suse.de>
60809         * po/ru.po: Update Russion translation from translation project.
60811 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
60813         [BZ #14152]
60814         [BZ #14783]
60815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
60816         result and shift together with sticky bit instead of replicating
60817         round-to-nearest rounding.
60818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
60819         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
60820         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
60821         missing underflow exceptions.
60822         (fma_test_towardzero): Add more tests.
60823         (fma_test_downward): Likewise.
60824         (fma_test_upward): Likewise.
60826         [BZ #14047]
60827         * sysdeps/generic/tininess.h: New file.
60828         * sysdeps/i386/tininess.h: Likewise.
60829         * sysdeps/sh/tininess.h: Likewise.
60830         * sysdeps/x86_64/tininess.h: Likewise.
60831         * stdlib/tst-strtod-underflow.c: Likewise.
60832         * stdlib/tst-tininess.c: Likewise.
60833         * stdlib/strtod_l.c: Include <tininess.h>.
60834         (round_and_return): Do not set errno for exact underflow cases.
60835         Force an underflow exception when setting errno for underflow.
60836         Determine underflow based on rounding to normal precision if
60837         TININESS_AFTER_ROUNDING.
60838         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
60839         ERANGE for exact underflow cases.
60840         * stdlib/Makefile (tests): Add tst-tininess and
60841         tst-strtod-underflow.
60842         ($(objpfx)tst-tininess): Use $(link-libm).
60843         ($(objpfx)tst-strtod-underflow): Likewise.
60845 2012-10-30  Andreas Jaeger  <aj@suse.de>
60847         [BZ#14767]
60848         * elf/Makefile (tests): Remove conditional for have-initfini-array
60849         since this is now always required and the variable does not exist
60850         anymore.
60851         (tests-static): Likewise.
60852         (modules-names): Likewise.
60854         * po/eo.po: Add Esperanto translation from translation project.
60856         * elf/tst-array1.c (fini_array): Make writeable so that it can be
60857         merged with constructor/destructor.
60858         (init_array): Likewise.
60859         * elf/tst-array2dep.c (fini_array): Likewise.
60860         (init_array): Likewise.
60862 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
60864         * manual/message.texi: Delete @cartouche tags.
60866 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
60868         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
60869         EOPNOTSUPP.
60870         * sysdeps/mach/hurd/fsync.c: Likewise.
60872         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
60873         [_POSIX_REALTIME_SIGNALS]: Change condition to
60874         [_POSIX_REALTIME_SIGNALS > 0].
60876 2012-10-27  Andreas Jaeger  <aj@suse.de>
60878         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
60879         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
60880         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
60881         [__WORDSIZE != 64]: Likewise.
60883 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
60885         *  iconvdata/tst-table.sh: Remove ${SHELL}.
60886         *  iconvdata/tst-tables.sh: Likewise.
60888 2012-10-25  David S. Miller  <davem@davemloft.net>
60890         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60891         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
60892         of strtoull.
60894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
60895         ifunc-impl-list.c
60896         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
60897         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
60898         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
60899         file.
60901 2012-10-25  Roland McGrath  <roland@hack.frob.com>
60903         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
60904         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
60905         __getdirentries.
60907 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60908             Jim Blandy  <jimb@codesourcery.com>
60910         * scripts/cross-test-ssh.sh: New file.
60911         * manual/install.texi (Configuring and compiling): Document use of
60912         cross-test-ssh.sh.
60913         * INSTALL: Regenerated.
60915 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
60917         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
60918         EOPNOTSUPP.
60920 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
60922         * Makeconfig (run-program-prefix): Fix comment.
60924 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
60925             Jim Blandy  <jimb@codesourcery.com>
60927         * Makeconfig (test-wrapper): New variable,
60928         (test-wrapper-env): Likewise.
60929         [$(cross-compiling) = yes && $(test-wrapper) != ""]
60930         (run-built-tests): Define to yes.
60931         (run-program-prefix): Use $(test-wrapper).
60932         (built-program-cmd): Likewise.
60933         * Rules (make-test-out): Use $(test-wrapper-env) and
60934         $(host-built-program-cmd).
60935         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
60936         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
60937         tst-pathopt.sh.
60938         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
60939         $(test-wrapper-env) to tst-rtld-load-self.sh.
60940         ($(objpfx)order2.out): Use $(test-wrapper).
60941         ($(objpfx)tst-initorder.out): Likewise.
60942         ($(objpfx)tst-initorder2.out): Likewise.
60943         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
60944         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
60945         (test_wrapper_env): New variable.  Use it to run ld.so.
60946         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
60947         Use it to run ld.so.
60948         (test_wrapper_env): Likewise.
60949         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
60950         $(test-wrapper) to run-iconv-test.sh.
60951         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
60952         (ICONV): Use $test_wrapper.
60953         * posix/Makefile ($(objpfx)globtest.out): Pass
60954         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
60955         globtest.sh, not $(run-program-prefix).
60956         * posix/globtest.sh (run_via_rtld_prefix): New variable.
60957         (test_wrapper): Likewise.
60958         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
60959         set together with run_via_rtld_prefix.
60960         (run_program_prefix): Define in terms of test_wrapper and
60961         run_via_rtld_prefix.
60963 2012-10-24  Roland McGrath  <roland@hack.frob.com>
60965         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
60966         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
60967         Targets removed.
60969         [BZ #14743]
60970         * include/time.h: Remove librt_hidden_proto (clock_gettime).
60971         Declare __clock_getres, __clock_gettime, __clock_settime,
60972         __clock_nanosleep, and __clock_getcpuclockid.
60973         * rt/clock_gettime.c: Define __clock_gettime as an alias.
60974         Remove librt_hidden_def (clock_gettime).
60975         * sysdeps/unix/clock_gettime.c: Likewise.
60976         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
60977         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
60978         * rt/clock_getres.c: Define __clock_getres as an alias.
60979         * sysdeps/posix/clock_getres.c: Likewise.
60980         * rt/clock_settime.c: Define __clock_settime as an alias.
60981         * sysdeps/unix/clock_settime.c: Likewise.
60982         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
60983         * sysdeps/unix/clock_nanosleep.c: Likewise.
60984         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
60985         * rt/clock-compat.c: New file.
60986         * rt/Makefile (librt-routines): Add clock-compat and move
60987         $(clock-routines) to ...
60988         (routines): ... here, new variable.
60989         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
60990         Don't add get_clockfreq here.
60991         * rt/Versions (libc: GLIBC_2.17): New version set.
60992         Add clock_* symbols here.
60993         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
60994         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
60995         (GLIBC_2.17): Add clock_* symbols.
60996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
60997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
60998         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
61000         Likewise.
61001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
61002         Likewise.
61003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
61004         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
61005         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
61006         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
61007         * NEWS: Mention the move.
61009         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
61010         Use __open, __read, __close rather than their public counterparts.
61011         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
61012         (__get_clockfreq_via_cpuinfo): Likewise.
61013         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
61014         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
61016         * config.h.in (HAVE_IFUNC): New #undef.
61017         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
61018         was successful.
61019         * configure: Regenerated.
61021 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61023         * configure.in: Move READELF check to start of file.
61024         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
61025         libc_cv_asm_gnu_indirect_function in the process.
61026         * configure: Regenerated.
61028 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
61030         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
61031         send the output to /dev/null.
61032         (libc_cv_cc_with_libunwind): Likewise.
61033         (libc_cv_as_noexecstack): Likewise.
61034         * configure: Regenerate.
61036 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
61038         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
61040         * posix/globtest.sh (TMPDIR): Do not set.
61041         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
61042         (testout): Likewise.
61044 2012-10-24  Andreas Jaeger  <aj@suse.de>
61046         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
61047         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
61048         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
61049         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
61050         posix_fadvise64, posix_fallocate64.
61052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
61053         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
61054         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
61055         Likewise.
61056         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
61057         Likewise.
61058         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
61060         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
61061         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
61062         <bits/fcntl-linux.h>.
61063         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
61065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
61066         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
61067         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
61068         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
61069         [__WORDSIZE != 64]: Likewise.
61071 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61073         * Makeconfig (run-built-tests): New variable.
61074         * Rules [$(cross-compiling) = yes]: Change condition to
61075         [$(run-built-tests) = no].
61076         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
61077         to [$(run-built-tests) = yes].
61078         * elf/Makefile [$(cross-compiling) = no]: Likewise.
61079         * grp/Makefile [$(cross-compiling) = no]: Likewise.
61080         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
61081         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
61082         * intl/Makefile [$(cross-compiling) = no]: Likewise.
61083         * io/Makefile [$(cross-compiling) = no]: Likewise.
61084         * libio/Makefile [$(cross-compiling) = no]: Likewise.
61085         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
61086         * misc/Makefile [$(cross-compiling) = no]: Likewise.
61087         * posix/Makefile [$(cross-compiling) = no]: Likewise.
61088         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
61089         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
61090         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
61091         * string/Makefile [$(cross-compiling) = no]: Likewise.
61093         * posix/Makefile ($(objpfx)globtest.out): Pass
61094         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
61095         $(rtld-installed-name).
61096         * posix/globtest.sh (elf_objpfx): Remove variable.
61097         (rtld_installed_name): Likewise.
61098         (library_path): Likewise.
61099         (run_program_prefix): New variable.  Use for running globtest
61100         binary.
61102 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
61103             Joseph Myers  <joseph@codesourcery.com>
61105         * Makeconfig (host-built-program-cmd): New variable.
61106         * elf/Makefile (tst-stackguard1-ARGS): Use
61107         $(host-built-program-cmd).
61108         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
61109         (tst-spawn-ARGS): Likewise.
61110         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
61112 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
61113             Jim Blandy  <jimb@codesourcery.com>
61115         * Makeconfig (run-via-rtld-prefix): New variable.
61116         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
61117         (built-program-cmd): Likewise.
61119 2012-10-22  Andreas Jaeger  <aj@suse.de>
61121         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
61122         __O_RSYNC if it exists, otherwise to O_SYNC.
61124 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
61125             Joseph Myers  <joseph@codesourcery.com>
61127         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
61128         /dev/null.
61129         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
61130         from /dev/null
61131         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
61132         /dev/null.
61134 2012-10-22  Andreas Jaeger  <aj@suse.de>
61136         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
61137         Define always.
61138         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
61140         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
61141         bits/fcntl-linux.h.
61143         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
61144         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
61146         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
61147         to __O_LARGEFILE.
61148         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
61149         to __O_LARGEFILE.
61151 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
61152             Joseph Myers  <joseph@codesourcery.com>
61154         * config.make.in (NM): New variable.
61156 2012-10-21  Andreas Jaeger  <aj@suse.de>
61158         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
61159         definitions and declarations that are provided by
61160         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
61162 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61164         [BZ #14683]
61165         * elf/Makefile (tests-static): Add tst-leaks1-static.
61166         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
61167         ($(objpfx)tst-leaks1-static): New rule.
61168         ($(objpfx)tst-leaks1-static-mem): Likewise.
61169         (tst-leaks1-static-ENV): New macro.
61170         * elf/dl-open.c (dl_open_worker): Check the main application
61171         only if SHARED is defined.
61172         * elf/tst-leaks1-static.c: New file.
61174 2012-10-20  Andreas Jaeger  <aj@suse.de>
61176         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
61177         generic values for Linux.
61178         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
61179         and declarations that are provided by <bits/fcntl-linux.h> and
61180         include <bits/fcntl-linux.h>.
61181         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
61182         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
61184 2012-10-20  Roland McGrath  <roland@hack.frob.com>
61186         * io/fcntl.h: Move include of <bits/types.h> to the top and
61187         include it unconditionally.
61189 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
61191         * wcsmbs/Makefile (tests-ifunc): New variable.
61192         (tests): Add $(tests-ifunc).
61193         * wcsmbs/test-wcschr-ifunc.c: New file.
61194         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
61195         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
61196         * wcsmbs/test-wcslen-ifunc.c: Likewise.
61197         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
61198         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
61200         * string/Makefile (tests-ifunc): New variable.
61201         (tests): Add $(tests-ifunc).
61202         * string/test-memccpy.c (TEST_NAME): New macro.
61203         * string/test-memchr.c (TEST_NAME): Likewise.
61204         * string/test-memcmp.c (TEST_NAME): Likewise.
61205         * string/test-memcpy.c (TEST_NAME): Likewise.
61206         * string/test-memmem.c (TEST_NAME): Likewise.
61207         * string/test-memmove.c (TEST_NAME): Likewise.
61208         * string/test-memset.c (TEST_NAME): Likewise.
61209         * string/test-rawmemchr.c (TEST_NAME): Likewise.
61210         * string/test-stpcpy.c (TEST_NAME): Likewise.
61211         * string/test-stpncpy.c (TEST_NAME): Likewise.
61212         * string/test-strcasecmp.c (TEST_NAME): Likewise.
61213         * string/test-strcasestr.c (TEST_NAME): Likewise.
61214         * string/test-strcat.c (TEST_NAME): Likewise.
61215         * string/test-strchr.c (TEST_NAME): Likewise.
61216         * string/test-strcmp.c(TEST_NAME): Likewise.
61217         * string/test-strcpy.c (TEST_NAME): Likewise.
61218         * string/test-strcspn.c (TEST_NAME): Likewise.
61219         * string/test-strlen.c (TEST_NAME): Likewise.
61220         * string/test-strncasecmp.c (TEST_NAME): Likewise.
61221         * string/test-strncmp.c (TEST_NAME): Likewise.
61222         * string/test-strncpy.c (TEST_NAME): Likewise.
61223         * string/test-strnlen.c (TEST_NAME): Likewise.
61224         * string/test-strpbrk.c (TEST_NAME): Likewise.
61225         * string/test-strrchr.c (TEST_NAME): Likewise.
61226         * string/test-strspn.c (TEST_NAME): Likewise.
61227         * string/test-strstr.c (TEST_NAME): Likewise.
61228         * string/test-bcopy-ifunc.c: New file.
61229         * string/test-bzero-ifunc.c: Likewise.
61230         * string/test-memccpy-ifunc.c: Likewise.
61231         * string/test-memchr-ifunc.c: Likewise.
61232         * string/test-memcmp-ifunc.c: Likewise.
61233         * string/test-memcpy-ifunc.c: Likewise.
61234         * string/test-memmem-ifunc.c: Likewise.
61235         * string/test-memmove-ifunc.c: Likewise.
61236         * string/test-mempcpy-ifunc.c: Likewise.
61237         * string/test-memset-ifunc.c: Likewise.
61238         * string/test-rawmemchr-ifunc.c: Likewise.
61239         * string/test-stpcpy-ifunc.c: Likewise.
61240         * string/test-stpncpy-ifunc.c: Likewise.
61241         * string/test-strcasecmp-ifunc.c: Likewise.
61242         * string/test-strcasestr-ifunc.c: Likewise.
61243         * string/test-strcat-ifunc.c: Likewise.
61244         * string/test-strchr-ifunc.c: Likewise.
61245         * string/test-strchrnul-ifunc.c: Likewise.
61246         * string/test-strcmp-ifunc.c: Likewise.
61247         * string/test-strcpy-ifunc.c: Likewise.
61248         * string/test-strcspn-ifunc.c: Likewise.
61249         * string/test-strlen-ifunc.c: Likewise.
61250         * string/test-strncasecmp-ifunc.c: Likewise.
61251         * string/test-strncat-ifunc.c: Likewise.
61252         * string/test-strncmp-ifunc.c: Likewise.
61253         * string/test-strncpy-ifunc.c: Likewise.
61254         * string/test-strnlen-ifunc.c: Likewise.
61255         * string/test-strpbrk-ifunc.c: Likewise.
61256         * string/test-strrchr-ifunc.c: Likewise.
61257         * string/test-strspn-ifunc.c: Likewise.
61258         * string/test-strstr-ifunc.c: Likewise.
61260         * debug/Makefile (tests-ifunc): New variable.
61261         (tests): Add $(tests-ifunc).
61262         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
61263         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
61264         * debug/test-stpcpy_chk-ifunc.c: New file.
61265         * debug/test-strcpy_chk-ifunc.c: Likewise.
61267 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61269         [BZ #13601]
61270         * elf/dl-load.c (open_verify): Retry read if the entire ELF
61271         header is not read in.
61273 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
61275         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
61276         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
61277         directly.  Pass built executable to script as
61278         $(built-program-cmd).
61279         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
61280         $testprogram without using LD_LIBRARY_PATH and $ldso.
61282         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
61283         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
61284         $(rtld-installed-name).
61285         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
61286         (rtld_installed_name): Likewise.
61287         (library_path): Likewise.
61288         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
61289         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
61290         $(run-program-prefix) to tst-tables.sh.
61291         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
61292         it to run tst-table-from and tst-table-to.
61293         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
61294         Pass it to tst-table.sh.
61295         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
61296         $(run-program-prefix) to tst-gettext.sh.
61297         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
61298         tst-translit.sh.
61299         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
61300         tst-gettext2.sh.
61301         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
61302         to run tst-gettext.
61303         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
61304         to run tst-gettext2.
61305         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
61306         to run tst-translit.
61307         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
61308         $(run-program-prefix) to tst-mtrace.sh.
61309         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
61310         to run tst-mtrace.
61311         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
61312         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
61313         $(rtld-installed-name).
61314         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
61315         (rtld_installed_name): Likewise.
61316         (run_program_prefix): New variable.  Use it to run wordexp-test.
61318         * Makeconfig (ARCH): Remove all definitions.
61319         (machine): Likewise.
61320         [ARCH]: Remove conditional code.
61321         [!objdir]: Give error.
61322         [!objdir] (objpfx): Remove.
61323         [!objdir] (common-objpfx): Likewise.
61324         [!objdir] (common-objdir): Likewise.
61325         * configure.in (config_makefile): Remove.  Hardcode Makefile in
61326         AC_CONFIG_FILES call.
61327         * configure: Regenerated.
61329         [BZ #13888]
61330         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
61331         or TMPDIR.
61332         (testout): Likewise.
61334         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
61335         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
61336         $(rtld-installed-name).
61337         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
61338         (rtld_installed_name): Likwise.
61339         (runit): Remove function.
61340         (run_getconf): New variable,  Use it for running getconf binary.
61342 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
61344         [BZ #14716]
61345         * string/test-memmem.c (check_result): New function.
61346         (do_one_test): Use it.
61347         (check1): New function.
61348         (test_main): Use it.
61350 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
61352         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
61354 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
61356         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
61357         (_G_LSEEK64): Likewise.
61358         (_G_MMAP64): Likewise.
61359         (_G_FSTAT64): Likewise.
61360         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
61361         (_G_LSEEK64): Likewise.
61362         (_G_MMAP64): Likewise.
61363         (_G_FSTAT64): Likewise.
61364         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
61365         unconditional.  Call __mmap64 directly.
61366         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
61367         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
61368         __lseek64 directly.
61369         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
61370         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
61371         __mmap64 directly.
61372         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
61373         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61374         __lseek64 directly.
61375         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
61376         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
61377         __lseek64 directly.
61378         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
61379         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
61380         __lseek64 directly.
61381         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
61382         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
61383         __fxstat64 directly.
61384         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
61385         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
61386         unconditional.
61387         (freopen64) [!_G_OPEN64]: Remove conditional code.
61388         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
61389         unconditional.
61390         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
61391         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
61392         unconditional.
61393         (ftello64) [!_G_LSEEK64]: Remove conditional code.
61394         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
61395         unconditional.
61396         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61397         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
61398         unconditional.
61399         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
61400         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
61401         unconditional.
61402         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61403         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
61404         unconditional.
61405         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
61406         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
61407         unconditional.
61408         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
61410 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
61412         [BZ #12140]
61413         * manual/memory.texi (Malloc Tunable Parameters): Add note
61414         about free list pointers overwriting some perturb bytes.
61415         Wording suggested by Roland McGrath.
61417 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
61419         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
61420         (lgamma_test): Likewise.
61421         (tgamma_test): Likewise.
61423 2012-10-16  Florian Weimer  <fweimer@redhat.com>
61425         [BZ #14700]
61426         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
61427         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
61429 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
61431         * NEWS: Mention BZ #14716.
61432         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
61433         when removing AVAILABLE1_USES_J macro.
61435 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
61437         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
61438         (__bswap_64): __uint64_t for unsigned 64-bit int.
61440 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
61442         * include/string.h (memmem): Declare libc hidden alias.
61443         * string/memmem.c (memmem): Define libc hidden alias.
61444         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
61445         __read, __close instead of open, read, close.
61447 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
61449         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
61450         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
61451         global and hidden.
61452         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
61453         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
61454         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
61455         Likewise.
61456         (__rawmemchr_sse2): Likewise.
61457         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
61458         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
61459         (__strchr_sse2): Likewise.
61460         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
61461         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
61462         (__strcasecmp_sse2): Likewise.
61463         (__strncasecmp_sse2): Likewise.
61464         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
61465         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
61466         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
61467         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
61468         (__strrchr_sse2): Likewise.
61469         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
61470         ifunc-impl-list.c.
61471         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
61472         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
61473         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
61474         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
61475         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
61476         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
61477         * sysdeps/x86_64/multiarch/memset.S: Likewise.
61478         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
61479         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
61480         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
61481         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
61482         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
61483         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
61484         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
61485         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
61486         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61487         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
61488         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
61489         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
61490         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
61491         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
61492         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
61493         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
61494         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
61495         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
61496         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61497         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
61498         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61499         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
61500         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
61502         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
61503         global and hidden.
61504         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
61505         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
61506         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
61507         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
61508         Likewise.
61509         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
61510         Likewise.
61511         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
61512         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
61513         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
61514         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
61515         ifunc-impl-list.c.
61516         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
61517         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
61518         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
61519         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
61520         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
61521         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
61522         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
61523         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
61524         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
61525         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
61526         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
61527         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
61528         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
61529         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
61530         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
61531         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61532         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
61533         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
61534         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
61535         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
61536         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
61537         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
61538         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
61539         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
61540         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61541         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
61542         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
61543         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
61544         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
61545         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
61546         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
61547         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
61548         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
61549         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
61550         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
61551         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
61552         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
61553         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
61554         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
61555         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
61556         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
61558         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
61559         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
61560         * include/ifunc-impl-list.h: New file.
61561         * misc/ifunc-impl-list.c: Likewise.
61562         * misc/Makefile (routines): Add ifunc-impl-list.
61563         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
61564         * string/test-string.h: Include <ifunc-impl-list.h>.
61565         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
61566         TEST_NAME]: New variables.
61567         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
61568         are defined.
61569         (test_init): Call __libc_ifunc_impl_list to initialize
61570         func_list if TEST_IFUNC and TEST_NAME are defined.
61572         * string/Makefile (strop-tests): Add bcopy and bzero.
61573         * string/test-bcopy.c: New file.
61574         * string/test-bzero.c: Likewise.
61575         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
61576         defined.
61577         * string/test-memset.c: Support bzero test if TEST_BZERO is
61578         defined.
61579         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
61580         __libc_memmove.
61581         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
61582         __libc_memset.
61583         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
61584         of memset.
61586 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
61588         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
61589         * configure: Regenerated.
61591         * Makeconfig (+link-static-before-libc): Don't include
61592         $(link-static-libc).
61594         * libio/libio.h (_IO_pos_t): Remove.
61596 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61598         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
61599         McGrath.
61601 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61603         * crypt/crypt-entry.c: Include fips-private.h.
61604         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
61605         * crypt/md5c-test.c (main): Tolerate disabled MD5.
61606         * sysdeps/unix/sysv/linux/fips-private.h: New file.
61607         * sysdeps/generic/fips-private.h: New file, dummy fallback.
61609 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
61611         * crypt/crypt-private.h: Include stdbool.h.
61612         (_ufc_setup_salt_r): Return bool.
61613         * crypt/crypt-entry.c: Include errno.h.
61614         (__crypt_r): Return NULL with EINVAL for bad salt.
61615         * crypt/crypt_util.c (bad_for_salt): New.
61616         (_ufc_setup_salt_r): Check that salt is long enough and within
61617         the specified alphabet.
61618         * crypt/badsalttest.c: New file.
61619         * crypt/Makefile (tests): Add it.
61620         ($(objpfx)badsalttest): New.
61622 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
61624         * NEWS: Add entry for BZ #14602.
61626 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61628         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
61629         type-generic.
61630         * math/libm-test.inc: Update comment listing what functions and
61631         macros are tested.
61632         (isgreater_test): New function.
61633         (isgreaterequal_test): Likewise.
61634         (isless_test): Likewise.
61635         (islessequal_test): Likewise.
61636         (islessgreater_test): Likewise.
61637         (isunordered_test): Likewise.
61638         (main): Call the new functions.
61640 2012-10-09  Roland McGrath  <roland@hack.frob.com>
61642         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
61643         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
61644         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
61645         * sysdeps/i386/configure: Regenerated.
61646         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
61647         * sysdeps/mach/configure: Regenerated.
61648         * sysdeps/mach/hurd/configure: Regenerated.
61649         * sysdeps/powerpc/configure: Regenerated.
61650         * sysdeps/powerpc/powerpc32/configure: Regenerated.
61651         * sysdeps/powerpc/powerpc64/configure: Regenerated.
61652         * sysdeps/s390/s390-32/configure: Regenerated.
61653         * sysdeps/s390/s390-64/configure: Regenerated.
61654         * sysdeps/sh/configure: Regenerated.
61655         * sysdeps/sparc/configure: Regenerated.
61656         * sysdeps/unix/sysv/linux/configure: Regenerated.
61657         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
61658         * sysdeps/x86_64/configure: Regenerated.
61660         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
61661         defined.  Don't check if MAP is NULL.
61663 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
61665         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
61666         (_G_stat64): Likewise.
61667         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
61668         (_G_stat64): Likewise.
61669         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
61670         instead of struct _G_stat64.
61671         * libio/fileops.c (mmap_remap_check): Likewise.
61672         (decide_maybe_mmap): Likewise.
61673         (_IO_new_file_seekoff): Likewise.
61674         (_IO_file_stat): Likewise.
61675         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
61676         _G_off64_t.
61677         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
61678         instead of struct _G_stat64.
61679         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
61681 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
61683         [BZ #14602]
61684         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61685         Replace with ...
61686         (CHECK_EOL): New macro.
61687         (two_way_short_needle): Check beginning of haystack for EOL.  Use
61688         CHECK_EOL.
61689         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61690         Replace with CHECK_EOL.
61691         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
61692         Replace with CHECK_EOL.
61694 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
61696         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
61697         type-generic.
61698         * math/libm-test.inc: Update comment listing what functions and
61699         macros are tested.
61700         (finite_test): New function.
61701         (isinf_test): Likewise.
61702         (isnan_test): Likewise.
61703         (fpclassify_test): Test subnormal input.
61704         (isfinite_test): Likewise.
61705         (isnormal_test): Likewise.
61706         (main): Call the new functions.
61708 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
61710         [BZ #14660]
61711         * Makerules (%.dynsym): Force C locale when running
61712         $(OBJDUMP) --dynamic-syms.
61714 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
61716         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
61717         <stdint.h>.
61719 2012-10-06  David S. Miller  <davem@davemloft.net>
61721         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
61722         upper 32-bits of the length value in %o2 since we use branch-on-register
61723         tests which consider the entire 64-bit register.
61725 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
61727         * string/test-strstr.c (check2): Add a test for page boundary.
61729 2012-10-05  David S. Miller  <davem@davemloft.net>
61731         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
61732         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
61733         file.
61734         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61735         sysdep_routines.
61736         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61737         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
61738         and bzero when HWCAP_SPARC_CRYPTO is present.
61740 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
61742         [BZ #14602]
61743         * string/test-strstr.c (check2): New function.
61744         (test_main): Call check2.
61746         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
61747         and bug-strchr1.
61748         * string/bug-strcasestr1.c (do_test): Moved to ...
61749         * string/test-strcasestr.c (check1): Here.  New function.
61750         (do_one_test): Break out result checking code into ...
61751         (check_result): This.  New function.
61752         (do_one_test): Call check_result.
61753         (test_main): Call check1.
61754         * string/bug-strchr1.c (do_test): Moved to ...
61755         * string/test-strchr.c (check1): Here.  New function.
61756         (do_one_test): Break out result checking code into ...
61757         (check_result): This.  New function.
61758         (do_one_test): Call check_result.
61759         (test_main): Call check1.
61760         * string/bug-strstr1.c (main): Moved to ...
61761         * string/test-strstr.c (check1): Here.  New function.
61762         (do_one_test): Break out result checking code into ...
61763         (check_result): This.  New function.
61764         (do_one_test): Call check_result.
61765         (test_main): Call check1.
61766         * string/bug-strcasestr1.c: Removed.
61767         * string/bug-strchr1.c: Likewise.
61768         * string/bug-strstr1.c: Likewise.
61770         * elf/Makefile (dl-routines): Add hwcaps.
61771         * elf/dl-support.c (_dl_important_hwcaps): Removed.
61772         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
61773         (_dl_important_hwcaps): Moved to ...
61774         * elf/dl-hwcaps.c: Here.  New file.
61775         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
61777         [BZ #14557]
61778         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
61779         if IS_IN_rtld isn't defined.
61781         * elf/dl-support.c (_dl_sysinfo_map): New.
61782         Include "get-dynamic-info.h" and "setup-vdso.h".
61783         (_dl_non_dynamic_init): Call setup_vdso.
61784         * elf/dynamic-link.h: Don't include <assert.h>.
61785         (elf_get_dynamic_info): Moved to ...
61786         * elf/get-dynamic-info.h: Here.  New file.
61787         * elf/dynamic-link.h: Include "get-dynamic-info.h".
61788         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
61789         * elf/setup-vdso.h: Here.  New file.
61790         * elf/rtld.c: Include "setup-vdso.h".
61791         (dl_main): Call setup_vdso.
61793 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
61795         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
61796         creal in comment listing functions tested.  List finite, isinf,
61797         isnan, isless, islessequal, isgreater, isgreaterequal,
61798         islessgreater, isunordered, lgamma_r and pow10 as functions and
61799         macros not tested.  Mention which functions not tested are aliases
61800         for other functions.  Fix typo.  Note that signs of NaNs are not
61801         tested.
61803         * scripts/config.guess: Update from config.git.
61804         * scripts/config.sub: Likewise.
61806 2012-10-04  Roland McGrath  <roland@hack.frob.com>
61808         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
61809         * misc/madvise.c (madvise): Renamed to __madvise.
61810         Make madvise a weak alias.
61811         * include/sys/mman.h: Declare __madvise.
61812         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
61813         * sysdeps/unix/syscalls.list
61814         (madvise): Make __madvise the strong name, and madvise a weak alias.
61815         * sysdeps/unix/sysv/linux/syscalls.list
61816         (madvise, mmap): Remove redundant entries.
61817         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
61818         * malloc/malloc.c (mtrim): Likewise.
61819         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
61821 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61823         * sysdeps/mach/hurd/dl-cache.c: File removed.
61824         * config.h.in (USE_LDCONFIG): New #undef.
61825         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
61826         * configure: Regenerated.
61827         * elf/Makefile (dl-routines): Add dl-cache only under
61828         [$(use-ldconfig) = yes].
61829         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
61830         cache on [USE_LDCONFIG].
61831         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
61832         [USE_LDCONFIG].
61833         * elf/rtld.c (dl_main): Likewise.
61835 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
61837         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
61838         _SC_LEVEL4_CACHE_LINESIZE.
61840 2012-10-03  Roland McGrath  <roland@hack.frob.com>
61842         * sysdeps/unix/bsd/confstr.h: File removed.
61844 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
61846         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
61847         sys/sdt-config.h.
61849 2012-10-02  Roland McGrath  <roland@hack.frob.com>
61851         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
61852         Make 'mapoff' field ElfW(Off) rather than off_t.
61854 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
61856         * nscd/Makefile: Remove nscd-cflags and all its users.
61857         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
61858         (CFLAGS-nonlib): Add compiler flags for nscd modules.
61860         [BZ #10631]
61861         * malloc.c (malloc_printerr): Clarify error message.
61863 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
61865         [BZ #14648]
61866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61867         Set bit_FMA_Usable if FMA is supported.
61868         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
61869         macro.
61870         (bit_FMA4_Usable): Updated.
61871         (index_FMA_Usable): New macro.
61872         (CPUID_FMA): Likewise.
61873         (HAS_FMA): Defined with bit_FMA_Usable.
61875 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61877         * bits/types.h (__swblk_t): Type removed.
61878         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
61879         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
61880         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61881         (__SWBLK_T_TYPE): Likewise.
61882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61883         (__SWBLK_T_TYPE): Likewise.
61884         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61885         (__SWBLK_T_TYPE): Likewise.
61886         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
61887         (__SWBLK_T_TYPE): Likewise.
61889 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
61890             Honza Horak <hhorak@redhat.com>
61892         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
61893         (xdr_mapname): Use YPMAXMAP as maxsize.
61894         (xdr_peername): Use YPMAXPEER as maxsize.
61895         (xdr_keydat): Use YPAXRECORD as maxsize.
61896         (xdr_valdat): Use YPMAXRECORD as maxsize.
61898 2012-10-01  Roland McGrath  <roland@hack.frob.com>
61900         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
61902         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
61903         * csu/init-first.c: ... here.
61904         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
61905         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
61906         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
61907         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
61908         * sysdeps/i386/init-first.c: File removed.
61909         * sysdeps/sh/init-first.c: File removed.
61911 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
61913         [BZ #14645]
61914         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
61915         if x * y might underflow to zero and z is zero.
61916         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
61917         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61918         * math/libm-test.inc (min_subnorm_value): New variable.
61919         (fma_test): Add more tests.
61920         (fma_test_towardzero): Likewise.
61921         (fma_test_downward): Likewise.
61922         (fma_test_upward): Likewise.
61923         (initialize): Set min_subnorm_value.
61925 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
61927         [BZ #14638]
61928         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
61929         0 + 0.
61930         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
61931         mode for addition resulting in exact zero.
61932         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
61933         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
61934         exact 0 + 0.
61935         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
61936         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
61937         * math/libm-test.inc (fma_test): Add more tests.
61938         (fma_test_towardzero): New function.
61939         (fma_test_downward): Likewise.
61940         (fma_test_upward): Likewise.
61941         (main): Call the new functions.
61943 2012-09-28  David S. Miller  <davem@davemloft.net>
61945         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
61947 2012-09-28  Roland McGrath  <roland@hack.frob.com>
61949         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
61950         instead of SIGALRM.
61952         * sysdeps/gnu/_G_config.h: Moved to ...
61953         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
61954         * sysdeps/mach/hurd/_G_config.h: Moved to ...
61955         * sysdeps/generic/_G_config.h: ... here.
61957         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
61959         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
61961         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
61962         Conditionalize target on [libnss_test1.so-version].
61964         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
61966         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
61967         (elfobjdir): Move out of conditionals.
61969         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
61970         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
61971         (__nss_lookup_function): Conditionalize label remove_from_tree on
61972         [!DO_STATIC_NSS || SHARED], matching its only use.
61974 2012-09-28  David S. Miller  <davem@davemloft.net>
61976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
61977         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
61978         file.
61979         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
61980         sysdep_routines.
61981         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
61982         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
61983         when HWCAP_SPARC_CRYPTO is present.
61985 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
61987         * io/tst-mknodat.c: Create a FIFO instead of a socket.
61989 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
61991         [BZ #6530]
61992         * stdio-common/vfprintf.c (process_string_arg): Revert
61993         2000-07-22 change.
61995 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
61997         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
61998         for testcase.
61999         * stdio-common/tst-sprintf.c: Include <locale.h>
62000         (main): Test sprintf's handling of incomplete multibyte
62001         characters.
62003 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
62005         * elf/dl-runtime.c (VERSYMIDX): Removed.
62006         * elf/dl-version.c (VERSYMIDX): Likewise.
62007         * elf/do-rel.h (VERSYMIDX): Likewise.
62008         (VALIDX): Likewise.
62009         * elf/dynamic-link.h (VERSYMIDX): Likewise.
62010         * elf/rtld.c (VALIDX): Likewise.
62011         (ADDRIDX): Likewise.
62012         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
62013         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
62014         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
62015         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
62016         (VALIDX): Likewise.
62017         (ADDRIDX): Likewise.
62019 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62021         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
62023 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
62025         [BZ #11438]
62026         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
62027         to global scope.
62028         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
62029         addresses are in the same scope as 192.0.2/24.
62030         * posix/gai.conf: Document new scope table defaults.
62032 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62034         [BZ #5298]
62035         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
62036         for ftell.  Compute offsets from write pointers instead.
62037         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
62039 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
62041         [BZ #14543]
62042         * libio/Makefile (tests): New test case tst-fseek.
62043         * libio/tst-fseek.c: New test case to verify that fseek/ftell
62044         combination works in wide mode.
62045         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
62046         state when the external buffer state changes.
62048 2012-09-27  David S. Miller  <davem@davemloft.net>
62050         [BZ #14376]
62051         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
62052         pass reloc->r_addend in as the 'high' argument to
62053         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
62055         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62057 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
62059         * rt/tst-aio2.c: Include <pthread.h>.
62060         * rt/tst-aio3.c: Likewise.
62062 2012-09-27  Steve Ellcey  <sellcey@mips.com>
62064         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
62066 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
62068         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
62069         contents on [SHARED].
62071 2012-09-26  Marek Polacek  <polacek@redhat.com>
62073         [BZ #14530]
62074         [BZ #13741]
62075         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
62076         for C++ and GCC <4.3 as well as for non GCC compilers.
62078 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
62080         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62082 2012-09-25  Roland McGrath  <roland@hack.frob.com>
62084         * Makefile.in (all, install): Declare with .PHONY.
62085         Reported by Michael Hope <michael.hope@linaro.org>.
62087 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
62089         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
62090         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
62091         system header.
62092         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
62093         Likewise.
62094         (sydep_routines): Add the new and the internal functions.
62095         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
62096         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
62097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
62098         (GLIBC_2.17): Add the new function.
62099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
62100         (GLIBC_2.17): Likewise.
62101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
62102         (GLIBC_2.17): Likewise.
62103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
62104         (GLIBC_2.17): Likewise.
62105         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
62107 2012-09-25  Alan Modra  <amodra@gmail.com>
62109         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
62110         Add release barrier before setting once_control to say
62111         initialisation is done.  Add hints on lwarx.  Use macro in
62112         place of isync.
62113         (clear_once_control): Add release barrier.
62115 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62117         [BZ #13629]
62118         * math/s_clog.c (__clog): Handle more values close to |z| = 1
62119         specially.
62120         * math/s_clog10.c (__clog10): Likewise.
62121         * math/s_clog10f.c (__clog10f): Likewise.
62122         * math/s_clog10l.c (__clog10l): Likewise.
62123         * math/s_clogf.c (__clogf): Likewise.
62124         * math/s_clogl.c (__clogl): Likewise.
62125         * math/Makefile (libm-calls): Add x2y2m1.
62126         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
62127         (__x2y2m1): Likewise.
62128         (__x2y2m1l): Likewise.
62129         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
62130         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
62131         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
62132         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
62133         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
62134         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
62135         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
62136         * sysdeps/i386/fpu/libm-test-ulps: Update.
62137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62139         [BZ #14621]
62140         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
62141         int as type of variable DEPTH.
62142         (glob): Use size_t instead of int as type of variables NEWCOUNT
62143         and OLD_PATHC.
62145 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62147         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62148         Add s_sincosf-sse2.
62149         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
62150         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
62151         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
62152         macros for using routine as __sincosf_ia32.
62153         Use macro for function declaration and weak_alias.
62154         * sysdeps/i386/fpu/libm-test-ulps: Update.
62156         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
62157         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62159         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
62160         subnormal argument.
62161         * math/s_cexpf.c (__cexpf): Likewise.
62162         * math/s_csinf.c (__csinf): Likewise.
62163         * math/s_csinhf.c (__csinhf): Likewise.
62164         * math/s_ctanf.c (__ctanf): Likewise.
62165         * math/s_ctanhf.c (__ctanhf): Likewise.
62166         * math/s_ccosh.c (__ccoshf): Likewise.
62167         * math/s_cexp.c (__cexpl): Likewise.
62168         * math/s_csin.c (__csin): Likewise.
62169         * math/s_csinh.c (__csinh): Likewise.
62170         * math/s_ctan.c (__ctan): Likewise.
62171         * math/s_ctanh.c (ctanh): Likewise.
62172         * math/s_ccoshl.c (__ccoshl): Likewise.
62173         * math/s_cexpl.c (__cexpl): Likewise.
62174         * math/s_csinl.c (__csinl): Likewise.
62175         * math/s_csinhl.c (__csinhl): Likewise.
62176         * math/s_ctanl.c (__ctanl): Likewise.
62177         * math/s_ctanhl.c (__ctanhl): Likewise.
62179 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
62181         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
62182         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
62183         (_IO_off_t): Define to __off_t, not _G_off_t.
62184         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
62185         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
62186         (_IO_wint_t): Define to wint_t, not _G_wint_t.
62187         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
62188         type of __dummy and __dummy2 fields.
62189         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
62190         (_G_ssize_t): Likewise.
62191         (_G_off_t): Likewise.
62192         (_G_pid_t): Likewise.
62193         (_G_uid_t): Likewise.
62194         (_G_wchar_t): Likewise.
62195         (_G_wint_t): Likewise.
62196         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
62197         (_G_ssize_t): Likewise.
62198         (_G_off_t): Likewise.
62199         (_G_pid_t): Likewise.
62200         (_G_uid_t): Likewise.
62201         (_G_wchar_t): Likewise.
62202         (_G_wint_t): Likewise.
62203         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
62204         (_G_ssize_t): Likewise.
62205         (_G_off_t): Likewise.
62206         (_G_pid_t): Likewise.
62207         (_G_uid_t): Likewise.
62208         (_G_wchar_t): Likewise.
62209         (_G_wint_t): Likewise.
62211 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62213         * malloc/arena.c: Include malloc-sysdep.h.
62214         (shrink_heap): Use check_may_shrink_heap to decide if madvise
62215         is sufficient to shrink the heap or an unmap is needed.
62216         * sysdeps/generic/malloc-sysdep.h: New file.  Define
62217         new function check_may_shrink_heap.
62218         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
62219         new function check_may_shrink_heap.
62221 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
62223         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
62224         comments.
62226 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
62228         * catgets/test-gencat.sh: Add "set -e".
62229         * elf/tst-pathopt.sh: Likewise.
62230         * grp/tst_fgetgrent.sh: Likewise.
62231         * iconvdata/run-iconv-test.sh: Likewise.
62232         * intl/tst-gettext.sh: Likewise.
62233         * intl/tst-gettext2.sh: Likewise.
62234         * intl/tst-gettext4.sh: Likewise.
62235         * intl/tst-gettext6.sh: Likewise.
62236         * intl/tst-translit.sh: Likewise.
62237         * io/ftwtest-sh: Likewise.
62238         * libio/test-freopen.sh: Likewise.
62239         * malloc/tst-mtrace.sh: Likewise.
62240         * posix/globtest.sh: Likewise.
62241         * posix/tst-getconf.sh: Likewise.
62242         * posix/wordexp-tst.sh: Likewise.
62243         * stdio-common/tst-printf.sh: Likewise.
62244         * stdio-common/tst-unbputc.sh: Likewise.
62245         * stdlib/tst-fmtmsg.sh: Likewise.
62246         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62247         * catgets/Makefile: Do not specify -e option when running
62248         testsuite shell scripts.
62249         * elf/Makefile: Likewise.
62250         * grp/Makefile: Likewise.
62251         * iconvdata/Makefile: Likewise.
62252         * intl/Makefile: Likewise.
62253         * io/Makefile: Likewise.
62254         * libio/Makefile: Likewise.
62255         * malloc/Makefile: Likewise.
62256         * posix/Makefile: Likewise.
62257         * stdio-common/Makefile: Likewise.
62258         * stdlib/Makefile: Likewise.
62259         * sysdeps/x86_64/Makefile: Likewise.
62261         * io/ftwtest-sh: Add copyright header.
62262         * posix/globtest.sh: Likewise.
62263         * posix/tst-getconf.sh: Likewise.
62264         * posix/wordexp-tst.sh: Likewise.
62265         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
62267 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
62269         [BZ #13679]
62270         * Makeconfig (+link): Defined as $(+link-static) if
62271         $(build-shared) isn't yes.
62272         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
62273         isn't yes.
62274         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
62276         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
62278         [BZ #14562]
62279         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
62280         new chunk size with MALLOC_ALIGN_MASK.
62282 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
62284         [BZ #5044]
62285         * stdio-common/printf_fphex.c: Include <stdbool.h> and
62286         <rounding-mode.h>.
62287         (__printf_fphex): Determine rounding using get_rounding_mode and
62288         round_away.
62289         * stdio-common/tst-printf-round.c (struct hex_test): New
62290         structure.
62291         (hex_tests): New variable.
62292         (test_hex_in_one_mode): New function.
62293         (do_test): Also run tests for hex float output.
62295 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
62297         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62298         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62299         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
62300         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
62301         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
62302         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
62303         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62304         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
62306 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
62308         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
62309         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
62310         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
62311         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
62313 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
62315         [BZ #14579]
62316         * elf/rtld.c (dl_main): Limit the check for self loading to normal
62317         mode only.
62318         * elf/tst-rtld-load-self.sh: New test.
62319         * elf/Makefile: Run it.
62321 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
62323         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
62324         (tst-writev-ENV): Remove.
62325         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
62327 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
62329         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
62331 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
62333         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
62334         unconditional.
62335         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
62336         Likewise.
62337         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
62338         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
62339         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
62340         Likewise.
62342 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
62344         [BZ #14587]
62345         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
62346         * config.make.in (have-cpp-asm-debuginfo): Removed.
62347         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
62348         * configure: Regenerated.
62350 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
62352         [BZ #5044]
62353         * stdio-common/printf_fp.c: Include <stdbool.h> and
62354         <rounding-mode.h>.
62355         (___printf_fp): Determine rounding using get_rounding_mode and
62356         round_away.
62357         * stdio-common/tst-printf-round.c: New file.
62358         * stdio-common/Makefile (tests): Add tst-printf-round.
62359         (link-libm): New variable.
62360         ($(objpfx)tst-printf-round): Depend in $(link-libm).
62362 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
62364         [BZ #14576]
62365         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
62366         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
62367         Likewise.
62368         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
62369         Likewise.
62371 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
62373         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
62374         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62375         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62376         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
62378 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
62380         [BZ #14518]
62381         * include/rounding-mode.h: New file.
62382         * sysdeps/generic/get-rounding-mode.h: Likewise.
62383         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
62384         * stdlib/strtod_l.c: Include <rounding-mode.h>.
62385         (MAX_VALUE): New macro.
62386         (MIN_VALUE): Likewise.
62387         (overflow_value): New function.
62388         (underflow_value): Likewise.
62389         (round_and_return): Use overflow_value and underflow_value to
62390         determine return values in overflow and underflow cases.  Use
62391         round_away to determine rounding depending on rounding mode.
62392         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
62393         determine return values in overflow and underflow cases.
62394         * stdlib/tst-strtod-round.c: Include <fenv.h>.
62395         (struct test_results): New structure.
62396         (struct test): Use struct test_results to store expected results
62397         for all rounding modes.
62398         (TEST): Include expected results for all rounding modes.
62399         (test_in_one_mode): New function.
62400         (do_test): Use test_in_one_mode to compute and check results.
62401         Check results for all rounding modes.
62402         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
62403         $(link-libm).
62405 2012-12-09  Allan McRae  <allan@archlinux.org>
62407         * sysdeps/i386/fpu/libm-test-ulps: Update
62409 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
62411         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
62412         (_G_int32_t): Likewise.
62413         (_G_uint16_t): Likewise.
62414         (_G_uint32_t): Likewise.
62415         (_G_HAVE_BOOL): Likewise.
62416         (_G_HAVE_ATEXIT): Likewise.
62417         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62418         (_G_HAVE_IO_FILE_OPEN): Likewise.
62419         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
62420         (_G_int32_t): Likewise.
62421         (_G_uint16_t): Likewise.
62422         (_G_uint32_t): Likewise.
62423         (_G_HAVE_BOOL): Likewise.
62424         (_G_HAVE_ATEXIT): Likewise.
62425         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62426         (_G_HAVE_IO_FILE_OPEN): Likewise.
62427         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
62428         (_G_int32_t): Likewise.
62429         (_G_uint16_t): Likewise.
62430         (_G_uint32_t): Likewise.
62431         (_G_HAVE_BOOL): Likewise.
62432         (_G_HAVE_ATEXIT): Likewise.
62433         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
62434         (_G_HAVE_IO_FILE_OPEN): Likewise.
62436 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
62438         * csu/libc-tls.c: Update copyright years.
62440 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
62442         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
62443         [!_G_USING_THUNKS]: Remove conditional code.
62444         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
62445         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
62447         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
62448         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
62449         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62450         (_G_VTABLE_LABEL_PREFIX): Likewise.
62451         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62452         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62453         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62454         (_G_VTABLE_LABEL_PREFIX): Likewise.
62455         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62456         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
62457         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
62458         (_G_VTABLE_LABEL_PREFIX): Likewise.
62459         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
62461 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
62463         * libio/Makefile: Include ../Makeconfig before tests.
62464         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
62465         only if $(build-shared) is yes.
62467         * iconv/gconv_db.c: Update copyright years.
62469 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62471         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
62472         unwind info if defined PIC. Fix special cases description.
62473         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
62475         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
62476         DP_HI_MASK entry.
62477         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
62479 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
62481         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
62483         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
62484         is NULL.
62486         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
62487         (LDLIBS-tst-chk4): This.
62488         (LDFLAGS-tst-chk5): Renamed to ...
62489         (LDLIBS-tst-chk5): This.
62490         (LDFLAGS-tst-chk6): Renamed to ...
62491         (LDLIBS-tst-chk6): This.
62492         (LDFLAGS-tst-lfschk4): Renamed to ...
62493         (LDLIBS-tst-lfschk4): This.
62494         (LDFLAGS-tst-lfschk5): Renamed to ...
62495         (LDLIBS-tst-lfschk5): This.
62496         (LDFLAGS-tst-lfschk6): Renamed to ...
62497         (LDLIBS-tst-lfschk6): This.
62499         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
62500         on $(common-objpfx)soversions.mk.
62502 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
62504         [BZ #10014]
62505         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
62506         example host name.
62508 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
62510         * malloc/arena.c (arena_get_retry): New function that gets
62511         another arena for the caller to try its request on.
62512         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
62513         current arena cannot fulfill the request.
62514         (__libc_memalign): Likewise.
62515         (__libc_memalign): Likewise.
62516         (__libc_pvalloc): Likewise.
62517         (__libc_calloc): Likewise.
62519 2012-09-05  John Tobey  <john.tobey@gmail.com>
62521         [BZ #13542]
62522         * manual/arith.texi (Operations on Complex): Fix description
62523         of carg branch cut.
62525 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62527         [BZ #10014]
62528         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
62529         host name.
62531         [BZ #10038]
62532         * manual/memory.texi (Memory): Make order of menu items match
62533         order of sections.
62535 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62537         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
62538         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
62539         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
62541 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62543         * csu/libc-tls.c (static_dtv): Renamed to ...
62544         (_dl_static_dtv): This.  Make it global.
62545         (_dl_initial_dtv): Removed.
62546         (__libc_setup_tls): Updated.
62547         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
62548         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
62549         DL_INITIAL_DTV.
62551 2012-09-06  Petr Machata  <pmachata@redhat.com>
62553         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
62554         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
62555         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
62556         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
62558 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62560         [BZ #14545]
62561         * csu/libc-tls.c (_dl_initial_dtv): New variable.
62562         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
62563         freeing dtv[-1].
62565 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
62567         [BZ #14544]
62568         * Makeconfig (link-static-before-libc): Replace $(+prector)
62569         with $(+prectorT).
62570         (link-static-after-libc): Replace $(+postctor) with
62571         $(+postctorT).
62572         (link-bounded): Replace $(+prector)/$(+postctor) with
62573         $(+prectorT)/$(+postctorT).
62574         (+prectorT): New macro.
62575         (+postctorT): Likewise.
62577 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
62579         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
62580         (round_str): Handle values above the maximum for IBM long double
62581         as inexact.
62582         * stdlib/tst-strtod-round.c (tests): Regenerated.
62584 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62586         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
62587         assembler flag.
62588         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
62589         zarch_nohighgprs around the zarch optimized routines.
62590         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
62591         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
62592         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
62593         for zarch.
62595 2012-09-05  David S. Miller  <davem@davemloft.net>
62597         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62599         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
62600         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
62601         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
62602         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
62603         entries.
62605 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62607         * malloc/arena.c: Fold copyright years.
62608         * malloc/mcheck.c, malloc/memusage.c: Likewise.
62610 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62612         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
62614 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62616         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
62618 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62620         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
62621         change internal state upon failure.
62623 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
62625         * malloc/mcheck.c (mcheck_check_all): Fix typo.
62626         * malloc/memusage.c (mmap): Likewise.
62627         (mmap64, mremap): Likewise.  Adjust name in comment.
62629 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62631         * libio/fileops.c: Fix typos in comments.
62632         * libio/oldfileops.c: Likewise.
62633         * libio/wfileops.c: Likewise.
62635 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62637         [BZ #1349]
62638         * malloc/Makefile (tests): Add tst-malloc-usable test case.
62639         (tst-malloc-usable-ENV): Set environment for test case.
62640         * malloc/hooks.c (malloc_check_get_size): New function to get
62641         requested size.
62642         * malloc/malloc.c (musable): Use malloc_check_get_size.
62643         * malloc/tst-malloc-usable.c: New test case.
62645 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62647         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
62649 2012-09-05  Allan McRae  <allan@archlinux.org>
62651         [BZ #13966]
62652         * configure.in (CXX_SYSINCLUDES): Use compiler output to
62653         determine header location.
62654         * configure: Regenerated.
62656 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
62658         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
62659         float format.
62660         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
62661         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
62662         format.
62663         (test): Regenerate.
62665 2012-09-04  David S. Miller  <davem@davemloft.net>
62667         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
62668         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
62669         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
62671 2012-09-04  Florian Weimer  <fweimer@redhat.com>
62673         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
62674         failures.
62676         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
62678 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
62680         [BZ #9914]
62681         * libio/iogetdelim.c: Include <limits.h>.
62682         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
62683         + len + 1 would overflow.
62685 2012-09-03  Andreas Jaeger  <aj@suse.de>
62687         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62688         * sysdeps/i386/fpu/libm-test-ulps: Update.
62690 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
62692         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
62693         Add s_sinf-sse2, s_conf-sse2.
62695         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
62696         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
62697         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
62698         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
62700         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
62701         for using routine as __sinf_ia32.
62702         Use macro for function declaration and weak_alias.
62703         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
62704         for using routine as __cosf_ia32.
62705         Use macro for function declaration and weak_alias.
62707         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
62708         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
62710         * sysdeps/x86_64/fpu/s_sinf.S: New file.
62711         * sysdeps/x86_64/fpu/s_cosf.S: New file.
62712         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
62714         * math/libm-test.inc (cos_test): Add more test cases.
62715         (sin_test): Likewise.
62716         (sincos_test): Likewise.
62718 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62720         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
62721         (IFUNC_RESOLVE): Make pointers to the specialized implementations
62722         hidden.
62723         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
62725 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
62727         [BZ #14538]
62728         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
62729         first element of the GOT.
62730         (elf_machine_load_address): Return the difference between
62731         the runtime address of _DYNAMIC and elf_machine_dynamic ().
62733 2012-09-01  Allan McRae  <allan@archlinux.org>
62735         [BZ #13412]
62736         * configure.in (AWK): Require gawk version 3.0 or later.
62737         * configure: Regenerated.
62739 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
62741         * sysdeps/unix/sysv/linux/kernel-features.h
62742         (__ASSUME_POSIX_CPU_TIMERS): Remove.
62743         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62744         [__NR_clock_getres]: Make code unconditional.
62745         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
62746         (clock_getcpuclockid): Remove code left unreachable by removal of
62747         conditionals.
62748         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
62749         code unconditional.
62750         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62751         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62752         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
62753         Make code unconditional.
62754         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
62755         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62756         * sysdeps/unix/sysv/linux/clock_settime.c
62757         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
62758         conditional code.
62759         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
62760         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
62762 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
62764         [BZ #14476]
62765         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
62766         scripts/test-installation.pl.
62768         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
62769         and $ld_so_version if it is set.
62771 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62773         [BZ #14516]
62774         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
62775         failure if reading from procfs failed.
62776         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
62778 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62780         * sysdeps/unix/sysv/linux/kernel-features.h
62781         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
62782         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62783         Remove conditional code.
62784         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62785         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
62786         Remove conditional code.
62787         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62788         * sysdeps/unix/sysv/linux/i386/fxstat.c
62789         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62790         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62791         * sysdeps/unix/sysv/linux/i386/fxstatat.c
62792         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62793         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62794         * sysdeps/unix/sysv/linux/i386/lxstat.c
62795         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
62796         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62797         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
62798         Remove conditional code.
62799         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62800         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
62801         Remove conditional code.
62802         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62803         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
62804         <kernel-features.h>.
62805         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
62806         Remove.
62807         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
62808         Remove conditional code.
62809         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
62810         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
62811         Remove conditional.
62813 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
62815         [BZ #5400]
62816         * NEWS: Add fixed bug number.
62818 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
62820         [BZ #14519]
62821         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
62822         underflowing exponent in case of negative sign.
62823         * stdlib/tst-strtod-round-data: Add more tests.
62824         * stdlib/tst-strtod-round.c (tests): Regenerated.
62826         [BZ #3479]
62827         * stdlib/strtod_l.c (NDIG): Remove.
62828         (HEXNDIG): Likewise.
62829         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
62830         smallest representable value.
62831         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
62832         lie within an exact representation of 1/2 ulp of the result.
62833         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
62834         unconditionally.
62835         (TENS_P9_IDX): Define unconditionally.
62836         (TENS_P9_SIZE): Likewise.
62837         (TENS_P10_IDX): Likewise.
62838         (TENS_P10_SIZE): Likewise.
62839         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
62840         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
62841         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
62842         entries for 10^2^13 and 10^2^14.
62843         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
62844         (TENS_P13_IDX): Define.
62845         (TENS_P13_SIZE): Likewise.
62846         (TENS_P14_IDX): Likewise.
62847         (TENS_P14_SIZE): Likewise.
62848         (_fpioconst_pow10): Change array size to
62849         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
62850         unconditional.
62851         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
62852         1024]: Add entries for 10^2^13 and 10^2^14.
62853         [LAST_POW10 > _LAST_POW10]: Remove #error.
62854         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
62855         (_fpioconst_pow10): Change array size to
62856         FPIOCONST_POW10_ARRAY_SIZE.
62857         * stdlib/gen-fpioconst.c: New file.
62858         * stdlib/gen-tst-strtod-round.c: Likewise.
62859         * stdlib/tst-strtod-round-data: Likewise.
62860         * stdlib/tst-strtod-round.c: Likewise.
62861         * stdlib/Makefile (tests): Add tst-strtod-round.
62863         [BZ #14459]
62864         * stdlib/strtod_l.c: Include <stdint.h>.
62865         (NDEBUG): Do not define.
62866         (round_and_return): Change EXPONENT parameter to type intmax_t.
62867         Rearrange calculations to avoid internal overflow possibilities.
62868         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
62869         Rearrange calculations to avoid internal overflow possibilities.
62870         Assert that number fits inside MPNSIZE limbs.
62871         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
62872         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
62873         calculations and add assertions to avoid internal overflow
62874         possibilities.  Add casts to avoid signed/unsigned operations.
62875         * stdlib/tst-strtod-overflow.c: New file.
62876         * stdlib/Makefile (tests): Add tst-strtod-overflow.
62878 2012-08-25  Marek Polacek  <polacek@redhat.com>
62880         * time/time.h: Fix some typos in comments.
62882 2012-08-23  Roland McGrath  <roland@hack.frob.com>
62884         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
62885         * posix/tst-rfc3484-2.c: Likewise.
62886         * posix/tst-rfc3484-3.c: Likewise.
62888 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
62890         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
62891         (EF_ARM_ABI_FLOAT_HARD): Likewise.
62893 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
62895         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
62896         #include of fxstatat64.c.
62898 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62900         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
62901         * shadow/getspent_r.c: Likewise.
62902         * shadow/getspnam.c: Likewise.
62903         * shadow/getspnam_r.c: Likewise.
62904         * gshadow/getsgent.c: Likewise.
62905         * gshadow/getsgent_r.c: Likewise.
62906         * gshadow/getsgnam.c: Likewise.
62907         * gshadow/getsgnam_r.c: Likewise.
62908         * inet/getnetbyad.c: Likewise.
62909         * inet/getnetbyad_r.c: Likewise.
62910         * inet/getnetbynm.c: Likewise.
62911         * inet/getnetbynm_r.c: Likewise.
62912         * inet/getnetent.c: Likewise.
62913         * inet/getnetent_r.c: Likewise.
62914         * inet/getproto.c: Likewise.
62915         * inet/getproto_r.c: Likewise.
62916         * inet/getprtent.c: Likewise.
62917         * inet/getprtent_r.c: Likewise.
62918         * inet/getprtname.c: Likewise.
62919         * inet/getprtname_r.c: Likewise.
62920         * inet/getrpcbyname.c: Likewise.
62921         * inet/getrpcbyname_r.c: Likewise.
62922         * inet/getrpcbynumber.c: Likewise.
62923         * inet/getrpcbynumber_r.c: Likewise.
62924         * inet/getrpcent.c: Likewise.
62925         * inet/getrpcent_r.c: Likewise.
62926         * inet/getaliasent.c: Likewise.
62927         * inet/getaliasent_r.c: Likewise.
62928         * inet/getaliasname.c: Likewise.
62929         * inet/getaliasname_r.c: Likewise.
62930         * nscd/getgrgid_r.c: Likewise.
62931         * nscd/getgrnam_r.c: Likewise.
62932         * nscd/gethstbyad_r.c: Likewise.
62933         * nscd/gethstbynm3_r.c: Likewise.
62934         * nscd/getpwnam_r.c: Likewise.
62935         * nscd/getpwuid_r.c: Likewise.
62936         * nscd/getsrvbynm_r.c: Likewise.
62937         * nscd/getsrvbypt_r.c: Likewise.
62938         * nscd/gai.c: Likewise.
62940         * configure.in (build_nscd): New substituted variable, set
62941         by --disable-build-nscd and defaults to $use_nscd.
62942         * configure: Regenerated.
62943         * config.make.in (build-nscd): New substituted variable.
62944         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
62945         Change conditional to require [$(build-nscd) = yes] as well.
62946         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
62948         [BZ# 13696]
62949         * configure.in (use_nscd): New substituted variable, set by
62950         --disable-nscd.  If enabled, define USE_NSCD.
62951         * configure: Regenerated.
62952         * config.h.in: Add USE_NSCD.
62953         * config.make.in (use-nscd): New substituted variable.
62954         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
62955         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
62956         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
62957         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
62958         (CFLAGS-getgrnam_r.c): Likewise.
62959         (CFLAGS-initgroups.c): Likewise.
62960         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
62961         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
62962         Variables removed.
62963         * inet/getnetgrent_r.c
62964         (nscd_setnetgrent): New function, broken out of ...
62965         (setnetgrent): ... here.  Call it.
62966         (innetgr): Conditionalize nscd bits on [USE_NSCD].
62967         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
62968         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
62969         * nscd/Makefile (routines, aux): Move definitions after include of
62970         Makeconfig.  Conditionalize on [$(use-nscd) != no].
62971         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
62972         Conditionalize on [USE_NSCD].
62973         (is_nscd, nscd_init_cb): Likewise.
62974         (nss_load_library): Conditionalize init callback on [USE_NSCD].
62975         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
62976         * nss/nss_db/db-init.c: Likewise.
62977         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
62978         [USE_NSCD].
62979         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
62980         (make_request): Use it.
62981         (cache_valid_p): New function.
62982         (__check_pf): Use it.
62983         * NEWS: Add item for --disable-nscd.
62985 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
62987         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
62988         to support sed >= 4.2.1-20-ga9bf076.
62989         * configure: Regenerated.
62991 2012-08-22  Roland McGrath  <roland@hack.frob.com>
62993         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
62994         Conditionalize whole body on [IREL].
62996 2012-08-22  Jeff Law <law@redhat.com>
62998         [BZ #14505]
62999         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
63000         if the family is PF_UNSPEC.
63002 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
63004         * Makerules (lib-version): Rename from V.
63005         (install-lib-nosubdir): Change V to lib-version.
63007 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
63009         [BZ #14252]
63010         * powerpc32/power6/wcschr.c: New file.
63011         * powerpc32/power6/wcscpy.c: New file.
63012         * powerpc32/power6/wcsrchr.c: New file.
63013         * powerpc64/power6/wcschr.c: New file.
63014         * powerpc64/power6/wcscpy.c: New file.
63015         * powerpc64/power6/wcsrchr.c: New file.
63017 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63019         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
63020         (two_way_short_needle): Use it.
63021         * string/strstr.c (AVAILABLE1_USES_J): Define.
63022         * string/strcasestr.c: Likewise.
63024         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
63025         array references.
63026         * string/strcasestr.c (TOLOWER): Make side-effect safe.
63028         [BZ #11607]
63029         * NEWS: Add an entry.
63030         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
63031         define their defaults.
63032         (two_way_short_needle): Detect end-of-string on-the-fly.
63033         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
63034         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
63035         * string/bug-strcasestr1.c: New test.
63036         * string/Makefile: Run it.
63038 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
63040         [BZ #11607]
63041         * string/str-two-way.h (two_way_short_needle): Optimize matching of
63042         the first character.
63044 2012-08-21  Roland McGrath  <roland@hack.frob.com>
63046         * csu/elf-init.c (__libc_csu_irel): Function removed.
63047         * csu/libc-start.c (apply_irel): New function.
63048         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
63050 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
63052         * sysdeps/unix/sysv/linux/kernel-features.h
63053         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
63054         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
63055         <kernel-features.h>.
63056         [__NR_fadvise64_64]: Make code unconditional.
63057         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
63058         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63059         !__NR_fadvise64_64)]: Likewise.
63060         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
63061         !__NR_fadvise64_64))]: Likewise.
63062         [__NR_fadvise64]: Make code unconditional.
63063         [!__NR_fadvise64]: Remove conditional code.
63064         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
63065         <kernel-features.h>.
63066         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63067         unconditional.
63068         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63069         conditional code.
63070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
63071         not include <kernel-features.h>.
63072         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63073         unconditional.
63074         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63075         conditional code.
63076         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
63077         include <kernel-features.h>.
63078         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
63079         unconditional.
63080         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
63081         conditional code.
63083 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
63085         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
63086         slight instruction rearrangements per scrollpipe analysis.
63087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
63089 2012-08-20  Roland McGrath  <roland@hack.frob.com>
63091         * manual/syslog.texi (syslog; vsyslog, closelog):
63092         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
63093         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
63095         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
63096         DSOCAPS to match condition on defining it.
63098 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
63100         * sysdeps/unix/sysv/linux/kernel-features.h
63101         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
63102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
63103         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63104         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63105         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
63106         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63107         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63108         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
63109         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
63110         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
63112         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
63113         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
63115         * sysdeps/unix/sysv/linux/kernel-features.h
63116         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
63117         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
63118         unconditional.
63119         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63120         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
63121         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63122         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63123         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
63124         Make code unconditional.
63125         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63126         (__mmap64) [!__NR_mmap2]: Likewise.
63127         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
63128         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
63129         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63130         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
63131         [__NR_mmap2]: Make code unconditional.
63132         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
63133         (__mmap64) [!__NR_mmap2]: Likewise.
63135 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63137         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
63139 2012-08-18  Andreas Jaeger  <aj@suse.de>
63141         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
63143 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63145         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
63146         * include/unistd.h (__have_sock_cloexec): Likewise.
63147         (__have_pipe2): Likewise.
63148         (__have_dup3): Likewise.
63150 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
63152         [BZ #9685]
63153         * include/unistd.h (__have_pipe2): Change define into an extern int.
63154         (__have_dup3): Likewise.
63155         * socket/have_sock_cloexec.c: Include fcntl.h.
63156         (__have_pipe2): New variable.
63157         (__have_dup3): Likewise.
63159 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
63161         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
63163 2012-08-17  Marek Polacek  <polacek@redhat.com>
63165         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
63166         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
63168 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63170         * configure.in: Add AC_SUBST for sysheaders.
63171         * configure: Regenerated.
63172         * config.make.in (sysheaders): New substituted variable.
63174         * sysdeps/unix/mkfifo.c: Moved ...
63175         * sysdeps/posix/mkfifo.c: ... here.
63176         * sysdeps/unix/mkfifoat.c: Moved ...
63177         * sysdeps/posix/mkfifoat.c: ... here.
63179         * sysdeps/unix/utime.c: Moved ...
63180         * sysdeps/posix/utime.c: ... here.
63182         * sysdeps/unix/time.c: Moved ...
63183         * sysdeps/posix/time.c: ... here.
63184         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
63185         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
63187         * sysdeps/unix/nice.c: Moved ...
63188         * sysdeps/posix/nice.c: ... here.
63190         * sysdeps/unix/alarm.c: Moved ...
63191         * sysdeps/posix/alarm.c: ... here.
63193         * intl/Makefile ($(codeset_mo)): Depend on the input file.
63195 2012-08-17  Jeff Law <law@redhat.com>
63197         * intl/Makefile (codeset_mo): New variable.
63198         ($(codeset_mo)): New target.
63199         (tst-codeset.out): Depend on that.  Remove explicit rule.
63200         (tst-gettext3.out, tst-gettext5.out): Likewise.
63201         (LOCPATH-ENV, tst-codeset-ENV): New variables.
63202         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
63203         * intl/tst-codeset.sh: Remove.
63204         * intl/tst-gettext3.sh: Likewise.
63205         * intl/tst-gettext5.sh: Likewise.
63207 2012-08-17  Roland McGrath  <roland@hack.frob.com>
63209         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
63210         * sysdeps/unix/syscalls.list: ... here.
63212         * sysdeps/posix/getaddrinfo.c
63213         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
63214         (gaiconf_init, gaiconf_reload): Use them.
63215         [!_STATBUF_ST_NSEC]
63216         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
63217         Define using time_t rather than struct timespec.
63219         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
63220         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
63221         Macros removed.
63222         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
63223         [!NO_THREADS].
63224         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
63225         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
63226         Likewise.
63228         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
63229         __libc_cleanup_push argument.
63231         * bits/param.h: New file.
63232         * misc/sys/param.h: New file.
63233         * include/sys/param.h: New file.
63234         * misc/Makefile (headers): Add bits/param.h.
63235         * sysdeps/generic/sys/param.h: File removed.
63236         * sysdeps/unix/sysv/linux/bits/param.h: New file.
63237         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
63238         * sysdeps/mach/hurd/bits/param.h: New file.
63239         * sysdeps/mach/hurd/sys/param.h: File removed.
63241         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
63242         last change.
63244         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
63245         [_IO_MTSAFE_IO].
63246         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
63247         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
63248         New macros.
63250         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
63251         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
63252         rather than -D_IO_MTSAFE_IO conditionally.
63253         * stdio-common/Makefile (CPPFLAGS): Likewise.
63254         * wcsmbs/Makefile (CPPFLAGS): Likewise.
63255         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
63256         Use $(libio-mtsafe).
63257         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
63258         of -D_IO_MTSAFE_IO.
63259         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
63260         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
63261         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
63262         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
63263         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
63264         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
63265         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
63266         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
63267         (CFLAGS-fread_u_chk.c): Likewise.
63268         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
63269         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
63270         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
63271         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
63272         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
63273         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
63274         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
63275         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
63276         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
63278         * libio/Makefile: Test [$(libc-reentrant) = yes]
63279         instead of [$(filter %REENTRANT, $(defines)) nonempty].
63281         * Makeconfig
63282         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
63283         * sysdeps/pthread/configure: File removed.
63284         * sysdeps/pthread/Makeconfig: New file.
63285         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
63286         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
63288 2012-08-16  Gary Benson  <gbenson@redhat.com>
63290         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
63291         unmapping the first object in a namespace.
63293 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63295         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
63296         (__internal_setnetgrent): ... this.  Add internal_function to
63297         definition.  Add libc_hidden_def.
63298         (setnetgrent): Update caller.
63299         (internal_endnetgrent): Renamed to ...
63300         (__internal_endnetgrent): ... this.  Add internal_function to
63301         definition.  Add libc_hidden_def.
63302         (endnetgrent): Update caller.
63303         (internal_getnetgrent_r): Renamed to ...
63304         (__internal_getnetgrent_r): ... this.  Add internal_function to
63305         definition.  Add libc_hidden_def.
63306         (__getnetgrent_r): Update caller.
63307         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
63309 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63311         * stdlib/longlong.h: Update from GCC.
63313 2012-08-16  Roland McGrath  <roland@hack.frob.com>
63315         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
63316         on _QL, which is set by umul_ppmm but never used.
63317         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
63318         variables, which are set by GMP macros but never used.
63319         * stdio-common/_itowa.c (_itowa): Likewise.
63320         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
63321         * stdlib/mod_1.c (mpn_mod_1): Likewise.
63323 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
63325         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
63326         struct La_sh_regs is not constant.
63327         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
63328         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
63329         and struct La_sparc64_regs are not constant.
63331 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
63333         * sysdeps/unix/sysv/linux/kernel-features.h
63334         (__ASSUME_POSIX_TIMERS): Remove.
63335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
63336         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63337         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
63338         Make code unconditional.
63339         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63340         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
63341         Make code unconditional.
63342         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63343         * sysdeps/unix/sysv/linux/clock_nanosleep.c
63344         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
63345         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63346         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
63347         Make code unconditional.
63348         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
63349         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
63350         (__libc_missing_posix_timers): Remove.
63352 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63354         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
63355         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
63357         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
63359         * elf/dl-sym.c: Include <stdlib.h>.
63361         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
63362         constants, which avoids warnings in 32-bit builds.
63364         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
63365         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
63367         * misc/lseek.c: File moved to ...
63368         * io/lseek.c: ... here.
63370         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
63372         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
63373         shifting LEN more than 31 bits at once.
63375 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
63377         [BZ #14195]
63378         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
63379         segmentation fault for a case of two empty input strings.
63380         * string/test-strncasecmp.c (check1): Renamed to...
63381         (bz12205): ...this.
63382         (bz14195): Add new testcase for two empty input strings and N > 0.
63383         (test_main): Call new testcase, adapt for renamed function.
63385 2012-08-15  Andreas Jaeger  <aj@suse.de>
63387         [BZ #14090]
63388         * crypt/md5test2.c: New test, based on test supplied by Serge
63389         Belyshev <belyshev@depni.sinp.msu.ru>.
63390         * crypt/Makefile (xtests): Add md5test-giant..
63391         * crypt/Makefile ($(objpfx)md5test-giant): Add.
63393 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
63395         [BZ #14090]
63396         * crypt/md5.c (md5_process_block): Don't assume the buffer
63397         length is less than 2**32.
63398         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
63399         length is less than 2**64.
63401 2012-08-15  Roland McGrath  <roland@hack.frob.com>
63403         * string/str-two-way.h: Include <sys/param.h>.
63404         (MAX): Macro removed.
63406         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
63407         Move #define and #undef of memmove to just before and after
63408         including <string.h>.
63410         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
63411         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
63412         and after including <string.h>.  Move declarations of
63413         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
63414         to before #include "string/memmove.c".
63416         * include/dirent.h: Declare __getdirentries.
63418         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
63419         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
63421 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
63423         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
63424         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
63425         * sysdeps/i386/configure: Regenerated.
63426         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
63427         STABS_CURRENT_FILE, and STABS_FUN.
63428         (END): Remove call to STABS_FUN_END.
63429         (STABS_CURRENT_FILE1): Delete.
63430         (STABS_CURRENT_FILE): Likewise.
63431         (STABS_FUN): Likewise.
63432         (STABS_FUN_END): Likewise.
63433         (STABS_FUN2): Likewise.
63434         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
63435         * sysdeps/x86_64/configure: Regenerated.
63437 2012-08-14  Roland McGrath  <roland@hack.frob.com>
63439         * elf/dl-open.c: Include <atomic.h>.
63440         * elf/dl-lookup.c: Likewise.
63442 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
63444         * sysdeps/unix/sysv/linux/kernel-features.h
63445         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
63446         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
63447         unconditionally.
63448         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
63449         unconditionally.
63450         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
63451         condition on __ASSUME_CLONE_THREAD_FLAGS.
63453 2012-08-14  Andreas Jaeger  <aj@suse.de>
63455         * sysdeps/i386/fpu/libm-test-ulps: Update.
63457 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
63459         * include/atomic.h (atomic_exchange_and_add): Split into ...
63460         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
63461         New atomic macros.
63463 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
63465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63467 2012-08-13  Jeff Law <law@redhat.com>
63469         * manual/stdio.texi (snprintf): Clarify handling of the trailing
63470         null byte in the output string.
63472 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
63474         * sysdeps/unix/sysv/linux/kernel-features.h
63475         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
63476         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
63477         (__ASSUME_ARG_MAX_STACK_BASED): Define.
63478         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
63479         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
63480         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
63481         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
63483 2012-08-09  Jeff Law <law@redhat.com>
63485         [BZ #13939]
63486         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
63487         When avoid_arena is set, don't retry in the that arena.  Pick the
63488         next one, whatever it might be.
63489         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
63490         (arena_lock): Pass in new parameter to arena_get2.
63491         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
63492         arena_get2.
63493         (__libc_malloc): Unify retrying after main arena failure with
63494         __libc_memalign version.
63495         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
63497 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
63499         [BZ #14166]
63500         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
63501         to __redirect_strstr.
63502         (__strstr_sse42): Use typeof __redirect_strstr.
63503         (__strstr_ia32): Likewise.
63504         (__libc_strstr): New prototype.
63505         (strstr): Renamed to ...
63506         (__libc_strstr): This.
63507         (strstr): New strong alias of __libc_strstr.
63508         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
63509         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
63510         __redirect_time.
63511         Include <time.h>.
63512         (__libc_time): New prototype.
63513         (time_ifunc): Replace time with __libc_time.
63514         (time): New strong alias and hidden definition of __libc_time.
63515         (__GI_time): Remove strong alias.
63516         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
63517         Include <stddef.h>.
63518         (memmove): Redefined to __redirect_memmove.
63519         (__memmove_sse2): Use typeof __redirect_memmove.
63520         (__memmove_ssse3): Likewise.
63521         (__memmove_ssse3_back): Likewise.
63522         (__libc_memmove): New prototype.
63523         (memmove): Renamed to ...
63524         (__libc_memmove): This.
63525         (memmove): New strong alias of __libc_memmove.
63527 2012-08-08  Mark Salter  <msalter@redhat.com>
63529         * elf/elf.h
63530         (R_MN10300_TLS_GD): Define.
63531         (R_MN10300_TLS_LD): Likewise.
63532         (R_MN10300_TLS_LDO): Likewise.
63533         (R_MN10300_TLS_GOTIE): Likewise.
63534         (R_MN10300_TLS_IE): Likewise.
63535         (R_MN10300_TLS_LE): Likewise.
63536         (R_MN10300_TLS_DTPMOD): Likewise.
63537         (R_MN10300_TLS_DTPOFF): Likewise.
63538         (R_MN10300_TLS_TPOFF): Likewise.
63539         (R_MN10300_SYM_DIFF): Likewise.
63540         (R_MN10300_ALIGN): Likewise.
63541         (R_MN10300_NUM): Update.
63543 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
63545         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
63546         Remove.
63548 2012-08-08  Roland McGrath  <roland@hack.frob.com>
63550         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
63552         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
63553         sysdeps/unix -> sysdeps/posix move.
63554         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
63556 2012-08-07      Allan McRae     <allan@archlinux.org>
63558         [BZ #14303]
63559         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
63560         (SUNOS_CPP): Likewise.
63561         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
63562         not found.
63563         (open_input): Call CPP using execvp.
63565 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63567         * sysdeps/unix/sysv/linux/kernel-features.h
63568         (__ASSUME_PROT_GROWSUPDOWN): Remove.
63569         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63570         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63571         (__ASSUME_WAITID_SYSCALL): Likewise.
63572         * sysdeps/unix/sysv/linux/dl-execstack.c
63573         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
63574         code unconditional.
63575         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
63576         conditional code.
63577         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
63578         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
63579         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
63580         code.
63581         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
63582         unconditional.
63583         [__ASSUME_WAITID_SYSCALL]: Likewise.
63584         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
63586 2012-08-07  Roland McGrath  <roland@hack.frob.com>
63588         * sysdeps/unix/closedir.c: Renamed to ...
63589         * sysdeps/posix/closedir.c: ... here.
63590         * sysdeps/unix/dirfd.c: Renamed to ...
63591         * sysdeps/posix/dirfd.c: ... here.
63592         * sysdeps/unix/dirstream.h: Renamed to ...
63593         * sysdeps/posix/dirstream.h: ... here.
63594         * sysdeps/unix/fdopendir.c: Renamed to ...
63595         * sysdeps/posix/fdopendir.c: ... here.
63596         * sysdeps/unix/opendir.c: Renamed to ...
63597         * sysdeps/posix/opendir.c: ... here.
63598         * sysdeps/unix/readdir.c: Renamed to ...
63599         * sysdeps/posix/readdir.c: ... here.
63600         * sysdeps/unix/readdir_r.c: Renamed to ...
63601         * sysdeps/posix/readdir_r.c: ... here.
63602         * sysdeps/unix/rewinddir.c: Renamed to ...
63603         * sysdeps/posix/rewinddir.c: ... here.
63604         * sysdeps/unix/seekdir.c: Renamed to ...
63605         * sysdeps/posix/seekdir.c: ... here.
63606         * sysdeps/unix/telldir.c: Renamed to ...
63607         * sysdeps/posix/telldir.c: ... here.
63608         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
63609         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
63610         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
63611         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
63613         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
63614         * bits/fcntl.h: ... here.
63616         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
63617         not 0.
63618         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
63619         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
63620         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
63621         (struct flock): Move l_start, l_len to the beginning.
63622         Use __pid_t for l_pid.
63623         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
63624         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
63625         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
63626         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
63627         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
63628         [__USE_LARGEFILE64] (struct flock64): New type.
63629         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
63631         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
63632         * bits/dirent.h: ... here.
63634         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
63635         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
63637 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
63639         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63640         Change from 2.6.0 to 2.6.16.
63641         * sysdeps/unix/sysv/linux/configure: Regenerated.
63642         * sysdeps/unix/sysv/linux/kernel-features.h
63643         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
63644         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
63645         version.
63646         (__ASSUME_UTIMES): Likewise.
63647         (__ASSUME_CLONE_STOPPED): Remove.
63648         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
63649         architectures, not kernel version.
63650         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
63651         (__ASSUME_NO_CLONE_DETACHED): Likewise.
63652         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
63653         (__ASSUME_WAITID_SYSCALL): Likewise.
63654         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
63655         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
63656         * README: State 2.6.16 as minimum Linux kernel version.  Do not
63657         refer to older versions.
63659 2012-08-06  Roland McGrath  <roland@hack.frob.com>
63661         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
63662         Define alphasort64 as an alias.
63663         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
63664         Define versionsort64 as an alias.
63665         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
63666         Define scandir64 as an alias.
63667         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
63668         Define scandirat64 as an alias.
63669         * dirent/alphasort64.c (alphasort64):
63670         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
63671         * dirent/versionsort64.c: Likewise.
63672         * dirent/scandir64.c: Likewise.
63673         * dirent/scandirat64.c: Likewise.
63674         * sysdeps/wordsize-64/alphasort.c: File removed.
63675         * sysdeps/wordsize-64/alphasort64.c: File removed.
63676         * sysdeps/wordsize-64/scandir.c: File removed.
63677         * sysdeps/wordsize-64/scandir64.c: File removed.
63678         * sysdeps/wordsize-64/scandirat.c: File removed.
63679         * sysdeps/wordsize-64/scandirat64.c: File removed.
63680         * sysdeps/wordsize-64/versionsort.c: File removed.
63681         * sysdeps/wordsize-64/versionsort64.c: File removed.
63682         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
63683         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
63684         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
63685         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
63686         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
63687         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
63688         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
63689         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
63691         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
63692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63693         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
63694         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63695         [defined __arch64__ || defined __sparcv9]
63696         (__INO_T_MATCHES_INO64_T): New macro.
63697         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63698         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
63699         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
63700         * sysdeps/unix/sysv/linux/bits/dirent.h
63701         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
63702         (_DIRENT_MATCHES_DIRENT64): New macro.
63704         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
63705         Define lockf64 as an alias.
63706         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
63707         Define fseeko64 as an alias.
63708         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
63709         Define ftello64 as an alias.
63710         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
63711         Define _IO_fgetpos64 and fgetpos64 as aliases.
63712         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
63713         Define _IO_fsetpos64 and fsetpos64 as aliases.
63714         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
63715         Conditionalize body on this.
63716         * libio/fseeko64.c: Likewise.
63717         * libio/ftello64.c: Likewise.
63718         * libio/iofgetpos64.c: Likewise.
63719         * libio/iofsetpos64.c: Likewise.
63720         * sysdeps/wordsize-64/lockf.c: File removed.
63721         * sysdeps/wordsize-64/lockf64.c: File removed.
63722         * sysdeps/wordsize-64/fseeko.c: File removed.
63723         * sysdeps/wordsize-64/fseeko64.c: File removed.
63724         * sysdeps/wordsize-64/ftello.c: File removed.
63725         * sysdeps/wordsize-64/ftello64.c: File removed.
63726         * sysdeps/wordsize-64/iofgetpos.c: File removed.
63727         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
63728         * sysdeps/wordsize-64/iofsetpos.c: File removed.
63729         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
63730         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
63731         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
63732         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
63733         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
63734         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
63735         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
63736         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
63737         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
63738         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
63739         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
63741         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63742         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
63743         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
63744         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
63745         [defined __arch64__ || defined __sparcv9]
63746         (__OFF_T_MATCHES_OFF64_T): New macro.
63747         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
63748         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
63749         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
63750         (__OFF_T_MATCHES_OFF64_T): New macro.
63752 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63754         * stdlib/secure-getenv.c (__secure_getenv): Replace
63755         GLIBC_2_16 with GLIBC_2_17.
63757 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
63759         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
63760         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
63762 2012-08-03  David S. Miller  <davem@davemloft.net>
63764         * sysdeps/sparc/fpu/libm-test-ulps: Update.
63766 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63768         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
63769         Remove.
63770         (__ASSUME_CORRECT_SI_PID): Likewise.
63771         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
63772         (__ASSUME_TMPFS_NAME): Likewise.
63773         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
63774         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
63775         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
63776         (HAVE_AUX_SECURE): Make definition unconditional.
63777         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
63778         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
63780 2012-08-03  Roland McGrath  <roland@hack.frob.com>
63782         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
63783         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
63784         * sysdeps/mach/hurd/eloop-threshold.h: New file.
63785         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
63786         __eloop_threshold instead of SYMLOOP_MAX.
63788         * sysdeps/generic/eloop-threshold.h: New file.
63789         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
63790         of MAXSYMLINKS.
63791         * elf/chroot_canon.c (chroot_canon): Likewise.
63793 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
63795         [BZ #13717]
63796         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
63797         Change to 2.6.0 everywhere.
63798         * sysdeps/unix/sysv/linux/configure: Regenerated.
63799         * sysdeps/unix/sysv/linux/kernel-features.h
63800         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
63801         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
63802         kernel versions.
63803         (__ASSUME_POSIX_TIMERS): Define unconditionally.
63804         (__ASSUME_FUTEX_REQUEUE): Remove.
63805         (__ASSUME_STATFS64): Define unconditionally.
63806         (__ASSUME_AT_SECURE): Likewise.
63807         (__ASSUME_CORRECT_SI_PID): Likewise.
63808         (__ASSUME_TGKILL): Define without depending on kernel version for
63809         i386.
63810         (__ASSUME_UTIMES): Likewise.
63811         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
63812         kernel version.
63813         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
63814         (__ASSUME_TMPFS_NAME): Likewise.
63815         * README: Update reference to Linux kernel versions.
63817 2012-08-02  Marek Polacek  <polacek@redhat.com>
63819         [BZ# 14150]
63820         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
63821         libc_cv_asm_type_prefix with %.
63822         * configure: Regenerated.
63823         * include/libc-symbols.h: Remove comment about
63824         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63825         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
63826         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
63827         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
63828         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
63829         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
63830         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
63831         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
63832         * elf/tst-unique2mod1.c: Likewise.
63833         * elf/tst-unique1mod2.c: Likewise.
63834         * elf/tst-unique1mod1.c: Likewise.
63835         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
63836         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
63837         Replace ASM_TYPE_DIRECTIVE with .type.
63838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
63839         * sysdeps/i386/sysdep.h: Likewise.
63840         * sysdeps/x86_64/sysdep.h: Likewise.
63841         * sysdeps/sh/sysdep.h: Likewise.
63842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
63843         Do not define ASM_TYPE_DIRECTIVE.
63844         * sysdeps/powerpc/sysdep.h: Likewise.
63845         * sysdeps/powerpc/powerpc32/sysdep.h:
63846         Replace ASM_TYPE_DIRECTIVE with .type.
63847         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
63848         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
63849         * sysdeps/i386/fpu/e_powf.S: Likewise.
63850         * sysdeps/i386/fpu/e_expl.S: Likewise.
63851         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
63852         * sysdeps/i386/fpu/e_acosh.S: Likewise.
63853         * sysdeps/i386/fpu/e_pow.S: Likewise.
63854         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
63855         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
63856         * sysdeps/i386/fpu/s_expm1.S: Likewise.
63857         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
63858         * sysdeps/i386/fpu/e_log2.S: Likewise.
63859         * sysdeps/i386/fpu/e_log2l.S: Likewise.
63860         * sysdeps/i386/fpu/e_scalb.S: Likewise.
63861         * sysdeps/i386/fpu/e_powl.S: Likewise.
63862         * sysdeps/i386/fpu/e_log10f.S: Likewise.
63863         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
63864         * sysdeps/i386/fpu/e_logl.S: Likewise.
63865         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
63866         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
63867         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
63868         * sysdeps/i386/fpu/e_log2f.S: Likewise.
63869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
63870         * sysdeps/i386/fpu/e_log.S: Likewise.
63871         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
63872         * sysdeps/i386/fpu/e_logf.S: Likewise.
63873         * sysdeps/i386/fpu/e_log10l.S: Likewise.
63874         * sysdeps/i386/fpu/e_atanh.S: Likewise.
63875         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
63876         * sysdeps/i386/fpu/e_log10.S: Likewise.
63877         * sysdeps/i386/fpu/s_frexp.S: Likewise.
63878         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
63879         * sysdeps/i386/fpu/s_asinh.S: Likewise.
63880         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
63881         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
63882         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
63883         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
63884         * sysdeps/i386/i686/strtok.S: Likewise.
63885         * sysdeps/i386/i386-mcount.S: Likewise.
63886         * sysdeps/i386/strtok.S: Likewise.
63887         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
63888         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
63889         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
63890         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
63891         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
63892         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
63893         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
63894         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
63895         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
63896         * sysdeps/x86_64/_mcount.S: Likewise.
63897         * sysdeps/x86_64/strtok.S: Likewise.
63898         * sysdeps/sh/_mcount.S: Likewise.
63900 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63902         * libio/iofopen.c: Include <fcntl.h>.
63903         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
63904         (_IO_fopen64, fopen64): Define as aliases.
63905         * libio/iofopen64.c: Include <fcntl.h>.
63906         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
63907         Conditionalize body on this.
63908         * sysdeps/wordsize-64/iofopen.c: File removed.
63909         * sysdeps/wordsize-64/iofopen64.c: File removed.
63911 2012-08-01  Marek Polacek  <polacek@redhat.com>
63913         * libc/Makeconfig: Use elf in place of binfmt-subdir.
63914         Use dlfcn directly instead of a variable.
63915         (binfmt-subdir): Do not define.
63916         (dlfcn): Likewise.
63918 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
63920         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
63921         Remove all definitions.
63922         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
63923         <kernel-features.h>.
63924         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63925         (miss_F_GETOWN_EX): Remove all definitions.
63926         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
63927         macro definition.
63928         [!__ASSUME_FCNTL64]: Remove conditional code.
63929         [__ASSUME_FCNTL64]: Make code unconditional.
63930         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
63931         <kernel-features.h>.
63932         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
63933         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
63934         (lockf64) [__NR_fcntl64]: Make code unconditional.
63935         (lockf64) [__ASSUME_FCNTL64]: Likewise.
63937         * sysdeps/unix/sysv/linux/kernel-features.h
63938         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
63939         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
63940         Make code unconditional.
63941         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63942         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
63944         [__NR_vfork]: Make code unconditional.
63945         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63946         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
63948         [__NR_vfork]: Make code unconditional.
63949         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
63950         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
63952 2012-08-01  Roland McGrath  <roland@hack.frob.com>
63954         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
63955         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
63957         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63958         Define mkstemp64 as an alias.
63959         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63960         Define mkstemps64 as an alias.
63961         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63962         Define mkostemp64 as an alias.
63963         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
63964         Define mkostemps64 as an alias.
63965         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
63966         Conditionalize body on this.
63967         * misc/mkostemp64.c: Likewise.
63968         * misc/mkostemps64.c: Likewise.
63969         * misc/mkstemps64.c: Likewise.
63970         * sysdeps/wordsize-64/mkstemp64.c: File removed.
63971         * sysdeps/wordsize-64/mkostemp64.c: File removed.
63972         * sysdeps/wordsize-64/mkostemp.c: File removed.
63973         * sysdeps/wordsize-64/mkstemp.c: File removed.
63974         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
63975         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
63976         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
63977         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
63979         [BZ #14138]
63980         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
63981         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
63982         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
63983         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
63985         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
63986         compat_symbol macros from <shlib-compat.h> rather than the underlying
63987         default_symbol_version and symbol_version macros, so that DEFAULT
63988         lines in shlib-versions are respected.
63989         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
63991 2012-08-01  Florian Weimer  <fweimer@redhat.com>
63993         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
63994         Declare with warn_unused_result.
63995         (setgid, setregid, setegid, setresgid): Likewise.
63996         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
63997         Likewise.
63998         * WUR-REPORT: Remove set*id functions.
64000 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
64002         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
64004 2012-07-31  Roland McGrath  <roland@hack.frob.com>
64006         [BZ #10191]
64007         * include/sys/socket.h (__libc_accept, __libc_accept4):
64008         Add attribute_hidden.
64009         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
64011         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
64012         use of PTR_MANGLE.
64013         * inet/getnetgrent_r.c (setup): Likewise.
64015         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
64017 2012-07-31  David S. Miller  <davem@davemloft.net>
64019         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64021 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
64023         [BZ #13629]
64024         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
64025         value between 1.0 and 2.0 and smaller part has absolute value less
64026         than 1.0.
64027         * math/s_clog10.c (__clog10): Likewise.
64028         * math/s_clog10f.c (__clog10f): Likewise.
64029         * math/s_clog10l.c (__clog10l): Likewise.
64030         * math/s_clogf.c (__clogf): Likewise.
64031         * math/s_clogl.c (__clogl): Likewise.
64032         * math/libm-test.inc (clog_test): Add more tests.
64033         (clog10_test): Likewise.
64034         * sysdeps/i386/fpu/libm-test-ulps: Update.
64035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64037 2012-07-31  Florian Weimer  <fweimer@redhat.com>
64039         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
64040         Exit with zero in case no suitable GID is found, and write a
64041         message to standard error.
64043 2012-07-30  Roland McGrath  <roland@hack.frob.com>
64045         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
64046         rather than to 1.
64047         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
64048         (MAXPATHLEN): Removed.
64049         (NOGROUP, NODEV): New macros.
64050         (setbit, clrbit, isset, isclr): New macros.
64051         (howmany, roundup, powerof2): New macros.
64052         (DEV_BSIZE): New macro.
64054         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
64055         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
64057         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
64058         definition on [!__NO_LONG_DOUBLE_MATH].
64060         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
64061         PTR_MANGLE and PTR_DEMANGLE.
64063         * socket/accept4.c (accept4): Rename to __libc_accept4.
64064         Define accept4 as a weak alias.
64066         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
64067         on [_DIRENT_HAVE_D_TYPE].
64068         * io/ftw.c (ftw_dir): Likewise.
64070         * io/xmknod.c (__xmknod): Don't check PATH for being null.
64072         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
64074         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
64075         Use the BSD numbers rather than the arbitrary ones we had.
64076         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
64077         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
64078         (SIGXCPU, SIGXFSZ): New macros.
64079         (_NSIG): Now 32.
64081         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
64082         initializer on [_LIBC_REENTRANT].
64084         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
64085         definitions inside [_POSIX_MAPPED_FILES].
64087         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
64089         * dirent/opendir.c: Include <fcntl.h>.
64091         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
64092         (__libc_getspecific): Likewise.
64093         (__libc_key_create): Likewise.
64095         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
64096         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
64097         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
64098         (tmpfile64): Define as alias.
64099         * sysdeps/wordsize-64/tmpfile.c: File removed.
64100         * sysdeps/wordsize-64/tmpfile64.c: File removed.
64101         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
64102         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
64104         * stdio-common/vfscanf.c: Include <stdbool.h>.
64105         * nss/makedb.c: Likewise.
64106         * stdio-common/_i18n_number.h: Likewise.
64107         * argp/argp-help.c: Likewise.
64108         * posix/wordexp.c: Likewise.
64109         * sysdeps/posix/spawni.c: Likewise.
64110         * nss/nss_files/files-initgroups.c: Likewise.
64111         * stdio-common/reg-modifier.c: Include <stdlib.h>.
64112         * nss/nss_files/files-initgroups.c: Likewise.
64113         * nss/nss_db/db-netgrp.c: Likewise.
64114         * nss/nss_db/db-initgroups.c: Likewise.
64115         * io/fchmodat.c: Include <sys/stat.h>.
64117         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
64118         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
64120         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
64121         [HAVE_MMAP].
64123         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
64124         Add multiple inclusion protection.
64126 2012-07-27  David S. Miller  <davem@davemloft.net>
64128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64130 2012-07-27  Gary Benson  <gbenson@redhat.com>
64132         [BZ #14298]
64133         * elf/rtld.c: Include <stap-probe.h>.
64134         (dl_main): Added static probes "init_start" and "init_complete".
64135         * elf/dl-load.c: Include <stap-probe.h>.
64136         (lose): Take new parameter "nsid".
64137         Added static probe "map_failed".
64138         (_dl_map_object_from_fd): Pass namespace id to lose.
64139         Added static probe "map_start".
64140         (open_verify): Pass namespace id to lose.
64141         * elf/dl-open.c: Include <stap-probe.h>.
64142         (dl_open_worker) Added static probes "map_complete", "reloc_start"
64143         and "reloc_complete".
64144         * elf/dl-close.c: Include <stap-probe.h>.
64145         (_dl_close_worker): Added static probes "unmap_start" and
64146         "unmap_complete".
64147         * elf/rtld-debugger-interface.txt: New file documenting the above.
64149 2012-07-26  Roland McGrath  <roland@hack.frob.com>
64151         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
64152         rather than a string variable.
64153         * sunrpc/rpc_main.c (h_output): Likewise.
64154         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
64156 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
64158         * inet/check_native.c: New file.
64160 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
64162         [BZ #13629]
64163         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
64164         if larger part has absolute value 1.0.
64165         * math/s_clog10.c (__clog10): Likewise.
64166         * math/s_clog10f.c (__clog10f): Likewise.
64167         * math/s_clog10l.c (__clog10l): Likewise.
64168         * math/s_clogf.c (__clogf): Likewise.
64169         * math/s_clogl.c (__clogl): Likewise.
64170         * math/libm-test.inc (clog_test): Add more tests.
64171         (clog10_test): Likewise.
64172         * sysdeps/i386/fpu/libm-test-ulps: Update.
64173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64175         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
64176         (pltexit): Likewise.
64177         (La_regs): Likewise.
64178         (La_retval): Likewise.
64179         (int_retval): Likewise.
64180         Update #error for removed macros to refer only to definitions in
64181         tst-audit.h.
64182         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
64183         macro.
64184         (pltexit): Likewise.
64185         (La_regs): Likewise.
64186         (La_retval): Likewise.
64187         (int_retval): Likewise.
64188         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
64189         macro.
64190         (pltexit): Likewise.
64191         (La_regs): Likewise.
64192         (La_retval): Likewise.
64193         (int_retval): Likewise.
64194         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
64195         macro.
64196         (pltexit): Likewise.
64197         (La_regs): Likewise.
64198         (La_retval): Likewise.
64199         (int_retval): Likewise.
64200         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
64201         macro.
64202         (pltexit): Likewise.
64203         (La_regs): Likewise.
64204         (La_retval): Likewise.
64205         (int_retval): Likewise.
64206         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
64207         macro.
64208         (pltexit): Likewise.
64209         (La_regs): Likewise.
64210         (La_retval): Likewise.
64211         (int_retval): Likewise.
64212         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
64213         macro.
64214         (pltexit): Likewise.
64215         (La_regs): Likewise.
64216         (La_retval): Likewise.
64217         (int_retval): Likewise.
64218         * sysdeps/generic/tst-audit.h: Update comment to refer only to
64219         macro definitions in tst-audit.h.
64220         * sysdeps/i386/tst-audit.h: New file.
64221         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
64222         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
64223         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
64224         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
64225         * sysdeps/sh/tst-audit.h: Likewise.
64226         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
64227         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
64228         * sysdeps/x86_64/tst-audit.h: Likewise.
64230 2012-07-26  Andreas Jaeger  <aj@suse.de>
64232         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
64233         ptrace.
64235         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
64236         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
64237         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
64238         PTRACE_O_MASK.
64239         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
64240         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
64241         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
64243         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
64244         value.
64246         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
64247         _sigsys.
64248         (si_call_addr, si_syscall, si_arch): Define new macro.
64249         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
64250         _sigsys.
64251         (si_call_addr, si_syscall, si_arch): Define new marcro.
64252         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
64253         _sigsys.
64254         (si_call_addr, si_syscall, si_arch): Define new macro.
64255         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
64256         _sigsys.
64257         (si_call_addr, si_syscall, si_arch): Define new macro.
64259 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64261         [BZ #13717]
64262         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64263         Change to 2.4.21 where previously 2.4.1.
64264         * sysdeps/unix/sysv/linux/configure: Regenerated.
64265         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
64266         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
64267         Linux kernel version.
64268         (__ASSUME_STD_AUXV): Remove.
64269         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
64270         kernel version.
64271         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
64272         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
64273         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
64274         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
64275         (__ASSUME_NETLINK_SUPPORT): Likewise.
64276         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
64277         (__no_netlink_support): Remove conditional definition.
64278         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
64279         Remove.
64280         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64281         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
64282         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
64283         (if_nameindex_ioctl): Remove.
64284         (if_nameindex_netlink): Do not handle __no_netlink_support.
64285         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64286         code.
64287         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
64288         Remove conditional code.
64289         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
64290         code.
64291         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
64292         unconditional.
64293         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
64294         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
64295         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
64296         Remove.
64297         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
64298         [!__ASSUME_STD_AUXV]: Remove conditional code.
64299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
64300         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
64301         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
64302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
64303         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
64304         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64305         code.
64306         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64307         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
64308         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
64309         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64310         conditional code.
64311         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
64312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
64313         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
64314         code.
64315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
64316         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
64317         conditional code.
64318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
64319         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64320         code unconditional.
64321         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64322         conditional code.
64323         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64324         unconditional.
64325         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64326         conditional code.
64327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
64328         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64329         unconditional.
64330         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64331         conditional code.
64332         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
64333         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64334         code unconditional.
64335         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64336         conditional code.
64337         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64338         unconditional.
64339         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64340         conditional code.
64341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
64342         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
64343         code unconditional.
64344         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64345         conditional code.
64346         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
64347         unconditional.
64348         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
64349         conditional code.
64351 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
64353         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
64354         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
64355         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
64356         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
64357         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
64358         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
64359         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
64360         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
64361         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
64362         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
64363         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
64364         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
64365         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
64366         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
64367         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
64368         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
64369         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
64370         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
64371         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
64372         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
64373         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
64374         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
64375         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
64377 2012-07-25  Florian Weimer  <fweimer@redhat.com>
64379         * Versions.def: Add GLIBC_2.17.
64380         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
64381         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
64382         Introduce __libc_secure_getenv.
64383         * stdlib/Versions (2.17): Add secure_getenv
64384         (GLIBC_PRIVATE): Add __libc_secure_getenv.
64385         * stdlib/secure-getenv.c: Rename __secure_getenv to
64386         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
64387         symbol __secure_getenv for GLIBC_2.0.
64388         * stdlib/tst-secure-getenv.c: New.
64389         * stdlib/Makefile (tests): Add testcase.
64390         * manual/startup.texi (Environment Access): Document
64391         secure_getenv.
64392         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
64393         __libc_secure_getenv.
64394         * inet/ruserpass.c (ruserpass): Likewise.
64395         * malloc/mtrace.c (mtrace): Likewise.
64396         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
64397         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
64398         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
64399         * sysdeps/posix/tempname.c: Likewise.  Evaluate
64400         HAVE_SECURE_GETENV.
64401         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
64402         __secure_getenv to __libc_secure_getenv.
64403         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
64404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64405         Likewise.
64406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
64407         Likewise.
64408         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
64409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
64410         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
64411         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
64412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
64413         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
64414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
64416 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
64418         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
64419         (struct La_i86_retval): Likewise.
64420         (struct La_x86_64_regs): Likewise.
64421         (struct La_x86_64_retval): Likewise.
64422         (struct La_x32_regs): Likewise.
64423         (struct La_x32_retval): Likewise.
64424         (struct La_ppc32_regs): Likewise.
64425         (struct La_ppc32_retval): Likewise.
64426         (struct La_ppc64_regs): Likewise.
64427         (struct La_ppc64_retval): Likewise.
64428         (struct La_sh_regs): Likewise.
64429         (struct La_sh_retval): Likewise.
64430         (struct La_s390_32_regs): Likewise.
64431         (struct La_s390_32_retval): Likewise.
64432         (struct La_s390_64_regs): Likewise.
64433         (struct La_s390_64_retval): Likewise.
64434         (struct La_sparc32_regs): Likewise.
64435         (struct La_sparc32_retval): Likewise.
64436         (struct La_sparc64_regs): Likewise.
64437         (struct La_sparc64_retval): Likewise.
64438         (struct audit_ifaces): Remove architecture-specific pltenter and
64439         pltexit members.
64440         * sysdeps/i386/ldsodefs.h: New file.
64441         * sysdeps/powerpc/ldsodefs.h: Likewise.
64442         * sysdeps/s390/ldsodefs.h: Likewise.
64443         * sysdeps/sh/ldsodefs.h: Likewise.
64444         * sysdeps/sparc/ldsodefs.h: Likewise.
64445         * sysdeps/x86_64/ldsodefs.h: Likewise.
64447 2012-07-25  Marek Polacek  <polacek@redhat.com>
64449         [BZ #6808]
64450         * math/libm-test.inc (yn_test): Add another test.
64451         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
64452         to ERANGE when the result is +-Inf.
64453         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
64454         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
64455         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
64456         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
64458 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
64460         * conform/data/time.h-data (NULL): Use macro-constant.  Require
64461         equal to 0.
64462         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
64463         clock_t.
64464         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
64466 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
64468         * configure.in <sysdeps resolving>: Correct printing
64469         Implies_before.
64470         * configure: Regenerate.
64472 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
64474         * math/w_ilogb.c: Include <limits.h>.
64475         * math/w_ilogbl.c: Likewise.
64477 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64479         * manual/lang.texi (__va_copy): Document primarily as ISO C99
64480         va_copy.  Document allowing for unavailable va_copy only as
64481         pre-C99 compatibility.
64482         * manual/string.texi (Copying and Concatenation): Use va_copy
64483         instead of __va_copy in concat example.
64485 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
64487         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
64488         (__sendto): Use create_address_port.  Initialize APORT and deallocate
64489         it if not null.
64491         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
64492         with O_NOLINK passed to __file_name_lookup.
64494         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
64495         with O_NOLINK passed to __file_name_lookup.
64497         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
64498         negative N or less than NGIDS.
64500         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
64501         type to string_t.  Set ERANGE as errno and return it if NAME is not big
64502         enough.  Use memcpy instead of strncpy.
64504 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
64506         * elf/Makefile (check-data): Remove.
64507         (localplt.data): New vpath directive.
64508         ($(objpfx)check-localplt.out): Use localplt.data from vpath
64509         instead of $(check-data).
64510         * scripts/data/localplt-generic.data: Move to ...
64511         * sysdeps/generic/localplt.data: ... here.
64512         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
64513         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
64514         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
64515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
64516         ... here.
64517         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
64518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
64519         ... here.
64520         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
64521         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
64522         ... here.
64523         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
64524         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
64525         ... here.
64526         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
64527         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
64528         ... here.
64529         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
64530         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
64531         ... here.
64533 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64535         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
64536         PPC32 and PPC64 files.
64537         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
64538         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
64540 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64542         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
64543         __makecontext_ret to ...
64544         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
64545         ... here and call exit if uc_link is NULL.  New file.
64546         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
64547         __makecontext_ret.S.
64548         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
64549         __makecontext_ret to ...
64550         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
64551         ... here and call exit if uc_link is NULL.  New file.
64552         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
64553         __makecontext_ret.S.
64555 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64557         * elf/elf.h (R_390_IRELATIVE): New definition.
64558         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
64559         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
64560         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
64561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
64562         (elf_machine_lazy_rel): Likewise.
64563         * sysdeps/s390/dl-irel.h: New file.
64564         * sysdeps/s390/s390-64/memcpy.S: New asm code.
64565         * sysdeps/s390/s390-64/memset.S: New asm code.
64566         * sysdeps/s390/s390-64/memcmp.S: New asm code.
64567         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
64568         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
64569         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
64570         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
64571         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
64572         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
64573         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
64574         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
64575         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
64576         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
64577         * sysdeps/s390/s390-32/memcpy.S: New asm code.
64578         * sysdeps/s390/s390-32/memset.S: New asm code.
64579         * sysdeps/s390/s390-32/memcmp.S: New asm code.
64581 2012-07-17  Marek Polacek  <polacek@redhat.com>
64583         [BZ #14349]
64584         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
64585         * sysdeps/s390/s390-64/configure.in: Likewise.
64586         * sysdeps/sparc/configure.in: Likewise.
64587         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
64588         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
64589         * sysdeps/i386/configure.in: Likewise.
64590         * sysdeps/x86_64/configure.in: Likewise.
64591         * sysdeps/sh/configure.in: Likewise.
64592         * sysdeps/s390/s390-32/configure: Regenerated.
64593         * sysdeps/s390/s390-64/configure: Likewise.
64594         * sysdeps/x86_64/configure: Likewise.
64595         * sysdeps/sh/configure: Likewise.
64596         * sysdeps/powerpc/powerpc64/configure: Likewise.
64597         * sysdeps/powerpc/powerpc32/configure: Likewise.
64598         * sysdeps/sparc/configure: Likwise.
64599         * sysdeps/i386/configure: Likewise.
64601         * elf/dl-open.c: Comment fixes.
64603 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
64605         * Makefile [CXX] (check-data): Remove.
64606         [CXX] (c++-types.data): New vpath directive.
64607         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
64608         vpath.  Do not allow for C++ type data being missing.
64609         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
64610         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
64611         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
64612         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
64613         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
64614         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
64615         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
64616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
64617         ... here.
64618         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
64619         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
64620         ... here.
64621         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
64622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
64623         ... here.
64624         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
64625         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
64626         ... here.
64627         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
64628         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
64629         ... here.
64630         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
64631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
64632         ... here.
64633         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
64634         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
64635         ... here.
64636         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
64637         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
64639         * elf/tls-macros.h (TLS_LE): Move architecture-specific
64640         definitions to architecture-specific files.
64641         (TLS_IE): Likewise.
64642         (TLS_LD): Likewise.
64643         (TLS_GD): Likewise.
64644         * sysdeps/i386/tls-macros.h: New file.
64645         * sysdeps/powerpc/tls-macros.h: Likewise.
64646         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
64647         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
64648         * sysdeps/sh/tls-macros.h: Likewise.
64649         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
64650         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
64651         * sysdeps/x86_64/tls-macros.h: Likewise.
64653 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64655         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
64656         zero value for regular exit case.
64658         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
64659         (__start_context): Preserve zero value for regular exit case.
64661 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
64662             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
64664         * manual/setjmp.texi (setcontext): Clarify normal process
64665         termination when uc_link is the null pointer.
64666         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
64667         exit call.
64669 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
64671         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
64672         preprocessor.  Test for each exception mask separately.
64674 2012-07-16  Andreas Jaeger  <aj@suse.de>
64676         * po/ru.po: Update from translation team.
64678 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
64680         * conform/data/string.h-data (NULL): Use macro-constant.  Require
64681         equal to 0.
64682         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64683         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64684         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
64685         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
64686         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64688 2012-07-13  Andreas Jaeger  <aj@suse.de>
64690         * po/fr.po: Update from translation team.
64692 2012-07-12  Marek Polacek  <polacek@redhat.com>
64694         [BZ #14173]
64695         * math/libm-test.inc (yn_test): Add test for BZ #14173.
64696         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
64697         loop condition.
64699 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
64701         [BZ #13717]
64702         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
64703         Change to 2.4.1 where previously 2.4.0.
64704         * sysdeps/unix/sysv/linux/configure: Regenerated.
64705         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
64706         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
64707         version.
64708         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
64709         (__ASSUME_AT_CLKTCK): Remove.
64710         (__ASSUME_AT_PAGESIZE): Likewise.
64711         (__ASSUME_AT_XID): Likewise.
64712         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
64713         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
64714         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
64715         unconditionally.
64716         (HAVE_AUX_PAGESIZE): Likewise.
64717         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
64718         [__ASSUME_AT_CLKTCK]: Make code unconditional.
64719         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
64721 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
64723         [BZ #14307]
64724         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
64725         the temporary buffer used to invoke __gethostbyname2_r,
64726         __gethostbyaddr_r and gethostbyname4_r to make room for struct
64727         host_data / struct gaih_addrtuple.
64728         * resolv/nss_dns/dns-host.c (global scope): Move definition of
64729         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
64730         header file nss/nsswitch.h.
64731         * nss/nsswitch.h (global scope): Add definition of implementation
64732         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
64733         resolv/nss_dns/dns-host.c).
64735 2012-07-11  Andreas Jaeger  <aj@suse.de>
64737         * po/fr.po: Update from translation team.
64739         * po/sv.po: Update from translation team
64740         * po/fr.po: Another update from translation team.
64742 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64744         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
64745         for subnormals or multiply small sinh result by itself.
64746         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
64747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64749 2012-07-11  David S. Miller  <davem@davemloft.net>
64751         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64753 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
64755         [BZ #14347]
64756         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
64757         (INTERNAL_MARK): Shift it here.
64759 2012-07-10  Marek Polacek  <polacek@redhat.com>
64761         [BZ #14151]
64762         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
64763         libc_cv_asm_global_directive with .globl.
64764         * configure: Regenerated.
64765         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
64766         with .globl.
64767         * sysdeps/i386/configure: Regenerated.
64768         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
64769         with .globl.
64770         * sysdeps/x86_64/configure: Regenerated.
64771         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
64772         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
64773         * elf/tst-unique2mod2.c: Likewise.
64774         * elf/tst-unique2mod1.c: Likewise.
64775         * elf/tst-unique1mod2.c: Likewise.
64776         * elf/tst-unique1mod1.c: Likewise.
64777         * sysdeps/s390/s390-32/sysdep.h: Likewise.
64778         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
64779         * sysdeps/s390/s390-64/sysdep.h: Likewise.
64780         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
64781         * sysdeps/mach/sysdep.h: Likewise.
64782         * sysdeps/i386/sysdep.h: Likewise.
64783         * sysdeps/i386/i386-mcount.S: Likewise.
64784         * sysdeps/x86_64/_mcount.S: Likewise.
64785         * sysdeps/x86_64/sysdep.h: Likewise.
64786         * sysdeps/sh/_mcount.S: Likewise.
64787         * sysdeps/sh/sysdep.h: Likewise.
64788         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
64789         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
64790         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
64791         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
64792         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
64793         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
64794         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
64795         * locale/localeinfo.h: Likewise.
64796         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
64797         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
64799 2012-07-09  Roland McGrath  <roland@hack.frob.com>
64801         [BZ #14336]
64802         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
64803         system".
64804         * manual/message.texi (The Uniforum approach): Likewise.
64805         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
64806         (glibc iconv Implementation): Likewise.
64808 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
64810         [BZ #14337]
64811         * math/s_clog.c (__clog): Avoid scaling a value down where that
64812         could result in underflow.
64813         * math/s_clog10.c (__clog10): Likewise.
64814         * math/s_clog10f.c (__clog10f): Likewise.
64815         * math/s_clog10l.c (__clog10l): Likewise.
64816         * math/s_clogf.c (__clogf): Likewise.
64817         * math/s_clogl.c (__clogl): Likewise.
64818         * math/libm-test.inc (clog_test): Add more tests.
64819         (clog10_test): Likewise.
64820         * sysdeps/i386/fpu/libm-test-ulps: Update.
64821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64823 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
64825         [BZ #14283]
64826         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
64827         by 7 not 8 to examine high bit of fractional part.
64829         [BZ #14042]
64830         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
64831         for call to __mcount_internal.
64832         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
64833         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
64834         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
64836 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
64838         [BZ #14154]
64839         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
64840         approximation for values within 0x1p-13f of an odd multiple of
64841         pi/4.
64842         * math/libm-test.inc (tan_test): Do not allow spurious underflow
64843         exception.  Add more tests.
64844         * sysdeps/i386/fpu/libm-test-ulps: Update.
64846         [BZ #6778]
64847         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
64848         inputs and return -1 for them.  Do not check for +Inf in case not
64849         reachable for +Inf.
64850         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
64851         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
64852         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64853         and return -1 for them.  Do not check for +Inf in case not
64854         reachable for +Inf.
64855         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
64856         define.
64857         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
64858         and return -1 for them.  Do not check for +Inf in case not
64859         reachable for +Inf.
64860         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
64861         spurious underflow.
64862         * sysdeps/i386/fpu/libm-test-ulps: Update.
64863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64865 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
64867         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
64869 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
64871         [BZ #14157]
64872         [BZ #14331]
64873         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
64874         could result in spurious underflow.  Scale down values above
64875         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
64876         * math/s_csqrtf.c (__csqrtf): Likewise.
64877         * math/s_csqrtl.c (__csqrtl): Likewise.
64878         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
64879         spurious underflow.
64880         * sysdeps/i386/fpu/libm-test-ulps: Update.
64881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64883 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
64885         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
64886         xopen-msg.sed.
64887         * catgets/xopen-msg.awk: New file.
64888         * catgets/xopen-msg.sed: Removed.
64890         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
64891         po2text.sed.
64892         * intl/po2test.awk: New file.
64893         * intl/po2test.sed: Removed.
64895 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
64897         [BZ #14328]
64898         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
64899         or multiply small sinh result by itself.
64900         * math/s_ctanf.c (__ctanf): Likewise.
64901         * math/s_ctanh.c (__ctanh): Likewise.
64902         * math/s_ctanhf.c (__ctanhf): Likewise.
64903         * math/s_ctanhl.c (__ctanhl): Likewise.
64904         * math/s_ctanl.c (__ctanl): Likewise.
64905         * math/libm-test.inc (ctan_test_tonearest): New function.
64906         (ctan_test_towardzero): Likewise.
64907         (ctan_test_downward): Likewise.
64908         (ctan_test_upward): Likewise.
64909         (ctanh_test_tonearest): Likewise.
64910         (ctanh_test_towardzero): Likewise.
64911         (ctanh_test_downward): Likewise.
64912         (ctanh_test_upward): Likewise.
64913         (main): Call these new functions.
64914         * sysdeps/i386/fpu/libm-test-ulps: Update.
64915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64917 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
64919         * .gitignore: Delete /ports entry.
64921 2012-07-03  Andreas Jaeger  <aj@suse.de>
64923         * po/bg.po: Update from translation team.
64924         * po/cs.po: Likewise.
64925         * po/de.po: Likewise.
64926         * po/hr.po: Likewise.
64927         * po/nl.pl: Likewise.
64928         * po/pl.po: Likewise.
64929         * po/vi.po: Likewise.
64931 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
64933         * Makeconfig [!+link] (+link-before-libc): New variable.
64934         [!+link] (+link-after-libc): Likewise.
64935         [!+link] (+link-tests): Likewise.
64936         [!+link] (+link): Define in terms of $(+link-before-libc) and
64937         $(+link-after-libc).
64938         [!+link-static] (+link-static-before-libc): New variable.
64939         [!+link-static] (+link-static-after-libc): Likewise.
64940         [!+link-static] (+link-static-tests): Likewise.
64941         [!+link-static] (+link-static): Define in terms of
64942         $(+link-static-before-libc) and $(+link-static-after-libc).
64943         [build-shared] (link-libc-before-gnulib): New variable.
64944         [build-shared] (link-libc-tests): Likewise.
64945         [build-shared] (link-libc): Define in terms of
64946         $(link-libc-before-gnulib).
64947         [!build-shared] (link-libc-tests): New variable.
64948         (link-libc-static-tests): New variable.
64949         [!gnulib] (gnulib-arch): New variable.
64950         [!gnulib] (gnulib-tests): Likewise.
64951         [!gnulib] (static-gnulib-arch): Likewise.
64952         [!gnulib] (static-gnulib-tests): Likewise.
64953         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
64954         Define with "=" instead of ":=".
64955         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
64956         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
64957         * Rules (binaries-all-notests): New variable.
64958         (binaries-all-tests): Likewise.
64959         (binaries-static-notests): Likewise.
64960         (binaries-static-tests): Likewise.
64961         (binaries-all): Define using $(binaries-all-notests) and
64962         $(binaries-all-tests).
64963         (binaries-static): Define using $(binaries-static-notests) and
64964         $(binaries-static-tests).
64965         (binaries-shared-tests): New variable.
64966         (binaries-shared-notests): Likewise.
64967         (binaries-shared): Remove variable.
64968         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
64969         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
64970         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
64971         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
64972         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
64973         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
64974         * elf/Makefile (sln-modules): New variable.
64975         (extra-objs): Add $(sln-modules:=.o).
64976         (ldconfig-modules): Add static-stubs.
64977         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
64978         * elf/static-stubs.c: New file.
64980         [BZ #14283]
64981         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
64982         by 7 not 8 to examine high bit of fractional part.  Use volatile
64983         variables when splitting into final array of floats if
64984         __FLT_EVAL_METHOD__ != 0.
64985         * math/libm-test.inc (cos_test): Add another test.
64986         (sin_test): Likewise.
64987         * sysdeps/i386/fpu/libm-test-ulps: Update.
64989         [BZ #14273]
64990         * math/libm-test.inc (cosh_test): Add more tests.
64992         * version.h (RELEASE): Set to "development".
64993         (VERSION): Set to "2.16.90".
64995 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
64997         * NEWS: Update copyright. Remove last-updated date.
64998         Mention math library bug fixes and timezone data changes.
64999         * README: Mention GNU/Hurd, x32, and HPPA support status.
65001 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
65003         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
65005 2012-06-27  Andreas Jaeger  <aj@suse.de>
65007         * manual/contrib.texi (Contributors): Add Samuel Thibault.
65009 2012-06-25  Andreas Jaeger  <aj@suse.de>
65011         * sysdeps/s390/fpu/libm-test-ulps: Update.
65013 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
65014             Thomas Schwinge  <thomas@codesourcery.com>
65016         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
65017         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
65018         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
65019         fanotify_mark.
65021 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
65023         * sysdeps/mach/start.c: Remove file.
65024         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
65025         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
65026         * sysdeps/sh/init-first.c: Likewise.
65028         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
65029         registers for frame unwinding purposes, add CFI directives.
65030         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65031         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
65032         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
65033         Likewise.
65035         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
65036         __fortify_fail returning.
65037         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
65039         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
65040         sysdeps/sh/____longjmp_chk.S.
65041         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
65042         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
65043         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
65044         (gen-as-const-headers): Append sigaltstack-offsets.sym.
65046         * sysdeps/sh/abort-instr.h: New file.
65047         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
65048         process in case exit returns.
65050         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
65051         initialize the GOT register before use.
65053         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
65054         calculation of ARGC > 4.
65056         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
65057         meaningful names to some local labels.
65059 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
65060             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65062         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
65063         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
65064         (__arch_compare_and_exchange_val_16_acq): Likewise.
65065         (__arch_compare_and_exchange_val_32_acq): Likewise.
65066         (atomic_exchange_and_add): Fix gUSA sequence.
65067         (atomic_add): Likewise.
65068         (atomic_add_negative): Likewise.
65069         (atomic_add_zero): Likewise.
65070         (atomic_bit_test_set): Likewise.
65072 2012-06-22  Andreas Schwab  <schwab@redhat.com>
65074         [BZ #13579]
65075         * include/link.h (struct link_map): Add l_free_initfini.
65076         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
65077         l_initfini.
65078         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
65079         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
65080         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
65081         set.
65083 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
65085         * configure.in: Use AC_LANG_SOURCE.
65086         * configure: Regenerate.
65088 2012-06-22  Roland McGrath  <roland@hack.frob.com>
65090         * configure.in (libc_cv_localstatedir): New substituted variable.
65091         * configure: Regenerated.
65092         * config.make.in (localstatedir): New variable, substituted from
65093         libc_cv_localstatedir.
65094         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
65095         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
65096         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
65097         * sysdeps/gnu/configure: Regenerated.
65099 2012-06-21  Jeff Law  <law@redhat.com>
65101         [BZ #14277]
65102         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
65103         free.  Simplify list management for _LIBC case.
65105 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
65107         [BZ #14273]
65108         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
65109         Clear sign bit of 64-bit integer value before comparing against
65110         overflow value.
65112         * sysdeps/mach/configure: Regenerated.
65114 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
65116         [BZ #14278]
65117         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
65119 2012-06-21  Jeff Law  <law@redhat.com>
65121         [BZ #13882]
65122         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
65123         uint16_t for elements in the "seen" array to avoid char overflows.
65124         * elf/dl-fini.c (_dl_sort_fini): Likewise.
65125         * elf/dl-open.c (dl_open_worker): Likewise.
65127 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
65129         * scripts/list-sources.sh: Scan PORTS for translations.
65130         * po/libc.pot: Regenerated.
65132 2012-06-21  Andreas Jaeger  <aj@suse.de>
65134         [BZ #12194]
65135         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
65136         warning.
65137         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
65138         * bits/byteswap-16.h (__bswap_16): Likewise.
65139         * bits/byteswap.h (__bswap_constant_16): Likewise.
65141 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
65143         [BZ #14117]
65144         * sysdeps/i386/fpu_control.h: Removed.
65145         * sysdeps/x86_64/fpu_control.h: Moved to ...
65146         * sysdeps/x86/fpu_control.h: Here.
65148         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
65149         (_FPU_SETCW): Likewise.
65151 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
65153         [BZ #14117]
65154         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
65155         * sysdeps/x86/fpu/bits/mathinline.h: This.
65156         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
65158         [BZ #14050]
65159         [BZ #14117]
65160         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
65161         functions if __x86_64__ is defined.
65163 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
65165         * string/endian.h: Add !__ASSEMBLER__ condition for including
65166         conversion interfaces.
65168 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
65170         [BZ #14241]
65171         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
65172         of ABS(x) in calculating zero to negative powers other than odd
65173         integers.
65174         * math/libm-test.inc (pow_test): Add more tests.
65176 2012-06-15  Andreas Jaeger  <aj@suse.de>
65178         * manual/contrib.texi (Contributors): Update entry of Liubov
65179         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
65180         Machado Filho.
65182 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
65184         * string/string.h: Add __wur to GNU version of strerror_r.
65186 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
65188         [BZ #14229]
65189         * string/Makefile (tests): Add tst-strtok_r.
65190         * string/tst-strtok_r.c: New file.
65191         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
65192         RAX_LP/RDX_LP on SAVE_PTR.
65194 2012-06-14  Roland McGrath  <roland@hack.frob.com>
65196         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
65198 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
65200         * libm_test.inc (csqrt_test): Allow more spurious underflow
65201         exceptions.
65202         (j0_test): Likewise.
65203         (j1_test): Likewise.
65204         (y0_test): Likewise.
65205         (y1_test): Likewise.
65207 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
65209         * po/Makefile (libc.pot): Use UTF-8 charset.
65211 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
65213         [BZ #14210]
65214         Suppress sign-conversion warning from FD_SET.
65215         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
65216         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
65217         not unsigned long int.
65218         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
65220 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
65222         [BZ #14050]
65223         [BZ #14117]
65224         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
65225         __extern_always_inline instead of __extern_inline.
65226         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
65227         (__signbit): Likewise.
65228         (__signbitl): Support C++ namespace.
65229         (lrintf): New inline function.
65230         (lrint): Likewise.
65231         (llrintf): Likewise.
65232         (llrint): Likewise.
65233         (fmaxf): Likewise.
65234         (fmax): Likewise.
65235         (fminf): Likewise.
65236         (fmin): Likewise.
65237         (rint): Likewise.
65238         (rintf): Likewise.
65239         (ceil): Likewise.
65240         (ceilf): Likewise.
65241         (floor): Likewise.
65242         (floorf): Likewise.
65243         (nearbyint): Likewise.
65244         (nearbyintf): Likewise.
65246 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
65248         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
65249         non-default versions.
65251 2012-06-11  Roland McGrath  <roland@hack.frob.com>
65253         [BZ #14218]
65254         * manual/argp.texi (Argp): Reword argp_parse description slightly.
65256 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
65258         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
65259         (FE_UPWARD, FE_DOWNWARD): Don't define.
65260         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
65261         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65263         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
65264         reading it.
65265         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65266         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65268 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65270         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
65271         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
65272         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
65273         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
65275 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
65277         [BZ #14117]
65278         * sysdeps/i386/fpu/bits/fenv.h: Removed.
65279         * sysdeps/i386/fpu/Implies: New file.
65280         * sysdeps/x86_64/fpu/Implies: Likewise.
65281         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
65282         * sysdeps/x86/fpu/bits/fenv.h: This.
65284         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
65285         __SSE_MATH__.
65287 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
65289         [BZ #14134]
65290         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
65291         character 0xffff that matches the last element of the
65292         conversion table.
65294 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65296         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
65297         fmodl commit.
65299 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65301         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
65302         values higher than 25.6283.
65304 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65306         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
65307         subnormal exponent extraction and add some __builtin_expect.
65308         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
65309         Fix for subnormal mantissa calculation.
65311 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
65313         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
65314         cpu2 is -1 and errno is not ENOSYS.
65316 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
65318         [BZ #14117]
65319         * sysdeps/i386/i486/bits/string.h: Renamed to ...
65320         * sysdeps/x86/bits/string.h: This.
65321         * sysdeps/x86_64/bits/string.h: Removed.
65323         * sysdeps/i386/i486/bits/string.h: Define inline functions only
65324         if not compiling for x86-64, but compiling for >= i486.
65326         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
65327         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
65329         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
65330         New macro from Linux kernel 3.4.0.
65331         (FP_XSTATE_MAGIC2): Likewise.
65332         (FP_XSTATE_MAGIC2_SIZE): Likewise.
65333         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
65334         (struct _fpx_sw_bytes): New struct.
65335         (struct _xsave_hdr): Likewise.
65336         (struct _ymmh_state): Likewise.
65337         (struct _xstate): Likewise.
65339         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
65340         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
65341         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
65342         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
65343         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
65344         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
65346         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
65347         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
65348         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
65349         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
65350         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
65351         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
65353 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
65355         [BZ #13743]
65356         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
65357         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
65358         (sysdep_headers): Include sys/platform/ppc.h.
65359         * sysdeps/powerpc/test-gettimebase.c: Test for
65360         __ppc_get_timebase() to catch future ISA opcode/insn changes.
65361         * manual/Makefile (appendices): Include platform.texi.
65362         * manual/contrib.texi (Contributors): Update @node pointers.
65363         * manual/maint.texi (Maintenance): Likewise.
65364         (Platform): New node.
65365         * manual/platform.texi: New file.  Document the new features.
65367 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
65368             Jakub Jelinek  <jakub@redhat.com>
65370         [BZ #14188]
65371         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
65372         where __builtin_expect is unavailable.
65374 2012-06-03  David S. Miller  <davem@davemloft.net>
65376         * stdlib/longlong.h: Updated from GCC.
65378 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
65380         [BZ #14042]
65381         * sysdeps/powerpc/powerpc32/mcount.c: New file.
65382         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
65383         __mcount_internal.
65384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
65385         (GLIBC_2.16): Likewise.
65387 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65389         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
65391 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
65394         (default-abi): New variable.
65395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
65396         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
65397         variable.
65398         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
65399         Likewise.
65400         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
65401         Likewise.
65402         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
65403         Likewise.
65405         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
65406         definition.  Document in comment.
65408 2012-06-01  David S. Miller  <davem@davemloft.net>
65410         * stdlib/longlong.h: Updated from GCC.
65412 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65414         [BZ #14117]
65415         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
65416         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
65417         sys/debugreg.h sys/io.h here.
65418         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
65419         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
65420         sys/io.h.
65421         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
65422         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
65423         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
65424         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
65425         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
65426         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
65428         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
65429         Define only if __x86_64__ is defined.
65431 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
65433         [BZ #14048]
65434         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
65435         Use int64_t for variable i.
65436         * math/libm-test.inc (fmod_test): Add more tests.
65438         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
65439         z computation is not scheduled after fetestexcept.
65440         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
65441         Use math_force_eval instead of asm to ensure calculation scheduled
65442         before exception test.
65443         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
65444         Ensure a1 + u.d computation is not scheduled after fetestexcept.
65446 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
65448         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
65449         computation is not scheduled after fetestexcept.
65451 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
65453         [BZ #14117]
65454         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
65455         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
65457 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65459         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
65460         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
65462 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65464         [BZ #14117]
65465         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
65466         <bits/wordsize.h>.
65467         (__WCHAR_MIN): Support __WORDSIZE == 64.
65468         (__WCHAR_MAX): Likewise.
65470         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
65471         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
65473         [BZ #14183]
65474         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
65475         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
65477         [BZ #14117]
65478         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
65479         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
65481         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
65482         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
65484         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
65485         Defined to 1 if __x86_64__ isn't defined.
65486         (_STAT_VER_LINUX_OLD): New.
65487         (st_atime): Remove duplicate.
65488         (st_mtime): Likewise.
65489         (st_ctime): Likewise.
65491 2012-05-31  David S. Miller  <davem@davemloft.net>
65493         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
65494         entries.
65496 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
65498         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
65499         gen-libm-test.pl.
65501         [BZ #14132]
65502         * elf/dl-reloc.c: Include <_itoa.h>.
65503         (_dl_reloc_bad_type): Remove use of INTUSE.
65504         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
65505         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
65506         * stdio-common/psiginfo.c (psiginfo): Likewise.
65507         * stdio-common/psignal.c (psignal): Likewise.
65508         * string/strsignal.c (strsignal): Likewise.
65509         * include/signal.h (_sys_siglist): Declare hidden proto.
65510         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
65511         INTVARDEF with libc_hidden_data_def.
65512         * stdio-common/itoa-udigits.c: Likewise.
65513         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
65514         (_itoa_lower_digits_internal): Remove declaration.
65515         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
65516         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
65517         (_sys_sigabbrev_internal): Remove aliases.
65518         (_sys_siglist): Define hidden alias.
65520 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
65522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65523         bits/sysctl.h.
65525 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
65527         [BZ #14117]
65528         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
65529         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
65531         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
65532         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
65533         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
65534         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
65535         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
65536         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
65538         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
65539         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
65540         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
65542         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
65543         with __addr.
65544         (insw): Likewise.
65545         (insl): Likewise.
65546         (outsb): Likewise.
65547         (outsw): Likewise.
65548         (outsl): Likewise.
65550         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
65551         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
65552         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
65554         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
65555         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
65556         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
65557         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
65558         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
65559         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
65561         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
65562         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
65564         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
65565         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
65567         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
65568         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
65569         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
65571         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
65572         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
65573         to ...
65574         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
65576         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
65577         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
65578         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
65580         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
65581         for x86-64.
65582         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
65584 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
65586         * math/math.h (M_El): Use two more decimal places.
65587         (M_LOG2El): Likewise.
65588         (M_LOG10El): Likewise.
65589         (M_LN2l): Likewise.
65590         (M_LN10l): Likewise.
65591         (M_PIl): Likewise.
65592         (M_PI_2l): Likewise.
65593         (M_PI_4l): Likewise.
65594         (M_1_PIl): Likewise.
65595         (M_2_PIl): Likewise.
65596         (M_2_SQRTPIl): Likewise.
65597         (M_SQRT2l): Likewise.
65598         (M_SQRT1_2l): Likewise.
65600 2012-05-31  David S. Miller  <davem@davemloft.net>
65602         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
65603         values between float registers.
65604         * sysdeps/sparc/sparc64/memset.S: Likewise.
65605         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
65607 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
65609         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
65610         -D_FORTIFY_SOURCE=1.
65611         (CPPFLAGS-tst-longjmp_chk.c): Define.
65612         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
65613         (CPPFLAGS-tst-longjmp_chk2.c): Define.
65614         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
65615         CFLAGS-tst-wchar-h.c.
65617 2012-05-31  Marek Polacek  <polacek@redhat.com>
65619         [BZ #14132]
65620         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
65621         __endmntent_internal): Remove declaration.
65622         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
65623         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
65624         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
65626 2012-05-30  David S. Miller  <davem@davemloft.net>
65628         * sysdeps/sparc/sparc32/soft-fp/q_util.c
65629         (___Q_simulate_exceptions): Use real FP ops rather than writing
65630         into the %fsr.
65631         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
65632         Likewise.
65634 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65636         [BZ #14117]
65637         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
65638         * sysdeps/x86/bits/xtitypes.h: This.
65640         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
65641         * sysdeps/x86/bits/wordsize.h: This.
65643         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
65644         * sysdeps/x86/bits/huge_vall.h: This.
65646         * sysdeps/i386/bits/select.h: Removed.
65647         * sysdeps/x86_64/bits/select.h: Renamed to ...
65648         * sysdeps/x86/bits/select.h: This.
65650         * sysdeps/i386/bits/setjmp.h: Removed.
65651         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
65652         * sysdeps/x86/bits/setjmp.h: This.
65654         * sysdeps/i386/bits/mathdef.h: Removed.
65655         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
65656         * sysdeps/x86/bits/mathdef.h: This.
65658 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
65660         [BZ #14132]
65661         * include/sys/socket.h (__connect_internal)
65662         (__libc_sa_len_internal): Remove declaration.
65663         (__connect, __libc_sa_len): Declare hidden_proto.
65664         (SA_LEN): Remove use of INTUSE.
65665         * socket/connect.c: Add libc_hidden_def.
65666         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
65667         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
65668         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
65669         alias.
65670         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
65671         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
65672         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
65673         of adding _internal alias.
65675 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65677         [BZ #14117]
65678         * sysdeps/i386/bits/link.h: Removed.
65679         * sysdeps/i386/bits/linkmap.h: Likewise.
65680         * sysdeps/x86_64/bits/link.h: Renamed to ...
65681         * sysdeps/x86/bits/link.h: This.
65682         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
65683         * sysdeps/x86/bits/linkmap.h: This.
65685         * sysdeps/i386/bits/endian.h: Removed.
65686         * sysdeps/x86_64/bits/endian.h: Renamed to ...
65687         * sysdeps/x86/bits/endian.h: This.
65689         * sysdeps/i386/bits/byteswap.h: Removed.
65690         * sysdeps/i386/bits/byteswap-16.h: Likewise.
65691         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
65692         * sysdeps/x86/bits/byteswap.h: This.
65693         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
65694         * sysdeps/x86/bits/byteswap-16.h: This.
65695         * sysdeps/i386/Implies: Add x86.
65696         * sysdeps/x86_64/Implies: Likewise.
65698 2012-05-30  David S. Miller  <davem@davemloft.net>
65700         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
65701         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
65702         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
65703         (FP_TRAPPING_EXCEPTIONS): Define.
65704         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
65705         (FP_TRAPPING_EXCEPTIONS): Define.
65706         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
65707         subnormals only when inexact has been signalled or underflow
65708         exceptions are enabled.
65709         (_FP_PACK_CANONICAL): Likewise.
65711 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65713         [BZ #14183]
65714         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
65715         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
65717 2012-05-30  Richard Henderson  <rth@twiddle.net>
65719         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
65720         with #ifndef NOT_IN_libc.
65722         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
65723         marked to avoid plt entry.
65725 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
65727         [BZ #14112]
65728         * Makeconfig (default-abi): New macro.
65729         (abi-includes): Likewise.
65730         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
65731         $(abi-$(default-abi)-lib-soname) for soname if defined.
65732         ($(common-objpfx)gnu/lib-names.stmp): Generate from
65733         abi-variants.
65734         * Makefile (installed-stubs): Likewise.
65735         * include/stubs-biarch.h: Removed.
65736         * scripts/lib-names.awk: Only handle one library at a time.
65737         * scripts/soversions.awk: Remove WORDSIZE support.
65738         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
65739         entries.
65740         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
65741         Removed.
65742         (syscall-list-default-condition): Likewise.
65743         (syscall-list-default-condition): Likewise.
65744         (syscall-list-includes): Likewise.
65745         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
65746         syscall-list-* with abi-*.  Handle undefined abi-variants.
65747         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
65748         * sysdeps/unix/sysv/linux/i386/Implies: New file.
65749         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
65750         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
65751         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
65752         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
65753         Removed.
65754         (syscall-list-32-options): Likewise.
65755         (syscall-list-32-condition): Likewise.
65756         (syscall-list-64-options): Likewise.
65757         (syscall-list-64-condition): Likewise.
65758         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
65759         macro.
65760         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
65761         Renamed to ...
65762         (abi-*): This.
65763         (abi-64-ld-soname): New macro.
65764         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
65765         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
65766         Renamed to ...
65767         (abi-*): This.
65768         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
65769         * sysdeps/x86_64/x32/shlib-versions: Likewise.
65771 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
65773         * sysdeps/unix/sysv/linux/kernel-features.h
65774         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
65775         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
65776         include <kernel-features.h>.
65777         [!__NR_ftruncate64]: Remove conditional code.
65778         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65779         [__NR_ftruncate64]: Make code unconditional.
65780         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65781         * sysdeps/unix/sysv/linux/truncate64.c: Do not
65782         include <kernel-features.h>.
65783         [!__NR_ftruncate64]: Remove conditional code.
65784         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65785         [__NR_ftruncate64]: Make code unconditional.
65786         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
65788         include <kernel-features.h>.
65789         [!__NR_ftruncate64]: Remove conditional code.
65790         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65791         [__NR_ftruncate64]: Make code unconditional.
65792         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
65794         include <kernel-features.h>.
65795         [!__NR_ftruncate64]: Remove conditional code.
65796         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65797         [__NR_ftruncate64]: Make code unconditional.
65798         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
65800         * configure.in (libc_cv_fpie): Weaken to a compile test using
65801         LIBC_TRY_CC_OPTION.
65802         * configure: Regenerated.
65804 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
65806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
65807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
65808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
65809         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
65810         Refreshed.
65811         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
65812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
65813         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
65814         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
65815         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
65816         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
65817         Refreshed.
65819 2012-05-27  David S. Miller  <davem@davemloft.net>
65821         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
65822         (___Q_zero): New.
65823         (__Q_simulate_exceptions): Return void.  Change to simulate
65824         exceptions by writing into the %fsr.
65825         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
65826         (__Qp_handle_exceptions): Likewise.
65827         (numbers): Delete.
65828         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
65829         __Qp_handle_exceptions.
65830         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
65831         __Qp_handle_exceptions.
65832         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65833         as unused and give dummy FP_RND_NEAREST initializer.
65834         (FP_INHIBIT_RESULTS): Define.
65835         (___Q_simulate_exceptions): Update declaration.
65836         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
65837         formatting.
65838         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
65839         as unused and give dummy FP_RND_NEAREST initializer.
65840         (__Qp_handle_exceptions): Update declaration.
65841         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
65842         formatting.
65844 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
65846         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
65847         the temporary FPU control word.
65848         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
65849         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
65850         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
65851         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
65852         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
65853         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
65854         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
65855         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
65856         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
65857         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
65858         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
65860 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
65862         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
65863         fields.
65865 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
65867         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
65868         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
65869         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
65870         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
65871         Likewise.
65872         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
65873         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
65874         Likewise.
65876 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
65878         * po/h.po: Update from translation team.
65880 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
65882         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
65884         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
65885         handling of denormals.
65886         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65887         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
65888         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
65889         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
65890         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
65891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
65892         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
65893         Likewise.
65895 2012-05-26  Marek Polacek  <polacek@redhat.com>
65897         [BZ #14152]
65898         * math/libm-test.inc (fma_test): Don't always expect underflow
65899         exception.
65901 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
65903         [BZ #12416]
65904         * elf/tst-execstack.c: Include stackinfo.h.
65905         (do_test): Adjust test case to ensure that pthread_getattr_np
65906         behaviour remains the same after marking stack executable.
65908 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65910         * sysdeps/unix/sysv/linux/kernel-features.h
65911         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
65912         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
65913         kernel-features.h.
65914         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65915         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65916         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
65917         kernel-features.h.
65918         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
65919         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
65921 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
65923         * configure.in: Define the default includes to being none.
65924         * configure: Regenerated.
65926 2012-05-25  Roland McGrath  <roland@hack.frob.com>
65928         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
65929         * sysdeps/x86_64/setjmp.S: Likewise.
65930         * sysdeps/i386/bsd-setjmp.S: Likewise.
65931         * sysdeps/i386/bsd-_setjmp.S: Likewise.
65932         * sysdeps/i386/setjmp.S: Likewise.
65933         * sysdeps/i386/__longjmp.S: Likewise.
65934         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
65935         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
65937         * include/stap-probe.h: New file.
65938         * configure.in: Handle --enable-systemtap.
65939         * configure: Regenerated.
65940         * config.h.in (USE_STAP_PROBE): New #undef.
65941         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
65942         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
65943         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
65945 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
65947         [BZ #13717]
65948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65949         to 2.4.0 where earlier.
65950         * sysdeps/unix/sysv/linux/configure: Regenerated.
65951         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
65952         <kernel-features.h>.
65953         [__ASSUME_32BITUIDS]: Make code unconditional.
65954         [!__ASSUME_32BITUIDS]: Remove conditional code.
65955         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
65956         <kernel-features.h>.
65957         [__ASSUME_32BITUIDS]: Make code unconditional.
65958         [!__ASSUME_32BITUIDS]: Remove conditional code.
65959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
65960         [__ASSUME_32BITUIDS]: Make code unconditional.
65961         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
65962         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
65963         <kernel-features.h>.
65964         [__ASSUME_32BITUIDS]: Make code unconditional.
65965         [!__ASSUME_32BITUIDS]: Remove conditional code.
65966         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
65967         <kernel-features.h>.
65968         [__ASSUME_32BITUIDS]: Make code unconditional.
65969         [!__ASSUME_32BITUIDS]: Remove conditional code.
65970         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
65971         <kernel-features.h>.
65972         [__ASSUME_32BITUIDS]: Make code unconditional.
65973         [!__ASSUME_32BITUIDS]: Remove conditional code.
65974         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
65975         <kernel-features.h>.
65976         [__ASSUME_32BITUIDS]: Make code unconditional.
65977         [!__ASSUME_32BITUIDS]: Remove conditional code.
65978         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
65979         <kernel-features.h>.
65980         [__ASSUME_32BITUIDS]: Make code unconditional.
65981         [!__ASSUME_32BITUIDS]: Remove conditional code.
65982         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
65983         <kernel-features.h>.
65984         [__ASSUME_32BITUIDS]: Make code unconditional.
65985         [!__ASSUME_32BITUIDS]: Remove conditional code.
65986         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
65987         <kernel-features.h>.
65988         [__ASSUME_32BITUIDS]: Make code unconditional.
65989         [!__ASSUME_32BITUIDS]: Remove conditional code.
65990         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
65991         <kernel-features.h>.
65992         [__ASSUME_32BITUIDS]: Make code unconditional.
65993         [!__ASSUME_32BITUIDS]: Remove conditional code.
65994         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
65995         <kernel-features.h>.
65996         [__ASSUME_32BITUIDS]: Make code unconditional.
65997         [!__ASSUME_32BITUIDS]: Remove conditional code.
65998         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
65999         <kernel-features.h>.
66000         [__ASSUME_32BITUIDS]: Make code unconditional.
66001         [!__ASSUME_32BITUIDS]: Remove conditional code.
66002         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
66003         <kernel-features.h>.
66004         [__NR_setresgid] (__setresgid): Do not declare.
66005         [__ASSUME_32BITUIDS]: Make code unconditional.
66006         [!__ASSUME_32BITUIDS]: Remove conditional code.
66007         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
66008         <kernel-features.h>.
66009         [__NR_setresuid] (__setresuid): Do not declare.
66010         [__ASSUME_32BITUIDS]: Make code unconditional.
66011         [!__ASSUME_32BITUIDS]: Remove conditional code.
66012         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
66013         <kernel-features.h>.
66014         [__ASSUME_32BITUIDS]: Make code unconditional.
66015         [!__ASSUME_32BITUIDS]: Remove conditional code.
66016         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
66017         <kernel-features.h>.
66018         [__ASSUME_32BITUIDS]: Make code unconditional.
66019         [!__ASSUME_32BITUIDS]: Remove conditional code.
66020         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
66021         <kernel-features.h>.
66022         [__ASSUME_32BITUIDS]: Make code unconditional.
66023         [!__ASSUME_32BITUIDS]: Remove conditional code.
66024         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
66025         <kernel-features.h>.
66026         [__ASSUME_32BITUIDS]: Make code unconditional.
66027         [!__ASSUME_32BITUIDS]: Remove conditional code.
66028         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
66029         <kernel-features.h>.
66030         [__ASSUME_32BITUIDS]: Make code unconditional.
66031         [!__ASSUME_32BITUIDS]: Remove conditional code.
66032         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
66033         <kernel-features.h>.
66034         [__ASSUME_32BITUIDS]: Make code unconditional.
66035         [!__ASSUME_32BITUIDS]: Remove conditional code.
66036         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
66037         <kernel-features.h>.
66038         [__ASSUME_32BITUIDS]: Make code unconditional.
66039         [!__ASSUME_32BITUIDS]: Remove conditional code.
66040         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
66041         <kernel-features.h>.
66042         [__ASSUME_32BITUIDS]: Make code unconditional.
66043         [!__ASSUME_32BITUIDS]: Remove conditional code.
66044         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
66045         <kernel-features.h>.
66046         [__ASSUME_32BITUIDS]: Make code unconditional.
66047         [!__ASSUME_32BITUIDS]: Remove conditional code.
66048         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
66049         <kernel-features.h>.
66050         [__ASSUME_32BITUIDS]: Make code unconditional.
66051         [!__ASSUME_32BITUIDS]: Remove conditional code.
66052         * sysdeps/unix/sysv/linux/kernel-features.h
66053         (__ASSUME_SETRESUID_SYSCALL): Remove.
66054         (__ASSUME_SETRESGID_SYSCALL): Likewise.
66055         (__ASSUME_32BITUIDS): Likewise.
66056         (__ASSUME_LDT_WORKS): Likewise.
66057         (__ASSUME_O_DIRECTORY): Likewise.
66058         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
66059         architecture but not kernel version.
66060         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
66061         (__ASSUME_MMAP2_SYSCALL): Likewise.
66062         (__ASSUME_STAT64_SYSCALL): Likewise.
66063         (__ASSUME_IPC64): Likewise.
66064         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
66065         <kernel-features.h>.
66066         [__ASSUME_32BITUIDS]: Make code unconditional.
66067         [!__ASSUME_32BITUIDS]: Remove conditional code.
66068         * sysdeps/unix/sysv/linux/opendir.c: Do not include
66069         <kernel-features.h>.
66070         [__ASSUME_O_DIRECTORY]: Make code unconditional.
66071         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
66072         132096]: Remove conditional code.
66073         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
66074         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
66075         <kernel-features.h>.
66076         [__ASSUME_32BITUIDS]: Make code unconditional.
66077         [!__ASSUME_32BITUIDS]: Remove conditional code.
66078         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
66079         <kernel-features.h>.
66080         [__ASSUME_32BITUIDS]: Make code unconditional.
66081         [!__ASSUME_32BITUIDS]: Remove conditional code.
66082         * sysdeps/unix/sysv/linux/setegid.c: Do not include
66083         <kernel-features.h>.
66084         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
66085         unconditional.
66086         (__setresgid): Do not declare.
66087         [__ASSUME_32BITUIDS]: Make code unconditional.
66088         [!__ASSUME_32BITUIDS]: Remove conditional code.
66089         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
66090         <kernel-features.h>.
66091         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
66092         unconditional.
66093         (__setresuid): Do not declare.
66094         [__ASSUME_32BITUIDS]: Make code unconditional.
66095         [!__ASSUME_32BITUIDS]: Remove conditional code.
66096         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
66097         <kernel-features.h>.
66098         [__ASSUME_32BITUIDS]: Make code unconditional.
66099         [!__ASSUME_32BITUIDS]: Remove conditional code.
66100         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
66101         <kernel-features.h>.
66102         [__ASSUME_32BITUIDS]: Make code unconditional.
66103         [!__ASSUME_32BITUIDS]: Remove conditional code.
66105 2012-05-25  Richard Henderson  <rth@twiddle.net>
66107         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
66108         dl_hwcap to ifunc resolver.
66109         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
66110         elf_ifunc_invoke.
66111         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
66112         dl_hwcap to ifunc resolver.
66113         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
66115 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66117         [BZ #14153]
66118         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
66119         for |x| <= 2**-26, not 2**-57.
66120         * math/libm-test.inc (acos_test): Do not allow spurious underflow
66121         exception.
66123 2012-05-24  Jeff Law  <law@redhat.com>
66125         * stdio-common/Makefile (tests): Add bug25.
66126         * stdio-common/bug25.c: New test.
66128 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66130         [BZ #13576]
66131         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
66132         multiple of MALLOC_ALIGNMENT in size.
66133         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
66135 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66137         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
66138         Require >= 256.
66139         (FILENAME_MAX): Use macro-int-constant.
66140         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
66141         (_IOFBF): Use macro-int-constant.
66142         (_IOLBF): Likewise.
66143         (_IONBF): Likewise.
66144         (SEEK_CUR): Likewise.
66145         (SEEK_END): Likewise.
66146         (SEEK_SET): Likewise.
66147         (TMP_MAX): Likewise.
66148         (EOF): Use macro-int-constant.  Require < 0.
66149         (NULL): Use macro-constant.  Require == 0.
66150         (stdin): Require type to be FILE *.
66151         (stdout): Likewise.
66152         (stderr): Likewise.
66153         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
66154         macro-int-constant.
66155         (EXIT_SUCCESS): Likewise.
66156         (NULL): Use macro-constant.  Require == 0.
66157         (RAND_MAX): Use macro-int-constant.
66158         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
66159         [C99-based standards] (strtof): Require function.
66160         [C99-based standards] (strtold): Likewise.
66161         [C99-based standards] (strtoll): Likewise.
66162         [C99-based standards] (strtoull): Likewise.
66163         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
66164         [ISO || ISO99 || ISO11] (limits.h): Likewise.
66165         [ISO || ISO99 || ISO11] (math.h): Likewise.
66166         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
66167         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
66168         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66170 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
66172         [BZ #14132]
66173         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
66174         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
66175         * intl/dgettext.c (DCGETTEXT): Likewise.
66176         * intl/gettext.c (DCGETTEXT): Likewise.
66177         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
66178         * posix/regex_internal.h (gettext): Likewise.
66179         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
66180         Remove declaration.
66181         * include/argz.h (__argz_count_internal)
66182         (__argz_stringify_internal): Remove declaration.
66183         (__argz_count, __argz_stringify): Declare hidden proto.
66184         * intl/dcgettext.c: Remove use of INTDEF.
66185         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
66186         * string/argz-stringify.c: Likewise.
66187         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66188         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66189         Declare hidden proto.
66190         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
66191         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
66192         Declare hidden proto.
66193         * include/stdio.h (__asprintf_internal): Don't declare.
66194         (__asprintf): Don't define as macro.  Declare hidden proto.
66195         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
66196         (__fsetlocking): Declare hidden proto.
66197         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
66198         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
66199         hidden proto.
66200         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
66201         (_IO_setlinebuf): Remove use of INTUSE.
66202         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
66203         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
66204         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
66205         Remove declaration.
66206         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
66207         (_IO_do_flush): Remove use of INTUSE.
66208         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
66209         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
66210         (_IO_adjust_column, _IO_least_wmarker)
66211         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
66212         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
66213         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
66214         (_IO_default_doallocate, _IO_wdefault_doallocate)
66215         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
66216         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
66217         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
66218         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
66219         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
66220         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
66221         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
66222         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
66223         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
66224         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
66225         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
66226         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
66227         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
66228         proto.
66229         (_IO_flush_all_internal, _IO_adjust_column_internal)
66230         (_IO_default_uflow_internal, _IO_default_finish_internal)
66231         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
66232         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
66233         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
66234         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
66235         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
66236         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
66237         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
66238         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
66239         (_IO_file_close_internal, _IO_file_close_it_internal)
66240         (_IO_file_underflow_internal, _IO_file_overflow_internal)
66241         (_IO_file_init_internal, _IO_file_attach_internal)
66242         (_IO_file_fopen_internal, _IO_file_read_internal)
66243         (_IO_file_sync_internal, _IO_file_seek_internal)
66244         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
66245         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
66246         (_IO_str_underflow_internal, _IO_str_overflow_internal)
66247         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
66248         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
66249         (_IO_list_all_internal, _IO_link_in_internal)
66250         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
66251         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
66252         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
66253         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
66254         (_IO_do_write_internal, _IO_padn_internal)
66255         (_IO_getline_info_internal, _IO_getline_internal)
66256         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
66257         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
66258         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
66259         (_IO_vfscanf_internal, _IO_vfprintf_internal)
66260         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
66261         (_IO_init_internal, _IO_un_link_internal): Don't declare.
66262         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
66263         with libc_hidden_ver, remove use of INTUSE.
66264         * libio/genops.c: Likewise.
66265         * libio/freopen.c: Likewise.
66266         * libio/freopen64.c: Likewise.
66267         * libio/iofclose.c: Likewise.
66268         * libio/iofdopen.c: Likewise.
66269         * libio/iofflush.c: Likewise.
66270         * libio/iofflush_u.c: Likewise.
66271         * libio/iofgets.c: Likewise.
66272         * libio/iofgets_u.c: Likewise.
66273         * libio/iofopen.c: Likewise.
66274         * libio/iofopncook.c: Likewise.
66275         * libio/iofread.c: Likewise.
66276         * libio/iofread_u.c: Likewise.
66277         * libio/ioftell.c: Likewise.
66278         * libio/iofwrite.c: Likewise.
66279         * libio/iogetline.c: Likewise.
66280         * libio/iogets.c: Likewise.
66281         * libio/iogetwline.c: Likewise.
66282         * libio/iopadn.c: Likewise.
66283         * libio/iopopen.c: Likewise.
66284         * libio/ioseekoff.c: Likewise.
66285         * libio/ioseekpos.c: Likewise.
66286         * libio/iosetbuffer.c: Likewise.
66287         * libio/iosetvbuf.c: Likewise.
66288         * libio/ioungetc.c: Likewise.
66289         * libio/ioungetwc.c: Likewise.
66290         * libio/iovdprintf.c: Likewise.
66291         * libio/iovsprintf.c: Likewise.
66292         * libio/iovsscanf.c: Likewise.
66293         * libio/memstream.c: Likewise.
66294         * libio/obprintf.c: Likewise.
66295         * libio/oldfileops.c: Likewise.
66296         * libio/oldiofclose.c: Likewise.
66297         * libio/oldiofdopen.c: Likewise.
66298         * libio/oldiofopen.c: Likewise.
66299         * libio/oldiopopen.c: Likewise.
66300         * libio/oldstdfiles.c: Likewise.
66301         * libio/putc.c: Likewise.
66302         * libio/setbuf.c: Likewise.
66303         * libio/setlinebuf.c: Likewise.
66304         * libio/stdfiles.c: Likewise.
66305         * libio/strops.c: Likewise.
66306         * libio/vasprintf.c: Likewise.
66307         * libio/vscanf.c: Likewise.
66308         * libio/vsnprintf.c: Likewise.
66309         * libio/vswprintf.c: Likewise.
66310         * libio/wfiledoalloc.c: Likewise.
66311         * libio/wfileops.c: Likewise.
66312         * libio/wgenops.c: Likewise.
66313         * libio/wmemstream.c: Likewise.
66314         * libio/wstrops.c: Likewise.
66315         * libio/__fpurge.c: Likewise.
66316         * libio/__fsetlocking.c: Likewise.
66317         * assert/assert.c: Likewise.
66318         * debug/fgets_chk.c: Likewise.
66319         * debug/fgets_u_chk.c: Likewise.
66320         * debug/fread_chk.c: Likewise.
66321         * debug/fread_u_chk.c: Likewise.
66322         * debug/gets_chk.c: Likewise.
66323         * debug/obprintf_chk.c: Likewise.
66324         * debug/vasprintf_chk.c: Likewise.
66325         * debug/vdprintf_chk.c: Likewise.
66326         * debug/vsnprintf_chk.c: Likewise.
66327         * debug/vsprintf_chk.c: Likewise.
66328         * malloc/mtrace.c: Likewise.
66329         * misc/error.c: Likewise.
66330         * misc/syslog.c: Likewise.
66331         * stdio-common/asprintf.c: Likewise.
66332         * stdio-common/fxprintf.c: Likewise.
66333         * stdio-common/getw.c: Likewise.
66334         * stdio-common/isoc99_fscanf.c: Likewise.
66335         * stdio-common/isoc99_scanf.c: Likewise.
66336         * stdio-common/isoc99_vfscanf.c: Likewise.
66337         * stdio-common/isoc99_vscanf.c: Likewise.
66338         * stdio-common/isoc99_vsscanf.c: Likewise.
66339         * stdio-common/printf-prs.c: Likewise.
66340         * stdio-common/printf_fp.c: Likewise.
66341         * stdio-common/printf_fphex.c: Likewise.
66342         * stdio-common/printf_size.c: Likewise.
66343         * stdio-common/putw.c: Likewise.
66344         * stdio-common/scanf.c: Likewise.
66345         * stdio-common/sprintf.c: Likewise.
66346         * stdio-common/tmpfile.c: Likewise.
66347         * stdio-common/vfprintf.c: Likewise.
66348         * stdio-common/vfscanf.c: Likewise.
66349         * stdlib/strfmon_l.c: Likewise.
66350         * sunrpc/openchild.c: Likewise.
66351         * sunrpc/xdr_stdio.c: Likewise.
66352         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
66353         * sysdeps/mach/hurd/tmpfile.c: Likewise.
66355 2012-05-24  Roland McGrath  <roland@hack.frob.com>
66357         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66359         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
66360         in the third column, to generate for the shared library an IFUNC
66361         that uses _dl_vdso_vsym.
66362         * Makerules (COMPILE.c, compile-stdin.c): New variables.
66363         * Makeconfig (object-suffixes-noshared): New variable.
66365         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
66366         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
66367         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
66368         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
66370         [BZ #14132]
66371         * include/sys/time.h (__gettimeofday): Remove macro.
66372         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
66373         * time/gettimeofday.c (__gettimeofday): Remove #undef.
66374         Remove INTDEF.
66375         (__gettimeofday): Add libc_hidden_def.
66376         (gettimeofday): Add libc_hidden_weak.
66377         * sysdeps/mach/gettimeofday.c: Likewise.
66378         * sysdeps/posix/gettimeofday.c: Likewise.
66379         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
66380         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
66381         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
66382         (__gettimeofday_internal): Remove strong_alias.
66383         (__gettimeofday): Add libc_hidden_def.
66384         (gettimeofday): Add libc_hidden_weak.
66385         * sysdeps/unix/syscalls.list (gettimeofday):
66386         Remove __gettimeofday_internal alias.
66388 2012-05-24  Daniel Jacobowitz  <drow@false.org>
66389             H.J. Lu  <hongjiu.lu@intel.com>
66391         [BZ #12495]
66392         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
66393         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
66394         (largebin_index_32_big): New.
66395         (largebin_index): Use it for 16-byte alignment.
66396         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
66397         correction with front_misalign.
66399 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
66401         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
66402         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
66403         Likewise.
66404         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
66405         Likewise.
66406         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
66407         Likewise.
66408         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
66409         Likewise.
66410         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
66411         Likewise.
66412         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
66413         Likewise.
66414         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
66415         Likewise.
66416         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
66417         Likewise.
66418         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
66419         Likewise.
66420         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
66421         Likewise.
66422         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
66423         Likewise.
66424         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
66425         Likewise.
66427         * scripts/data/c++-types-x32-linux-gnu.data: New file.
66428         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
66430 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
66432         [BZ #10846]
66433         [BZ #14036]
66434         * math/libm-test.inc (exp_test): Add test from bug 14036.
66435         (pow_test): Add test from bug 10846.
66437         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
66438         and other flags.
66439         (special_function): Do not include flags in test name.
66440         (parse_args): Likewise.
66441         * sysdeps/i386/fpu/libm-test-ulps: Update.
66442         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
66443         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
66444         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
66445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66447         * math/gen-libm-test.pl (%beautify): Add entries for underflow
66448         exceptions.
66449         * math/libm-test.inc ("Philosophy"): Update comment about
66450         exception testing.
66451         (UNDERFLOW_EXCEPTION): New macro.
66452         (UNDERFLOW_EXCEPTION_OK): Likewise.
66453         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
66454         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
66455         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
66456         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
66457         (INVALID_EXCEPTION_OK): Update value.
66458         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
66459         (OVERFLOW_EXCEPTION_OK): Likewise.
66460         (IGNORE_ZERO_INF_SIGN): Likewise.
66461         (test_exceptions): Handle underflow exceptions.
66462         (acos_test): Update for underflow exception expectations.
66463         (cexp_test): Likewise.
66464         (clog_test): Likewise.
66465         (clog10_test): Likewise.
66466         (csqrt_test): Likewise.
66467         (ctan_test): Likewise.
66468         (ctanh_test): Likewise.
66469         (exp_test): Likewise.
66470         (exp10_test): Likewise.
66471         (exp2_test): Likewise.
66472         (expm1_test): Likewise.
66473         (fma_test): Likewise.
66474         (j0_test): Likewise.
66475         (jn_test): Likewise.
66476         (nexttoward_test): Likewise.
66477         (pow_test): Likewise.
66478         (scalbn_test): Likewise.
66479         (scalbln_test): Likewise.
66480         (tan_test): Likewise.
66481         (y1_test): Likewise.
66482         * sysdeps/i386/fpu/libm-test-ulps: Update.
66483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66485 2012-05-23  David S. Miller  <davem@davemloft.net>
66487         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
66488         (__libc_sigaction): Remove unused local variables.
66490 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66492         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
66494 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
66496         mktime: avoid signed integer overflow
66497         * time/mktime.c (__mktime_internal): Do not mishandle the case
66498         where diff == INT_MIN.
66500         mktime: simplify computation of average
66501         * time/mktime.c (ranged_convert): Use new time_t_avg function
66502         instead of rolling our own (probably-slower) code.
66504         mktime: do not assume signed right shift propagates sign bit
66505         * time/mktime.c (isdst_differ): New static function.
66506         (__mktime_internal): No need to normalize tm_isdst now.
66507         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
66508         tm_isdst values.
66510         mktime: merge another wrapv change from gnulib
66511         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
66512         from some compilers.
66514         mktime: remove incorrect attempt at unusual arithmetics
66515         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
66516         The code didn't really work on such machines anyway.
66517         (TYPE_MINIMUM): Assume two's complement.
66518         (twos_complement_arithmetic): Verify that long_int and time_t
66519         are two's complement (or unsigned, in the latter case).
66521         mktime: check signed shifts on long_int and time_t, too
66522         * time/mktime.c (SHR): Check that shifts work as desired
66523         on the types long_int and time_t too, as SHR is used on
66524         such types.
66526         mktime: do not assume 'long' is wide enough
66527         * time/mktime.c (verify): Move decl up.
66528         (long_int): New type.
66529         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
66530         to remove assumption in the code that 'long' is wide enough to
66531         store year values.  This assumption is not true on x32 and on
66532         some non-glibc platforms.
66534         mktime: merge wrapv change from gnulib
66535         * time/mktime.c (WRAPV): New macro.
66536         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
66537         (guess_time_tm, __mktime_internal): Do not assume that signed
66538         integer overflow wraps around; modern compilers generate code
66539         where this assumption is no longer valid.
66541 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66543         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66544         Replace "jmp L(pseudo_end)" with "ret".
66545         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
66546         Likewise.
66548 2012-05-23  Andreas Jaeger  <aj@suse.de>
66550         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
66551         * sysdeps/unix/sysv/linux/poll.c: Remove file.
66553 2012-05-23  Andreas Jaeger  <aj@suse.de>
66554             Maximilian Attems  <max@stro.at>
66556         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
66557         New macros.
66559 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
66561         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
66562         code so that pseudo_end is just ret and the stack pointer is
66563         correct also for static library in error case.
66565 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
66567         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
66568         move to syscalls.list.
66569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
66570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
66571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
66572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
66574         * manual/install.texi (Running make install): Do not mention Linux
66575         kernel version for which pt_chown is not needed.
66576         (Linux): Do not mention problems with nscd with 2.0 kernels.
66577         * INSTALL: Regenerated.
66579 2012-05-23  Andreas Jaeger  <aj@suse.de>
66581         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
66582         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
66583         macro.
66584         * sysdeps/unix/sysv/linux/s390/bits/mman.h
66585         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66586         * sysdeps/unix/sysv/linux/sh/bits/mman.h
66587         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66588         * sysdeps/unix/sysv/linux/i386/bits/mman.h
66589         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66590         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
66591         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66592         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
66593         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
66594         * sysdeps/unix/sysv/linux/bits/in.h
66595         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
66597 2012-05-22  Roland McGrath  <roland@hack.frob.com>
66599         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
66600         (PREPARE_VERSION): Just use assert instead, it will be elided
66601         under [NDEBUG] anyway.
66603 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66605         * sysdeps/unix/sysv/linux/Makefile: Include
66606         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
66607         (sysdep_routines): Remove sysctl.
66608         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
66609         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
66610         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
66611         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
66612         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
66614 2012-05-22  Andreas Jaeger  <aj@suse.de>
66616         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
66617         that pseudo_end is just ret and the stack pointer is correct also
66618         for static library in error case.
66620 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
66622         [BZ #14122]
66623         * nss/nsswitch.c (defconfig_entries): New variable.
66624         (__nss_database_lookup): Don't leak defconfig entries.
66625         (nss_parse_service_list): Don't leak on error paths.
66626         (free_database_entries): New function.
66627         (free_defconfig): New function.
66628         (free_mem): Move common code to free_database_entries.
66630 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66632         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
66633         Add arch_prctl.
66634         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
66636         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
66637         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
66638         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
66639         New macro.
66640         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
66641         (INTERNAL_SYSCALL_TYPES): Likewise.
66642         (LOAD_ARGS_TYPES_[1-6]): Likewise.
66643         (LOAD_REGS_TYPES_[1-6]): Likewise.
66644         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
66645         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
66647 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66649         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
66650         copysignl for GLIBC_2_0.
66651         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
66652         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
66653         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
66654         logbl for GLIBC_2_0.
66655         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
66656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
66658 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66660         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
66661         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
66663         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
66664         Use "neg %eax".
66666         * time/mktime.c: Update copyright years.
66668 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
66670         mktime: merge comment-quoting-style change from gnulib
66671         * time/mktime.c: Quote 'like this' in comments.
66672         The GNU coding standards suggest that we no longer quote `like this',
66673         as "`" and "'" are typically rendered asymmetrically nowadays.
66674         The typical gnulib style is to quote 'like this' when quoting
66675         code, and "like this" when quoting English.
66677         * time/mktime.c (compile-command): Add "-I.".
66679         mktime: merge mktime-internal.h change from gnulib
66680         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
66682         mktime: merge time_r change from gnulib
66683         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
66685         mktime: merge DEBUG change from gnulib
66686         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
66687         case system <time.h> has a #define.
66689         mktime: merge <sys/types.h> change from gnulib
66690         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
66691         since <time.t> is now guaranteed to define time_t.
66693         mktime: merge HAVE_CONFIG_H change from gnulib
66694         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
66696 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
66698         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66699         Use "neg %eax".
66701         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
66702         __rlim_t cast.
66703         (struct rusage): Use anonymous union to pad each field to
66704         __syscall_slong_t.
66706 2012-05-21  David S. Miller  <davem@davemloft.net>
66708         * Makefules (o-iterator): Remove .s cases.
66709         (compile-command.s): Delete.
66710         (COMPILE.s): Delete.
66711         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
66713 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
66715         * configure.in (libc_cv_predef_stack_protector): Only consider
66716         "foobar" and "__stack_chk_fail" lines in libc_undefs.
66717         * configure: Regenerated.
66719 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66721         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
66722         New macro.  Use R*LP on int and pointer.
66723         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
66724         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
66725         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
66726         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
66728         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
66729         [__WORDSIZE_TIME64_COMPAT32] instead of
66730         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
66731         (struct utmp): Likewise.
66732         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
66733         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
66734         Renamed to ...
66735         (__WORDSIZE_TIME64_COMPAT32): This.
66736         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
66737         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
66738         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
66739         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
66740         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
66741         (__WORDSIZE_TIME64_COMPAT32): New macro.
66743 2012-05-21  Andreas Jaeger  <aj@suse.de>
66745         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
66746         only if [SHARED]. Add prototype for __wcschr_ia32.
66748 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66750         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
66751         of %rbp unmolested in the jmp_buf while mangling the low bits.
66752         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
66753         unmolested high bits of %rbp while demangling the low bits.
66754         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
66756 2012-05-21  Andreas Jaeger  <aj@suse.de>
66758         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
66759         * sunrpc/svc_simple.c: Use it for registerrpc.
66760         * sunrpc/xcrypt.c: Use it for passwd2des.
66762         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
66764 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66766         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
66767         Don't define if [__SYSCALL_WORDSIZE != 32].
66768         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
66769         New macro.
66771 2012-05-21  Bruno Haible  <bruno@clisp.org>
66772             Andreas Jaeger  <aj@suse.de>
66774         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
66775         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
66776         inptr and inend for must_buffer_ch.
66777         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
66778         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
66779         * stdio-common/Makefile (tests): Remove bug15.
66780         (bug15-ENV): Remove macro.
66781         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
66782         anymore.
66784 2012-05-19  Andreas Jaeger  <aj@suse.de>
66785             Roland McGrath  <roland@hack.frob.com>
66787         * manual/contrib.texi: Completely rewritten. It contains now an
66788         alphabetical list of contributors and their contributions.
66790 2012-05-21  Richard Henderson  <rth@twiddle.net>
66792         * misc/getauxval.c (__getauxval): Use unsigned long int.
66793         * misc/sys/auxv.h: Include <sys/cdefs.h>.
66794         (getauxval): Use unsigned long int.
66796 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
66798         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
66800 2012-05-21  Roland McGrath  <roland@hack.frob.com>
66802         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
66803         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
66804         __alignof__ (long double).
66806 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66810 2012-05-20  Richard Henderson  <rth@twiddle.net>
66812         * misc/getauxval.c: New file.
66813         * misc/sys/auxv.h: New file.
66814         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
66815         (routines): Add getauxval.
66816         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
66817         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
66818         * elf/dl-sysdep.c (_dl_auxv): Remove.
66819         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
66820         * elf/dl-support.c (_dl_auxv): New variable.
66821         (_dl_aux_init): Initialize it.
66822         * manual/startup.texi (Auxiliary Vector): New node.
66823         * sysdeps/generic/bits/hwcap.h: New file.
66824         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
66825         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
66826         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
66827         * sysdeps/sparc/sysdep.h: ... here.  Include it.
66828         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
66829         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
66830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
66831         Update.
66832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
66833         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
66834         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
66835         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
66836         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66837         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
66838         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
66839         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
66841 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66843         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66845 2012-05-19  David S. Miller  <davem@davemloft.net>
66847         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66849 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66851         [BZ #14123]
66852         * math/s_ccosh.c: Include <float.h>
66853         (__ccosh): Avoid internal overflow calculating sinh and cosh
66854         values before multiplying by sin and cos values.
66855         * math/s_ccoshf.c: Likewise.
66856         * math/s_ccoshl.c: Likewise.
66857         * math/s_csin.c: Likewise.
66858         * math/s_csinf.c: Likewise.
66859         * math/s_csinl.c: Likewise.
66860         * math/s_csinh.c: Likewise.
66861         * math/s_csinhf.c: Likewise.
66862         * math/s_csinhl.c: Likewise.
66863         * math/libm-test.inc (ccos_test): Add more tests.
66864         (ccosh_test): Likewise.
66865         (csin_test): Likewise.
66866         (csinh_test): Likewise.
66867         * sysdeps/i386/fpu/libm-test-ulps: Update.
66868         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66870 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
66872         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
66873         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
66875         * sysdeps/x86_64/x32/_itoa.h: Add comment.
66877 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
66879         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
66880         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
66881         * sysdeps/powerpc/soft-fp/Versions: Likewise.
66882         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
66883         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
66884         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
66885         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
66886         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
66887         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
66888         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
66889         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
66890         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
66891         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
66892         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
66893         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
66894         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
66895         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
66896         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
66897         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
66898         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
66899         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
66900         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
66901         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
66902         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
66903         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
66904         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
66905         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
66906         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
66907         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
66908         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
66909         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
66911 2012-05-18  Andreas Jaeger  <aj@suse.de>
66913         * csu/.gitignore: Delete.
66915 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66917         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
66918         (timex): Use __syscall_slong_t.
66920 2012-05-18  Andreas Jaeger  <aj@suse.de>
66921             Carlos O'Donell  <carlos_odonell@mentor.com>
66923         * manual/install.texi (Configuring and compiling): Update
66924         description about files modified in the source directory.
66925         * INSTALL: Regenerated.
66927 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66929         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
66930         value.  Use "or" to set return value to -1.
66931         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
66932         negate return value.
66934 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66936         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
66937         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
66938         failure if the compiler has Graphite support disabled.
66939         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
66940         Likewise.
66941         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
66942         (CFLAGS-memmove.c): Likewise.
66943         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
66944         Likewise.
66946 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
66948         * sysdeps/x86_64/x32/_itoa.h: New file.
66950         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
66951         getdents system call only if kernel and user dirents have the
66952         same d_ino and d_off.
66954         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
66955         LLONG_MAX != LONG_MAX.
66956         (_itoa_word): Use _ITOA_WORD_TYPE on value.
66957         (_fitoa_word): Likewise.
66959         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
66960         years.
66961         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
66962         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
66963         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
66965         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
66966         include <bits/wordsize.h>.  Check __x86_64__ instead of
66967         __WORDSIZE.
66968         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
66969         if __x86_64__ is defined.  Use anonymous union on fpstate.
66971         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
66972         anonymous union.
66974 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
66976         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
66977         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
66978         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
66979         Refer to _rtld_local_ro instead of _rtld_global_ro.
66980         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
66981         Likewise.
66982         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
66983         Likewise.
66984         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
66985         Likewise.
66986         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
66987         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
66988         of _rtld_global, and rtld_progname instead of _dl_argv[0].
66990         [BZ #10882]
66991         * sysdeps/powerpc/powerpc32/dl-machine.c
66992         (__elf_machine_runtime_setup) [PROF]: Don't reference
66993         _dl_prof_resolve.
66995 2012-05-18  Andreas Jaeger  <aj@suse.de>
66997         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
66998         function only available for GCCs before 3.4 since GCC 3.4
66999         introduced a builtin.
67000         (lrint): Likewise.
67001         (llrintf): Likewise.
67002         (llrint): Likewise.
67003         (fmaxf): Likewise.
67004         (fmax): Likewise.
67005         (fminf): Likewise.
67006         (fmin): Likewise.
67007         (rint): Likewise.
67008         (rintf): Likewise.
67009         (nearbyint): Likewise.
67010         (nearbyintf): Likewise.
67011         (ceil): Likewise.
67012         (ceilf): Likewise.
67013         (floor): Likewise.
67014         (floorf): Likewise.
67016 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67018         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
67019         on both fields and cast pointer to __syscall_ulong_t.
67021         * bits/types.h (__fsword_t): New type.
67022         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
67023         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
67024         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67025         (__FSWORD_T_TYPE): Likewise.
67026         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67027         (__FSWORD_T_TYPE): Likewise.
67028         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67029         (__FSWORD_T_TYPE): Likewise.
67030         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
67031         (__FSWORD_T_TYPE): Likewise.
67032         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
67033         __SWORD_TYPE with __fsword_t.
67034         (statfs64): Likewise.
67036 2012-05-17  David S. Miller  <davem@davemloft.net>
67038         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
67040 2012-05-17  Andreas Jaeger  <aj@suse.de>
67042         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
67043         warning.
67045 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67047         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
67049 2012-05-17  Andreas Jaeger  <aj@suse.de>
67051         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
67052         when it is used.
67054 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67056         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
67058 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
67060         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
67061         * sysdeps/x86_64/tst-mallocalign1.c: New file.
67063 2012-05-17  Andreas Jaeger  <aj@suse.de>
67064             Carlos O'Donell  <carlos_odonell@mentor.com>
67066         [BZ #14059]
67067         * sysdeps/x86_64/multiarch/init-arch.h
67068         (bit_YMM_Usable): Rename to...
67069         (bit_AVX_Usable): ... this.
67070         (bit_FMA4_Usable): New macro.
67071         (bit_XMM_state): New macro.
67072         (bit_YMM_state): New macro.
67073         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
67074         [__ASSEMBLER__] (index_AVX_Usable): ... this.
67075         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
67076         (CPUID_OSXSAVE): New macro.
67077         (CPUID_AVX): New macro.
67078         (CPUID_FMA4): New macro.
67079         (index_YMM_Usable): Rename to...
67080         (index_AVX_Usable): ... this.
67081         (HAS_AVX): Use HAS_ARCH_FEATURE.
67082         (HAS_FMA4): Likewise.
67083         (HAS_YMM_USABLE): Remove.
67084         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
67085         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
67086         are present.
67087         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
67088         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
67089         * sysdeps/x86_64/multiarch/Makefile: Likewise.
67090         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
67091         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
67093 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
67095         * math/libm-test.c: Support platforms without multiple rounding modes.
67096         * math/bug-nextafter.c: Support platforms without FP exceptions.
67097         * math/bug-nexttoward.c: Likewise.
67098         * math/test-fenv.c: Likewise.
67099         * math/test-misc.c: Likewise.
67100         * stdlib/bug-getcontext.c: Likewise.
67102 2012-05-17  Andreas Jaeger  <aj@suse.de>
67104         * manual/examples/search.c (critter_cmp): Change signature to
67105         avoid warnings.
67106         * manual/string.texi (Collation Functions): Likewise.
67108 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67110         * bits/types.h: Fold copyright years.
67111         * bits/typesizes.h: Likewise.
67112         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
67113         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
67114         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
67115         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
67116         * time/time.h: Likewise.
67118 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
67120         [BZ #208]
67121         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
67122         in instead of returning them.  Return void.
67123         (__libc_mallinfo): Accumulate over all arenas.
67124         (__malloc_stats): Adjust for change in int_mallinfo interface.
67126 2012-05-16  Roland McGrath  <roland@hack.frob.com>
67128         [BZ #10375]
67129         * configure.in (NM): Add AC_CHECK_TOOL for it.
67130         (libc_extra_cflags): New substituted variable.
67131         Check for -fstack-protector being used implicitly.
67132         * configure: Regenerated.
67133         * config.make.in (config-extra-cflags): New variable,
67134         gets @libc_extra_cflags@.
67135         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
67137         [BZ #10375]
67138         * configure.in: Check for _FORTIFY_SOURCE being predefined.
67139         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
67140         * configure: Regenerated.
67141         * config.make.in (CPPUNDEFS): New substituted variable.
67142         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
67143         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
67144         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
67146 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67148         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
67149         (mq_attr): Use __syscall_slong_t.
67151 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67153         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
67154         Check __x86_64__ instead of __WORDSIZE.
67155         (_STAT_VER_LINUX): Likewise.
67156         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
67157         __syscall_ulong_t and __syscall_slong_t.
67158         (stat64): Likewise.
67160 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67162         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
67164 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67166         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
67168 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67170         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
67171         __syscall_ulong_t.
67173         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
67174         include <bits/wordsize.h>.  Check __x86_64__ instead of
67175         __WORDSIZE.
67176         (greg_t): Use "__extension__ long long int" if __x86_64__ is
67177         defined.
67178         (mcontext_t): Replace "unsigned long" with "unsigned long long".
67180         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
67181         include <bits/wordsize.h>.  Check __x86_64__ instead of
67182         __WORDSIZE.
67183         (user_regs_struct): Use "__extension__ unsigned long long"
67184         instead of "unsigned long" if __x86_64__ is defined.
67185         (user): Likewise.  Pad after pointer field if __ILP32__ is
67186         defined.
67188 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
67190         * configure.in (makeinfo): Require version 4.5 or later.  Allow
67191         versions 5 to 9.
67192         * configure: Regenerated.
67193         * manual/install.texi (texinfo): Increase version requirement to
67194         4.5 or later.
67195         * INSTALL: Regenerated.
67197         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
67199 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
67201         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
67203         * sysdeps/x86_64/x32/ffs.c: New file.
67205         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
67206         __syscall_ulong_t.
67207         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
67208         defined.  Use __syscall_ulong_t.
67209         (shminfo): Use __syscall_ulong_t.
67210         (shm_info): Likewise.
67212         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
67213         __syscall_ulong_t.
67215         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
67216         <bits/wordsize.h>.
67217         (msgqnum_t): Use __syscall_ulong_t.
67218         (msglen_t): Likewise.
67219         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
67220         __syscall_ulong_t.
67222         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
67223         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67225         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
67227         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
67228         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
67230         * sysvipc/sys/msg.h (msgbuf): Replace long int with
67231         __syscall_slong_t.
67233         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
67234         include <bits/wordsize.h>.  Check __x86_64__ instead of
67235         __WORDSIZE.
67237         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
67238         "unsigned long long int" if __x86_64__ is defined.
67239         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
67241         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
67242         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
67243         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
67245         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
67246         <stdint.h>.
67247         (GET_PC): Cast to uintptr_t first.
67248         (GET_FRAME): Likewise.
67249         (GET_STACK): Likewise.
67251         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
67252         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
67253         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
67254         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
67255         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
67256         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
67257         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
67258         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
67259         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
67260         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
67261         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
67262         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
67263         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
67264         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
67265         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
67266         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
67267         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
67268         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
67269         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
67270         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
67271         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
67272         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
67273         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
67274         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
67275         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
67276         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
67277         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
67278         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
67279         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
67281 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
67283         * Makerules (+depfiles): Also collect depfiles from .oS in
67284         $(extra-objs).
67285         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
67286         .oS, $(libnldbl-routines)).
67288         * Makerules (native-compile-mkdep-flags): Define.
67289         * sunrpc/Makefile (extra-objs): Add $(addprefix
67290         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
67291         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
67292         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
67293         calling $(make-target-directory).
67295 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67297         * bits/types.h (__snseconds_t): Removed.
67298         * time/time.h (struct timespec): Replace __snseconds_t with
67299         __syscall_slong_t.
67300         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
67301         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
67302         Likewise.
67303         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67304         (__SNSECONDS_T_TYPE): Likewise.
67305         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67306         (__SNSECONDS_T_TYPE): Likewise.
67307         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67308         (__SNSECONDS_T_TYPE): Likewise.
67310 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67312         * sysdeps/mach/hurd/bits/typesizes.h
67313         (__SYSCALL_SLONG_TYPE): New macro.
67314         (__SYSCALL_ULONG_TYPE): Likewise.
67316 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67318         * bits/types.h (__syscall_slong_t): New type.
67319         (__syscall_ulong_t): Likewise.
67321         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
67322         (__SYSCALL_ULONG_TYPE): Likewise.
67323         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
67324         (__SYSCALL_SLONG_TYPE): Likewise.
67325         (__SYSCALL_ULONG_TYPE): Likewise.
67326         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
67327         (__SYSCALL_SLONG_TYPE): Likewise.
67328         (__SYSCALL_ULONG_TYPE): Likewise.
67329         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
67330         (__SYSCALL_SLONG_TYPE): Likewise.
67331         (__SYSCALL_ULONG_TYPE): Likewise.
67333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67335         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
67336         Add sigaltstack-offsets.sym.
67337         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
67338         <sigaltstack-offsets.h>.
67339         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
67340         longjmp_msg pointer.
67341         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
67342         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
67343         signal stack.
67344         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
67346 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67348         * elf/stackguard-macros.h: Remove file.
67349         * sysdeps/generic/stackguard-macros.h: New file.
67350         * sysdeps/i386/stackguard-macros.h: Likewise.
67351         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
67352         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
67353         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
67354         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
67355         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
67356         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
67357         * sysdeps/x86_64/stackguard-macros.h: Likewise.
67358         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
67359         <elf/stackguard-macros.h>.
67361         [BZ #14109]
67362         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
67363         __aligned__ in attribute.
67364         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
67365         (gregset_t): Likewise.
67367 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67369         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
67370         * sysdeps/x86_64/64/Implies-after: Here.  New file.
67371         * sysdeps/x86_64/x32/Implies-after: New file.
67373 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67375         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
67376         and access return value for _dl_profile_fixup.  Use R10_LP to
67377         load frame size.
67379 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67381         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
67383 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67385         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
67386         * sysdeps/x86_64/x32/sysdep.h: New file.
67388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67390         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
67391         * sysdeps/x86_64/setjmp.S: Likewise.
67393 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67395         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
67396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
67397         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
67398         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
67399         remove unused global constant.
67401 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
67403         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
67404         include of <not-cancel.h>.
67406 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67408         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
67410 2012-05-15  Jeff Law  <law@redhat.com>
67411             Andreas Jaeger  <aj@suse.de>
67413         [BZ #13594]
67414         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
67415         out from...
67416         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
67417         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
67418         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
67419         code changing __hst_map_handle.map.
67421 2012-05-15  Roland McGrath  <roland@hack.frob.com>
67423         * configure.in (sysnames): Look for Implies-before and Implies-after
67424         files.
67425         * configure: Regenerated.
67427 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67429         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
67430         8-byte data alignment with LP_SIZE alignment.
67432 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67434         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
67435         into R10_LP.
67437 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67439         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
67441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67443         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
67444         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
67445         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
67446         Likewise.
67447         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
67449 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67451         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
67452         (stackinfo_sub_sp): Likewise.
67454 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67456         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
67457         RAX_LP.
67459 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67461         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
67462         into R*_LP.
67464 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67466         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
67467         sizes into R*_LP.
67469 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67471         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
67473 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67475         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
67476         into R11_LP and load __x86_64_shared_cache_size_half into
67477         R8_LP.
67479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
67481         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
67482         R8_LP.
67484 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67486         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
67487         logb for POWER7.
67488         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
67489         logbf for POWER7.
67490         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
67491         logbl for POWER7.
67492         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
67493         powerpc32/power7/fpu/s_logb.c via #include.
67494         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
67495         powerpc32/power7/fpu/s_logbf.c via #include.
67496         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
67497         powerpc32/power7/fpu/s_logbl.c via #include.
67499 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
67501         * README.libm: Remove file.
67503 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67505         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
67506         count for x32.  Use R*_LP and omit operand-size suffix.
67508 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67510         * shlib-versions: Move x86_64-.*-linux.* entries to ...
67511         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
67512         * sysdeps/x86_64/x32/shlib-versions: New file.
67514 2012-05-14  Roland McGrath  <roland@hack.frob.com>
67516         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
67517         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
67518         Use _dl_fatal_printf instead.
67520 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67522         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
67523         set if not set by the user.  Do not allow for being unset.
67524         * sysdeps/unix/sysv/linux/configure: Regenerated.
67526 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67528         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
67529         the `q' suffix from lea and replace .quad with ASM_ADDR.
67531 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67533         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
67534         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
67535         instead of $17.
67536         (PTR_DEMANGLE): Likewise.
67538 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67540         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
67541         (LP_OP): Likewise.
67542         (ASM_ADDR): Likewise.
67543         (RAX_LP): Likewise.
67544         (RBP_LP): Likewise.
67545         (RBX_LP): Likewise.
67546         (RCX_LP): Likewise.
67547         (RDI_LP): Likewise.
67548         (RSI_LP): Likewise.
67549         (RSP_LP): Likewise.
67550         (R8_LP): Likewise.
67551         (R9_LP): Likewise.
67552         (R10_LP): Likewise.
67553         (R10_LP): Likewise.
67554         (R11_LP): Likewise.
67555         (R12_LP): Likewise.
67556         (R13_LP): Likewise.
67557         (R14_LP): Likewise.
67558         (R15_LP): Likewise.
67560 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67562         * sysdeps/x86_64/x32/dl-machine.h: New file.
67564 2012-05-14  Andreas Jaeger  <aj@suse.de>
67566         * manual/Makefile (subdir): Remove export of subdir.
67567         (all): Remove target.
67568         (.PHONY): Remove all from list.
67569         (mkinstalldirs): Remove.
67570         (.PHONY): Remove installdirs from list.
67571         ($(inst_infodir)/libc.info): Use make-target-directory.
67572         (installdirs): Remove.
67573         (subdir_%): Remove.
67574         (glibc-targets): Remove.
67575         (lib): Remove.
67576         (stubs): Remove.
67577         ($(objpfx)stubs ../po/manual.pot): Remove.
67578         ($(objpfx)stamp%): Remove.
67579         (make-target-directory): Remove.
67580         (subdir_install): Remove.
67581         (routines): Remove.
67582         (aux): Remove.
67583         (sources): Remove.
67584         (objects): Remove.
67585         (headers): Remove.
67587         [BZ #13750]
67588         * manual/.gitignore: Remove, it's not needed anymore.
67589         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
67590         all files in it.
67591         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
67592         directory.
67593         (texis): Renamed to $(objpfx)texis.
67594         (texis-path): New, contains path to generated files.
67595         (chapters.%): Use texis-path for complete path, add extra argument
67596         libc-texinfo.sh.
67597         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
67598         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
67599         (summary,texi, stamp-summary): Use complete path of
67600         files. Generate files in build dir.
67601         (dir-add.texi): Build in build dir.
67602         (libm-err.texi,stamp-libm-err): Likewise.
67603         (version.texi, stamp-version): Likewise.
67604         (.%c.texi): Likewise.
67605         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
67606         (mostlyclean): Remove target.
67607         (realclean): Remove target.
67608         (generated): Add new variable with contents from mostlyclean and
67609         realclean, remove entries duplicated in common-mostlyclean, add
67610         stamp-libm-err and stamp-version.
67611         (generated-dirs): Add libc directory.
67612         ($(inst_infodir)/libc.info): Install files from build dir.
67614         * manual/install.texi (Configuring and compiling): Adjust since
67615         the info files are not part of the tar ball anymore.
67617 2012-05-14  Andreas Jaeger  <aj@suse.de>
67619         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
67620         variable.
67622 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
67624         [BZ #13717]
67625         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
67626         to 2.2.0 where earlier.
67627         * sysdeps/unix/sysv/linux/configure: Regenerated.
67628         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
67629         Remove conditional code.
67630         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
67631         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
67632         Remove conditional code.
67633         [!__NR_lchown]: Likewise.
67634         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67635         [__NR_lchown]: Likewise.
67636         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
67637         comment referencing __ASSUME_LCHOWN_SYSCALL.
67638         * sysdeps/unix/sysv/linux/i386/sigaction.c
67639         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67640         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67641         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
67642         Remove conditional code.
67643         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
67644         (__protocol_available): Remove #if 0 code.
67645         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
67646         conditional code.
67647         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
67648         * sysdeps/unix/sysv/linux/kernel-features.h
67649         (__ASSUME_GETCWD_SYSCALL): Don't define.
67650         (__ASSUME_REALTIME_SIGNALS): Likewise.
67651         (__ASSUME_PREAD_SYSCALL): Likewise.
67652         (__ASSUME_PWRITE_SYSCALL): Likewise.
67653         (__ASSUME_POLL_SYSCALL): Likewise.
67654         (__ASSUME_LCHOWN_SYSCALL): Likewise.
67655         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
67656         non-SPARC.
67657         (__ASSUME_SIOCGIFNAME): Don't define.
67658         (__ASSUME_MSG_NOSIGNAL): Likewise.
67659         (__ASSUME_SENDFILE): Define unconditionally.
67660         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
67661         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
67662         conditional code.
67663         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
67664         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
67665         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67666         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67667         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
67668         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
67669         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
67670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
67671         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67672         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
67674         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67675         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
67677         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67678         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67679         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
67680         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67681         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
67683         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67684         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
67686         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
67687         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
67689         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67690         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
67692         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67693         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67694         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
67695         Remove conditional code.
67696         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67697         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67698         Remove conditional code.
67699         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67700         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
67701         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
67702         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67703         Remove conditional code.
67704         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67705         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
67706         Remove conditional code.
67707         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67708         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
67709         Remove conditional code.
67710         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67711         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
67712         Remove conditional code.
67713         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
67714         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
67715         Remove conditional code.
67716         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67717         * sysdeps/unix/sysv/linux/sh/pwrite64.c
67718         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
67719         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
67720         * sysdeps/unix/sysv/linux/sigaction.c
67721         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67722         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67723         * sysdeps/unix/sysv/linux/sigpending.c
67724         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67725         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67726         * sysdeps/unix/sysv/linux/sigprocmask.c
67727         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67728         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67729         * sysdeps/unix/sysv/linux/sigsuspend.c
67730         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
67731         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
67732         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
67733         (__libc_missing_rt_sigs): Remove.
67734         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
67735         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
67736         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
67737         Remove conditional code.
67738         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
67739         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
67740         return 1.
67741         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
67742         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
67743         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
67744         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
67746 2012-05-14  Andreas Jaeger  <aj@suse.de>
67748         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
67749         it's not used in glibc.
67750         (__coshm1): Likewise.
67751         (__acosh1p): Likewise.
67752         (__sgn): Likewise.
67754         * manual/string.texi (Copying and Concatenation): Add missing
67755         variable in concat example.
67756         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
67758 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67760         [BZ #14103]
67761         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
67762         __builtin_clzl with __builtin_clzll.
67764 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
67766         [BZ #14104]
67767         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
67768         libc_freeres_ptr.
67770 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
67772         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
67773         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
67774         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
67775         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
67777 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
67779         * NEWS: Update ia64 info.
67781 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
67783         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
67784         used as bcopy.
67786 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
67788         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
67789         * sysdeps/unix/syscalls.list (dup3): Likewise.
67790         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
67791         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
67793 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67795         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
67796         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
67798 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
67800         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
67801         thread pointer.
67802         (TLS_IE): Use mov/add instead of movq/addq to load thread
67803         pointer.
67804         (TLS_GD_PREFIX): New.
67805         (TLS_GD): Use it.
67807 2012-05-11  David S. Miller  <davem@davemloft.net>
67809         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
67810         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
67811         (_FPU_SETCW): Likewise.
67813 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67815         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
67816         is 32-byte aligned.
67818 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
67820         [BZ #11837]
67821         * iconvdata/gb18030.c: Update tables.
67822         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
67823         characters specially.
67824         (BODY for TO_LOOP): Add encoding of missing ranges.
67826 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
67828         [BZ #13673]
67829         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
67830         * sysdeps/mach/hurd/dup3.c: Likewise.
67831         * sysdeps/mach/hurd/readlinkat.c: Likewise.
67832         * sysdeps/powerpc/memmove.c:: Likewise.
67834 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67836         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
67837         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
67839 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
67841         * elf/elf.h (R_X86_64_RELATIVE64): New.
67842         (R_X86_64_NUM): Updated.
67843         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
67844         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
67845         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
67846         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
67847         tst-quad1pie tst-quad2pie
67848         (modules-names): Add tst-quadmod1 tst-quadmod2.
67849         ($(objpfx)tst-quad1): New dependency.
67850         ($(objpfx)tst-quad2): Likewise.
67851         ($(objpfx)tst-quad1pie): Likewise.
67852         ($(objpfx)tst-quad2pie): Likewise.
67853         * sysdeps/x86_64/tst-quad1.c: New file.
67854         * sysdeps/x86_64/tst-quad1pie.c: New file.
67855         * sysdeps/x86_64/tst-quad2.c: Likewise.
67856         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
67857         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
67858         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
67859         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
67860         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
67862 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67864         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
67865         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
67866         * streams/stropts.h (t_scalar_t): Define type.
67868         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
67869         (_PATH_PRESERVE): Set to "/var/lib".
67870         (_PATH_RWHODIR): Set to "/var/spool/rwho".
67872         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
67873         instead of int.
67875         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
67876         if __dir_mkfile succeeded.
67878         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
67879         checking for _hurd_dtablesize.  Unlock it right after having
67880         finished _hurd_dtable allocation.
67882 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67884         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
67885         * sysdeps/mach/hurd/configure: Regenerated.
67886         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
67887         special-casing to...
67888         * sysdeps/gnu/configure.in: ... this new file.
67889         * sysdeps/unix/sysv/linux/configure: Regenerated.
67890         * sysdeps/gnu/configure: New generated file.
67892         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
67893         for Linux: use nsec instead of usec, as well as:
67894         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
67895         members of type struct timespec.
67896         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
67897         New macros.
67898         (struct stat64): Likewise.
67899         (_STATBUF_ST_NSEC): New macro.
67900         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
67902         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
67903         __strtoul_internal rather than strtoul.
67905 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67907         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
67908         and reject them.
67910 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67912         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
67913         which preserves existing values.
67914         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
67916 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67918         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
67919         TIMEOUT values.  Return EINVAL for NFDS values either negative or
67920         greater than FD_SETSIZE.
67922 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67924         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
67925         allocated, call __vm_protect to finish enabling the existing space, and
67926         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
67927         allocate the remainder.
67929 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
67931         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
67932         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
67934 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67936         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
67937         sysdeps/mach/hurd/readlink.c.
67939         * posix/tst-sysconf.c (posix_options): Only use
67940         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
67941         _POSIX_SYNCHRONIZED_IO when they are defined
67942         * sysdeps/mach/hurd/bits/posix_opt.h:
67943         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
67944         (_XOPEN_REALTIME): Undefine macro.
67945         (_XOPEN_REALTIME_THREADS): Undefine macro.
67946         (_XOPEN_SHM): Undefine macro.
67947         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
67948         macro to -1.
67949         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
67950         macro to -1.
67951         (_POSIX_ASYNC_IO): Undefine macro.
67952         (_POSIX_PRIORITIZED_IO): Undefine macro.
67953         (_POSIX_SPIN_LOCKS): Define macro to -1.
67955         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
67956         SA_NODEFER, SA_RESETHAND.
67957         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
67958         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
67959         F_DUPFD_CLOEXEC.
67961 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67963         * elf/Makefile (pldd-modules): Define unconditionally.
67965 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67967         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
67969 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67971         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
67972         Return ENOENT when name is empty.
67973         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
67975 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67977         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
67979         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
67981 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
67983         Fix mlock in all cases except non-readable pages.
67984         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
67985         instead of VM_PROT_ALL as parameter to __vm_wire function.
67987         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
67988         (__mkdir): When path is `/', just fail with EEXIST.
67989         * sysdeps/mach/hurd/mkdirat.c: Likewise.
67991 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
67993         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
67994         <sys/uio.h> (for writev).
67995         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
67996         and <sys/param.h> (for MIN).
67998 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
68000         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
68001         REQUESTED_TIME.  Properly set the remaining time and return EINTR
68002         if interrupted.
68004 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68006         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
68007         Depend on against $(link-rpcuserlibs).
68009 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68011         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
68012         (__libc_stack_end): Do not use attribute_relro.
68013         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
68014         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
68015         to libthread-provided value.
68016         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
68017         attribute_relro.
68019 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68021         [BZ #3748]
68022         * bits/libc-lock.h (__libc_once_get): New macro.
68023         * sysdeps/mach/bits/libc-lock.h: Likewise.
68024         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
68025         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
68026         instead of using implementation details.
68028         * libio/fileops.c: Unconditionally include <kernel-features.h>.
68029         * libio/freopen.c: Likewise.
68030         * libio/freopen64.c: Likewise.
68031         * misc/syslog.c: Likewise.
68032         * nscd/connections.c: Likewise.
68033         * nscd/netgroupcache.c: Likewise.
68034         * sysdeps/posix/getcwd.c: Likewise.
68036 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68038         * math/w_ilogbf.c: Add #include <limits.h>.
68040 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68042         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
68043         path instead of returning without unlocking.
68045         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
68046         immediate-write ioctls.
68047         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
68049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68051         * sysdeps/mach/hurd/i386/init-first.c (init): Use
68052         __builtin_frame_address instead of making assumptions about the
68053         location of the return address relative to DATA.  Force early load of
68054         the return address.
68055         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
68056         __builtin_frame_address.
68058         dup3 for GNU Hurd.
68059         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
68060         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
68061         implement dup3 and do some further code clean-ups.
68062         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
68063         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
68065 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68067         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
68069         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
68070         HURD_CRITICAL_END around holding _hurd_dtable_lock.
68071         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
68072         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
68073         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
68074         d->port.lock.
68076         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
68077         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
68078         when handler == SIG_ERR, not when handler != SIG_ERR.
68080 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68082         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
68083         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
68084         definitions.
68086         accept4 for GNU Hurd.
68087         * include/sys/socket.h (__libc_accept4): New prototype.
68088         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
68089         to implement __libc_accept4.
68090         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
68091         __libc_accept4.
68092         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
68094         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
68095         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
68096         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
68097         signal-defines.sym.
68099 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68101         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
68103 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
68105         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
68106         assertion on O_CLOEXEC flag.
68107         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
68108         * hurd/intern-fd.c: Likewise.
68109         * hurd/port2fd.c: Likewise.
68111 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
68113         [BZ #3906]
68114         * bits/in.h (IPV6_PKTINFO): Define new macro.
68115         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
68117 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68119         [BZ #13954]
68120         [BZ #13955]
68121         [BZ #13956]
68122         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
68123         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
68124         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
68125         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
68126         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
68127         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
68128         * math/libm-test.inc (logb_test) : Additional logb tests.
68130 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
68131             Andreas Jaeger  <aj@suse.de>
68133         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
68134         * configure: Regenerated.
68135         * config.h.in (LINK_OBSOLETE_RPC): New macro.
68136         * config.make.in (link-obsolete-rpc): New substituted variable.
68137         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
68138         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
68139         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68140         (shared-only-routines): Don't set it under [link-obsolete-rpc],
68141         so that libc.a contains the symbols.
68142         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
68143         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
68144         * sunrpc/auth_none.c: Likewise.
68145         * sunrpc/auth_unix.c: Likewise.
68146         * sunrpc/authdes_prot.c: Likewise.
68147         * sunrpc/authuxprot.c: Likewise.
68148         * sunrpc/clnt_gen.c: Likewise.
68149         * sunrpc/clnt_perr.c: Likewise.
68150         * sunrpc/clnt_raw.c: Likewise.
68151         * sunrpc/clnt_simp.c: Likewise.
68152         * sunrpc/clnt_tcp.c: Likewise.
68153         * sunrpc/clnt_udp.c: Likewise.
68154         * sunrpc/clnt_unix.c: Likewise.
68155         * sunrpc/des_crypt.c: Likewise.
68156         * sunrpc/des_soft.c: Likewise.
68157         * sunrpc/get_myaddr.c: Likewise.
68158         * sunrpc/key_call.c: Likewise.
68159         * sunrpc/key_prot.c: Likewise.
68160         * sunrpc/netname.c: Likewise.
68161         * sunrpc/pm_getmaps.c: Likewise.
68162         * sunrpc/pm_getport.c: Likewise.
68163         * sunrpc/pmap_clnt.c: Likewise.
68164         * sunrpc/pmap_prot.c: Likewise.
68165         * sunrpc/pmap_prot2.c: Likewise.
68166         * sunrpc/pmap_rmt.c: Likewise.
68167         * sunrpc/publickey.c: Likewise.
68168         * sunrpc/rpc_cmsg.c: Likewise.
68169         * sunrpc/rpc_common.c: Likewise.
68170         * sunrpc/rpc_dtable.c: Likewise.
68171         * sunrpc/rpc_prot.c: Likewise.
68172         * sunrpc/rpc_thread.c: Likewise.
68173         * sunrpc/rtime.c: Likewise.
68174         * sunrpc/svc.c: Likewise.
68175         * sunrpc/svc_auth.c: Likewise.
68176         * sunrpc/svc_raw.c: Likewise.
68177         * sunrpc/svc_run.c: Likewise.
68178         * sunrpc/svc_tcp.c: Likewise.
68179         * sunrpc/svc_udp.c: Likewise.
68180         * sunrpc/svc_unix.c: Likewise.
68181         * sunrpc/svcauth_des.c: Likewise.
68182         * sunrpc/xcrypt.c: Likewise.
68183         * sunrpc/xdr.c: Likewise.
68184         * sunrpc/xdr_array.c: Likewise.
68185         * sunrpc/xdr_float.c: Likewise.
68186         * sunrpc/xdr_intXX_t.c: Likewise.
68187         * sunrpc/xdr_mem.c: Likewise.
68188         * sunrpc/xdr_rec.c: Likewise.
68189         * sunrpc/xdr_ref.c: Likewise.
68190         * sunrpc/xdr_sizeof.c: Likewise.
68191         * sunrpc/xdr_stdio.c: Likewise.
68193 2012-05-10  Roland McGrath  <roland@hack.frob.com>
68195         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
68196         change.  Update copyright years.
68198 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68200         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
68202 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
68203             Joseph Myers  <joseph@codesourcery.com>
68204             Paul Pluzhnikov  <ppluzhnikov@google.com>
68206         [BZ #14012]
68207         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
68208         requiring rpcgen.
68209         [cross-compiling] (extra-libs): Likewise.
68210         [cross-compiling] (extra-libs-others): Likewise.
68211         [cross-compiling] (librpcsvc-routines): Likewise.
68212         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
68213         [cross-compiling] (omit-deps): Likewise.
68214         (sunrpc-CPPFLAGS): New variable.
68215         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
68216         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
68217         (cross-rpcgen-objs): New variable.
68218         (extra-objs): Append $(cross-rpcgen-objs).
68219         ($(cross-rpcgen-objs)): New rule.
68220         ($(objpfx)cross-rpcgen): Likewise.
68221         (rpcgen-cmd): Define to use $(built-program-file).  Expand
68222         comment.
68223         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
68224         ($(objpfx)x%.stmp): Likewise.
68225         * sunrpc/proto.h [IS_IN_build] (_): Define.
68226         [IS_IN_build] (_libc_intl_domainname): Likewise.
68228 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
68230         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
68231         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
68232         and R_X86_64_TPOFF64.
68234 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
68236         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
68237         sysdeps/unix/sysv/syscalls.list.
68238         (stime): Likewise.
68239         (utime): Likewise.
68240         * sysdeps/unix/sysv/syscalls.list: Remove file.
68242 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
68244         [BZ #3440]
68245         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
68246         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
68247         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
68248         (__LC_IDENTIFICATION): Make these macros useful in #if
68249         expressions, as required by C99.
68251 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
68253         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
68254         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
68255         after this.
68257 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
68259         * stdlib/longlong.h: Updated from GCC.
68261 2012-05-09  Andreas Jaeger  <aj@suse.de>
68263         * nscd/nscd.c (run_modes): Make named enum, reorder so that
68264         default is first entry.
68265         (run_mode): Set type.
68266         (main): Remove informal message about syslog.
68267         (options): Fix typo.
68269         [BZ #14053]
68270         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
68271         to asm.
68272         (lrint): Likewise.
68273         (llrintf): Likewise.
68274         (llrint): Likewise.
68275         (rint): Likewise.
68276         (rintf): Likewise.
68277         (nearbyint): Likewise.
68278         (nearbyintf): Likewise.
68280 2012-05-09  Andreas Jaeger  <aj@suse.de>
68281             Pedro Alves  <palves@redhat.com>
68283         * nscd/nscd.c (run_mode): Use enum.
68284         (main): Cleanup coding style issue.
68286 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
68287             Andreas Jaeger  <aj@suse.de>
68289         * nscd/nscd.c (go_background): Replaced with...
68290         (run_mode): ... this.
68291         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
68292         (options): Add -F --foreground.
68293         (main): Implement it.
68294         (parse_opt): Parse it.
68296 2012-05-09  Andreas Jaeger  <aj@suse.de>
68298         [BZ #14083]
68299         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
68300         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
68301         -Wconversion warning.
68302         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
68303         Likewise.
68305 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
68307         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
68308         == 0.
68309         (LC_ALL): Use macro-int-constant.
68310         (LC_COLLATE): Likewise.
68311         (LC_CTYPE): Likewise.
68312         (LC_MESSAGES): Likewise.
68313         (LC_MONETARY): Likewise.
68314         (LC_NUMERIC): Likewise.
68315         (LC_TIME): Likewise.
68316         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
68317         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68318         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68319         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
68320         Specify type.
68321         [C99-based standards] (float_t): Expect type.
68322         [C99-based standards] (double_t): Expect type.
68323         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
68324         type.
68325         [C99-based standards] (HUGE_VALL): Likewise.
68326         [C99-based standards] (INFINITY): Likewise.
68327         [C99-based standards] (NAN): Likewise.
68328         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
68329         [C99-based standards] (FP_NAN): Likewise.
68330         [C99-based standards] (FP_NORMAL): Likewise.
68331         [C99-based standards] (FP_SUBNORMAL): Likewise.
68332         [C99-based standards] (FP_ZERO): Likewise.
68333         [C99-based standards] (FP_FAST_FMA): Use
68334         optional-macro-int-constant.  Specify type.  Require == 1.
68335         [C99-based standards] (FP_FAST_FMAF): Likewise.
68336         [C99-based standards] (FP_FAST_FMAL): Likewise.
68337         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
68338         [C99-based standards] (FP_ILOGBNAN): Likewise.
68339         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
68340         Specify type.
68341         [C99-based standards] (MATH_ERREXCEPT): Likewise.
68342         [C99-based standards] (math_errhandling): Specify type.
68343         [ISO99 || ISO11] (signgam): Do not allow.
68344         [non-C99-based standards] (copysignf): Do not allow.
68345         [non-C99-based standards] (exp2f): Likewise.
68346         [non-C99-based standards] (log2f): Likewise.
68347         [non-C99-based standards] (modff): Allow.
68348         [non-C99-based standards] (erff): Do not allow.
68349         [non-C99-based standards] (erfcf): Likewise.
68350         [non-C99-based standards] (gammaf): Likewise.
68351         [non-C99-based standards] (hypotf): Likewise.
68352         [non-C99-based standards] (j0f): Likewise.
68353         [non-C99-based standards] (j1f): Likewise.
68354         [non-C99-based standards] (jnf): Likewise.
68355         [non-C99-based standards] (lgammaf): Likewise.
68356         [non-C99-based standards] (tgammaf): Likewise.
68357         [non-C99-based standards] (y0f): Likewise.
68358         [non-C99-based standards] (y1f): Likewise.
68359         [non-C99-based standards] (ynf): Likewise.
68360         [non-C99-based standards] (isnanf): Likewise.
68361         [non-C99-based standards] (acoshf): Likewise.
68362         [non-C99-based standards] (asinhf): Likewise.
68363         [non-C99-based standards] (atanhf): Likewise.
68364         [non-C99-based standards] (cbrtf): Likewise.
68365         [non-C99-based standards] (expm1f): Likewise.
68366         [non-C99-based standards] (ilogbf): Likewise.
68367         [non-C99-based standards] (log1pf): Likewise.
68368         [non-C99-based standards] (logbf): Likewise.
68369         [non-C99-based standards] (nextafterf): Likewise.
68370         [non-C99-based standards] (remainderf): Likewise.
68371         [non-C99-based standards] (rintf): Likewise.
68372         [non-C99-based standards] (scalbf): Likewise.
68373         [non-C99-based standards] (copysignl): Likewise.
68374         [non-C99-based standards] (exp2l): Likewise.
68375         [non-C99-based standards] (log2l): Likewise.
68376         [non-C99-based standards] (modfl): Allow.
68377         [non-C99-based standards] (erfl): Do not allow.
68378         [non-C99-based standards] (erfcl): Likewise.
68379         [non-C99-based standards] (gammal): Likewise.
68380         [non-C99-based standards] (hypotl): Likewise.
68381         [non-C99-based standards] (j0l): Likewise.
68382         [non-C99-based standards] (j1l): Likewise.
68383         [non-C99-based standards] (jnl): Likewise.
68384         [non-C99-based standards] (lgammal): Likewise.
68385         [non-C99-based standards] (tgammal): Likewise.
68386         [non-C99-based standards] (y0l): Likewise.
68387         [non-C99-based standards] (y1l): Likewise.
68388         [non-C99-based standards] (ynl): Likewise.
68389         [non-C99-based standards] (isnanl): Likewise.
68390         [non-C99-based standards] (acoshl): Likewise.
68391         [non-C99-based standards] (asinhl): Likewise.
68392         [non-C99-based standards] (atanhl): Likewise.
68393         [non-C99-based standards] (cbrtl): Likewise.
68394         [non-C99-based standards] (expm1l): Likewise.
68395         [non-C99-based standards] (ilogbl): Likewise.
68396         [non-C99-based standards] (log1pl): Likewise.
68397         [non-C99-based standards] (logbl): Likewise.
68398         [non-C99-based standards] (nextafterl): Likewise.
68399         [non-C99-based standards] (remainderl): Likewise.
68400         [non-C99-based standards] (rintl): Likewise.
68401         [non-C99-based standards] (scalbl): Likewise.
68402         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68403         [non-C99-based standards] (FP_*): Do not allow.
68404         [C99-based standards] (FP_*): Change to
68405         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
68406         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68407         allow.
68408         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
68409         (SIG_ERR): Likewise.
68410         [X/Open-based standards] (SIG_HOLD): Likewise.
68411         (SIG_IGN): Likewise.
68412         (SIGABRT): Use macro-int-constant.  Specify type.  Require
68413         positive value.
68414         (SIGFPE): Likewise.
68415         (SIGILL): Likewise.
68416         (SIGINT): Likewise.
68417         (SIGSEGV): Likewise.
68418         (SIGTER): Likewise.
68419         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
68420         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
68421         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
68422         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
68423         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
68424         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
68425         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
68426         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
68427         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
68428         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
68429         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
68430         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
68431         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
68432         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
68433         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
68434         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
68435         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
68436         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
68437         [X/Open-based standards] (SIGTRAP): Likewise.
68438         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
68439         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
68440         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
68441         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
68442         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68443         allow.
68445 2012-05-08  Ian Wienand  <ianw@vmware.com>
68447         [BZ #14080]
68448         * time/tzset.c (__tzset_parse_tz): Update default rules for
68449         daylight time changes in the Energy Policy Act of 2005.
68451 2012-05-09  Andreas Jaeger  <aj@suse.de>
68453         [BZ #13983]
68454         * elf/ldconfig.c (parse_conf): Change string to make clear that
68455         ldconfig only issued a warning if ld.so.conf does not exist.
68457 2012-05-08  David S. Miller  <davem@davemloft.net>
68459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
68460         movxtod instead of popping the value on the stack.
68462         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68464 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
68466         * config.h.in: Add HAVE_ARM_PCS_VFP.
68468 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
68470         [BZ #13979]
68471         * include/features.h: Warn if user requests __FORTIFY_SOURCE
68472         checking but the checks are disabled for any reason.
68474 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
68476         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
68477         and ELF64_R_TYPE with ELFW(R_TYPE).
68479 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
68481         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
68482         (ulimit): Likewise.
68484         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
68485         (settimeofday): Likewise.
68487 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
68489         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
68490         a struct th_u2 inside the union, and move tu_block/tu_code into
68491         a new th_u3 union of tu_block/tu_code inside of that.  Move
68492         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
68493         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
68494         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
68495         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
68496         (th_stuff): Change to th_u1.tu_stuff.
68497         (th_data): Define.
68498         (th_msg): Change to th_u1.th_u2.tu_data.
68500 2012-05-07  David S. Miller  <davem@davemloft.net>
68502         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68504         [BZ #14074]
68505         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
68506         (SETUP_PIC_REG): Use it.
68507         (SETUP_PIC_REG_LEAF): Use it.
68509 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
68511         [BZ #13885]
68512         [BZ #13923]
68513         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68514         USE_AS_EXPM1L.
68515         (EXPL_FINITE): Likewise.
68516         (FLDLOG): Likewise.
68517         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68518         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68519         e_expl.S.
68520         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68521         USE_AS_EXPM1L.
68522         (EXPL_FINITE): Likewise.
68523         (FLDLOG): Likewise.
68524         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
68525         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
68526         e_expl.S.
68527         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
68528         test of -max_value argument for long double.
68529         * sysdeps/i386/fpu/libm-test-ulps: Update.
68530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68532 2012-05-06  David S. Miller  <davem@davemloft.net>
68534         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
68535         quad soft-float symbols whose references which are compiler
68536         generated.
68537         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
68539 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
68541         [BZ #13884]
68542         [BZ #13914]
68543         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68544         USE_AS_EXP10L.
68545         (EXPL_FINITE): Likewise.
68546         (FLDLOG): Likewise.
68547         (c0): Likewise.
68548         (c1): Likewise.
68549         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68550         Adjust comments for base varying.
68551         (__expl_finite): Change alias to EXPL_FINITE.
68552         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
68553         e_expl.S.
68554         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
68555         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
68556         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
68557         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
68558         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
68559         USE_AS_EXP10L.
68560         (EXPL_FINITE): Likewise.
68561         (FLDLOG): Likewise.
68562         (c0): Likewise.
68563         (c1): Likewise.
68564         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
68565         Adjust comments for base varying.
68566         (__expl_finite): Change alias to EXPL_FINITE.
68567         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
68568         tests for bugs.
68569         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68571         [BZ #14064]
68572         * math/libm-test.inc (check_float_internal): Correct ulp
68573         calculation for subnormal expected results.
68575 2012-05-06  Andreas Jaeger  <aj@suse.de>
68577         * Makeconfig (+math-flags): New, set to -frounding-math.
68578         (+cflags): Add +math-flags so that all of glibc gets compiled with
68579         it.
68581         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
68583 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
68585         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
68586         Disable one test.
68588         [BZ #13787]
68589         [BZ #13922]
68590         [BZ #14036]
68591         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
68592         (__ieee754_expl): Allow for and saturate large arguments.
68593         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
68594         (u_threshold): Likewise.
68595         (__exp): Call __ieee754_exp before checking for overflow and
68596         underflow.
68597         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
68598         (u_threshold): Likewise.
68599         (__expf): Call __ieee754_expf before checking for overflow and
68600         underflow.
68601         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
68602         (u_threshold): Likewise.
68603         (__expl): Call __ieee754_expl before checking for overflow and
68604         underflow.
68605         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
68606         (__ieee754_expl): Allow for and saturate large arguments.
68607         * math/libm-test.inc (exp_test): Add another test.  Do not allow
68608         missing overflow exception on overflow.
68609         (expm1_test): Do not allow missing overflow exception on overflow.
68611         * sysdeps/i386/fpu/e_expl.c: Move to ...
68612         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
68613         rather than using inline asm.
68614         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
68615         * sysdeps/x86_64/fpu/e_expl.S: Copy from
68616         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
68618         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
68619         (nice): Likewise.
68620         (poll): Likewise.
68621         (signal): Likewise.
68622         (time): Likewise.
68623         (times): Likewise.
68625 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68627         * sysdeps/unix/syscalls.list (adjtime): Add entry from
68628         sysdeps/unix/common/syscalls.list.
68629         (fchmod): Likewise.
68630         (fchown): Likewise.
68631         (ftruncate): Likewise.
68632         (getrusage): Likewise.
68633         (gettimeofday): Likewise.
68634         (setpgid): Likewise.
68635         (setregid): Likewise.
68636         (setreuid): Likewise.
68637         (sigaction): Likewise.
68638         (truncate): Likewise.
68639         (vhangup): Likewise.
68640         * sysdeps/unix/common/syscalls.list: Remove file.
68641         * sysdeps/unix/bsd/Implies: Don't include unix/common.
68642         * sysdeps/unix/sysv/linux/Implies: Likewise.
68644 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
68646         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
68647         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
68648         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
68649         Moved to ...
68650         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
68651         Here.
68652         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
68653         to ...
68654         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
68655         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
68656         to ...
68657         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
68658         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
68659         to ...
68660         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
68661         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
68662         to ...
68663         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
68664         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
68665         to ...
68666         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
68667         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
68668         to ...
68669         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
68670         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
68671         to ...
68672         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
68673         Here.
68674         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
68675         to ...
68676         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
68677         Here.
68678         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
68679         to ...
68680         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
68681         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
68682         Moved to ...
68683         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
68684         Here.
68685         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
68686         to ...
68687         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
68689 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68691         * sysdeps/unix/common/bits/dirent.h: Remove file.
68692         * sysdeps/unix/common/bits/fcntl.h: Likewise.
68694         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
68695         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
68696         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
68697         * sysdeps/unix/bsd/isatty.c: Likewise.
68698         * sysdeps/unix/bsd/tcdrain.c: Likewise.
68699         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
68700         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
68702 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68704         [BZ #13563]
68705         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
68706         long double comparison inaccuracies.
68707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
68708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68710 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
68712         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
68713         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
68715 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
68717         [BZ #14049]
68718         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
68719         nonzero digits before rounding a hex value.
68720         * stdlib/tst-strtod.c (tests): Add another test.
68722 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
68724         * sysdeps/s390/fpu/libm-test-ulps: Update.
68726 2012-05-03  Andreas Jaeger  <aj@suse.de>
68728         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
68729         does not get optimized out.
68730         (malloc_opt_barrier): New.
68732 2012-05-03  Andreas Jaeger  <aj@suse.de>
68733             Roland McGrath  <roland@hack.frob.com>
68735         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
68736         intermediate file deletion.
68737         (generated): Add .symlist files.
68739 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
68741         [BZ #13775]
68742         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
68743         Redirect under this condition.
68744         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68745         [__USE_GNU] (__dprintf_chk): Not under this condition.
68746         [__USE_GNU] (__vdprintf_chk): Likewise.
68747         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
68748         under this condition.
68749         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
68750         [__USE_XOPEN2K8] (dprintf): Define under this condition.
68751         [__USE_XOPEN2K8] (vdprintf): Likewise.
68752         [__USE_GNU] (__dprintf_chk): Not under this condition.
68753         [__USE_GNU] (__vdprintf_chk): Likewise.
68754         [__USE_GNU] (dprintf): Likewise.
68755         [__USE_GNU] (vdprintf): Likewise.
68757 2012-05-03  Roland McGrath  <roland@hack.frob.com>
68759         * elf/Makefile (common-generated): Set this instead of generated for
68760         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
68761         $(all-built-dso)-derived lists.
68763 2012-05-03  Andreas Jaeger  <aj@suse.de>
68765         * sysdeps/i386/fpu/libm-test-ulps: Update.
68767         * FAQ: Removed.
68768         * FAQ.in: Likewise.
68769         * scripts/gen-FAQ.pl: Likewise.
68770         * manual/install.texi (Installation): Point to online location of
68771         FAQ.
68772         * Makefile (files-for-dist): Remove FAQ.
68773         (FAQ): Remove.
68775 2012-05-02  Allan McRae  <allan@archlinux.org>
68777         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
68778         (LDFLAGS-reldepmod5.so): Likewise.
68779         (LDFLAGS-reldep6mod1.so): Likewise.
68780         (LDFLAGS-reldep6mod4.so): Likewise.
68781         (LDFLAGS-reldep8mod3.so): Likewise.
68782         (LDFLAGS-unload4mod1.so): Likewise.
68783         (LDFLAGS-unload4mod2.so): Likewise.
68784         (LDFLAGS-tst-initorder): Likewise.
68785         (LDFLAGS-tst-initordera2.so): Likewise.
68786         (LDFLAGS-tst-initordera3.so): Likewise.
68787         (LDFLAGS-tst-initordera4.so): Likewise.
68788         (LDFLAGS-tst-initorderb2.so): Likewise.
68789         (LDFLAGS-noload): Likewise.
68790         (LDFLAGS-next): Likewise.
68791         (LDFLAGS-order2mod1.so): Likewise.
68792         (LDFLAGS-order2mod2.so): Likewise.
68793         (LDFLAGS-tst-initorder2): Likewise.
68794         (LDFLAGS-tst-initorder2a.so): Likewise.
68795         (LDFLAGS-tst-initorder2b.so): Likewise.
68796         (LDFLAGS-tst-initorder2c.so): Likewise.
68797         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
68799 2012-05-02  David S. Miller  <davem@davemloft.net>
68801         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68803 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
68805         [BZ #14055]
68806         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
68808 2012-05-02  Andreas Jaeger  <aj@suse.de>
68810         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
68811         since we manipulate rounding mode.
68812         (CPPFLAGS-test-idouble.c): Likewise.
68813         (CPPFLAGS-test-ifloat.c): Likewise.
68814         (CFLAGS-test-ldouble.c): Likewise.
68815         (CFLAGS-test-double.c): Likewise.
68816         (CFLAGS-test-float.c): Likewise.
68817         (CFLAGS-test-misc.c): Likewise.
68818         (CFLAGS-test-test-fenv.c): Likewise.
68820 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
68822         [BZ #2550]
68823         [BZ #2570]
68824         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
68825         comparisons to determine direction to adjust input.
68827 2012-05-01  Roland McGrath  <roland@hack.frob.com>
68829         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
68830         output to the target.
68832         * scripts/localplt.awk: New file.
68833         * elf/Makefile ($(objpfx)check-localplt): Target removed.
68834         (check-localplt-CFLAGS): Variable removed.
68835         ($(all-built-dso:=.jmprel)): New static pattern rule.
68836         (generated): Add those targets.
68837         (localplt-built-dso): New variable.
68838         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
68840         * elf/check-localplt.c: File removed.
68842         * scripts/check-execstack.awk: New file.
68843         * elf/Makefile ($(objpfx)check-execstack): Target removed.
68844         (check-execstack-CFLAGS): Variable removed.
68845         ($(objpfx)check-execstack.h): Target removed.
68846         ($(objpfx)execstack-default): New target.
68847         (generated): Add that instead of check-execstack.h.
68848         ($(all-built-dso:=.phdr)): New static pattern rule.
68849         (generated): Add those targets.
68850         * elf/check-execstack.c: File removed.
68852         * scripts/check-textrel.awk: New file.
68853         * elf/Makefile ($(objpfx)check-textrel): Target removed.
68854         (check-textrel-CFLAGS): Variable removed.
68855         (all-built-dso): Use := to define.o
68856         ($(all-built-dso:=.dyn)): New static pattern rule.
68857         (generated): Add those targets.
68858         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
68859         * config.make.in (READELF): New substituted variable.
68860         * elf/check-textrel.c: File removed.
68862 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
68864         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
68865         allow.
68866         * conform/data/ctype.h-data [C99-based standards] (isblank):
68867         Expect function.
68868         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
68869         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
68870         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68871         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
68872         Specify type.  Require positive value.
68873         (EILSEQ): Likewise.
68874         (ERANGE): Likewise.
68875         [ISO || POSIX] (EILSEQ): Do not expect.
68876         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
68877         Specify type.  Require positive value.
68878         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
68879         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
68880         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
68881         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
68882         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
68883         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
68884         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
68885         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
68886         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
68887         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
68888         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
68889         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
68890         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
68891         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
68892         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
68893         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
68894         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
68895         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
68896         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
68897         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
68898         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
68899         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
68900         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
68901         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
68902         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
68903         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
68904         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
68905         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
68906         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
68907         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
68908         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
68909         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
68910         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
68911         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
68912         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
68913         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
68914         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
68915         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
68916         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
68917         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
68918         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
68919         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
68920         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
68921         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
68922         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
68923         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
68924         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
68925         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
68926         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
68927         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
68928         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
68929         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
68930         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
68931         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
68932         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
68933         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
68934         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
68935         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
68936         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
68937         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
68938         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
68939         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
68940         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
68941         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
68942         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
68943         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
68944         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
68945         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
68946         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
68947         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
68948         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
68949         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
68950         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
68951         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
68952         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
68953         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
68954         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
68955         Require >= 2.
68956         (FLT_ROUNDS): Expect as macro, not constant.
68957         (FLT_MANT_DIG): Use macro-int-constant.
68958         (DBL_MANT_DIG): Likewise.
68959         (LDBL_MANT_DIG): Likewise.
68960         (FLT_DIG): Likewise.
68961         (DBL_DIG): Likewise.
68962         (LDBL_DIG): Likewise.
68963         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
68964         (DBL_MIN_EXP): Likewise.
68965         (LDBL_MIN_EXP): Likewise.
68966         (FLT_MAX_EXP): Use macro-int-constant.
68967         (DBL_MAX_EXP): Likewise.
68968         (LDBL_MAX_EXP): Likewise.
68969         (FLT_MAX_10_EXP): Likewise.
68970         (DBL_MAX_10_EXP): Likewise.
68971         (LDBL_MAX_10_EXP): Likewise.
68972         (FLT_MAX): Use macro-constant.
68973         (DBL_MAX): Likewise.
68974         (LDBL_MAX): Likewise.
68975         (FLT_EPSILON): Use macro-constant.  Give upper bound.
68976         (DBL_EPSILON): Likewise.
68977         (LDBL_EPSILON): Likewise.
68978         (FLT_MIN): Likewise.
68979         (DBL_MIN): Likewise.
68980         (LDBL_MIN): Likewise.
68981         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
68982         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
68983         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
68984         [ISO11] (FLT_HAS_SUBNORM): Likewise.
68985         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
68986         [ISO11] (DBL_DECIMAL_DIG): Likewise.
68987         [ISO11] (FLT_DECIMAL_DIG): Likewise.
68988         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
68989         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
68990         [ISO11] (FLT_TRUE_MIN): Likewise.
68991         [ISO11] (LDBL_TRUE_MIN): Likewise.
68992         [ISO || ISO99 || ISO11] (*_t): Do not allow.
68993         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
68994         (SCHAR_MIN): Use macro-int-constant.  Specify type.
68995         (SCHAR_MAX): Likewise.
68996         (UCHAR_MAX): Likewise.
68997         (CHAR_MIN): Likewise.
68998         (CHAR_MAX): Likewise.
68999         (MB_LEN_MAX): Use macro-int-constant.
69000         (SHRT_MIN): Use macro-int-constant.  Specify type.
69001         (SHRT_MAX): Likewise.
69002         (USHRT_MAX): Likewise.
69003         (INT_MAX): Likewise.
69004         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
69005         bound negative.
69006         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69007         bound with "U".
69008         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69009         bound with "L".
69010         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
69011         bound negative.  Suffix upper bound with "L".
69012         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
69013         bound with "UL".
69014         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
69015         Specify type.
69016         [C99-based standards] (LLONG_MAX): Likewise.
69017         [C99-based standards] (ULLONG_MAX): Likewise.
69018         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
69019         == 0.
69020         [ISO11] (max_align_t): Require type.
69021         [ISO || ISO99 || ISO11] (*_t): Do not allow.
69023         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
69024         from $CFLAGS, without defining away __attribute__ calls.
69025         (checknamespace): Use $CFLAGS_namespace.
69027         * conform/conformtest.pl (@keywords): Only include C99 keywords
69028         for standards based on C99 or C11.
69030         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
69031         Disable tests.
69032         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
69033         UNIX98]: Likewise.
69035         * conform/conformtest.pl: Handle "macro-int-constant" and test for
69036         usability of symbols in #if.
69038         * conform/conformtest.pl: If macro or constant types start
69039         "promoted:", expect the symbol to be of the following type
69040         promoted by the integer promotions.
69042         * conform/conformtest.pl: Parse all "constant" and "macro" lines
69043         in one place.  Also handle "macro-constant".
69045         * conform/conformtest.pl: Only accept expected macro values with
69046         "==".  Parse all "macro" lines in one place.
69047         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
69049         * conform/conformtest.pl: Handle braced types on "constant" lines
69050         instead of handling "typed-constant".
69051         * conform/data/signal.h-data: Use "constant" instead of
69052         "typed-constant".
69054         * conform/conformtest.pl: Handle "optional-" at start of lines in
69055         one place rather than duplicating several cases.  Handle each
69056         format of "macro" line with initial "optional-".
69058         * conform/conformtest.pl: Only accept expected constant or
69059         optional-constant values with "==".  Parse all "constant" lines in
69060         one place.  Parse all "optional-constant" lines in one place.
69061         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
69062         * conform/data/fmtmsg.h-data: Likewise.
69063         * conform/data/netinet/in.h-data: Likewise.
69064         * conform/data/tar.h-data: Likewise.
69065         * conform/data/limits.h-data: Use "==" form on "constant" and
69066         "optional-constant" lines.
69068         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
69069         Use -std=c99 for XOPEN2K.
69070         (@knownproblems): Remove.
69071         (newtoken): Don't check %isknown.
69073         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
69074         Do not expect macro.
69075         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
69076         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
69077         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
69078         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
69079         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
69080         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
69081         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
69082         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
69083         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
69084         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
69085         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
69086         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
69087         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
69088         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
69089         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
69090         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
69091         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
69092         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
69093         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
69094         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
69095         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
69096         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
69097         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
69098         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
69099         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
69100         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
69101         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
69102         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
69103         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
69104         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
69105         [XPG3] (acosh): Likewise.
69106         [XPG3] (asinh): Likewise.
69107         [XPG3] (atanh): Likewise.
69108         [XPG3] (cbrt): Likewise.
69109         [XPG3] (expm1): Likewise.
69110         [XPG3] (ilogb): Likewise.
69111         [XPG3] (log1p): Likewise.
69112         [XPG3] (logb): Likewise.
69113         [XPG3] (nextafter): Likewise.
69114         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
69115         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
69116         [XPG3] (remainder): Likewise.
69117         [XPG3] (rint): Likewise.
69118         [XPG3 || XPG4 || UNIX98] (round): Likewise.
69119         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
69120         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
69121         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
69122         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
69123         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
69124         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
69125         [UNIX98 || XOPEN2K] (scalb): Expect.
69126         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
69127         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
69128         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
69129         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
69130         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
69131         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
69132         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
69133         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
69134         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
69135         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
69136         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
69137         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
69138         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
69139         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
69140         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
69141         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
69142         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
69143         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
69144         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
69145         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
69146         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
69147         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
69148         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
69149         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
69150         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
69151         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
69152         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
69153         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
69154         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
69155         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
69156         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
69157         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
69158         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
69159         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
69160         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
69161         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
69162         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
69163         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
69164         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
69165         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
69166         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
69167         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
69168         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
69169         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
69170         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
69171         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
69172         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
69173         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
69174         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
69175         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
69176         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
69177         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
69178         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
69179         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
69180         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
69181         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
69182         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
69183         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
69184         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
69185         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
69186         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
69187         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
69188         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
69189         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
69190         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
69191         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
69192         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
69193         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
69194         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
69195         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
69196         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
69197         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
69198         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
69199         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
69200         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
69201         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
69202         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
69203         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
69204         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
69205         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
69206         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
69207         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
69208         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
69209         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
69210         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
69211         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
69212         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
69213         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
69214         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
69215         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
69216         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
69217         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
69218         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
69219         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
69220         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
69221         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
69222         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
69223         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
69224         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
69225         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
69226         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
69227         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
69228         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
69229         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
69230         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
69231         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
69232         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
69233         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
69234         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
69235         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
69236         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
69237         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
69238         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
69239         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
69240         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
69241         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
69242         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
69243         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
69244         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
69245         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
69246         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
69247         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
69248         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
69249         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
69250         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
69251         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
69252         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
69253         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
69254         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
69255         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
69256         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
69257         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
69258         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
69259         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
69260         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
69261         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
69262         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
69264         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
69265         _XOPEN_SOURCE_EXTENDED for XPG4.
69267         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
69269         * Makeconfig (localtime): Remove variable.
69270         (inst_localtime-file): Likewise.
69272 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
69275         Update.
69276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69277         Update.
69278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
69279         Update.
69280         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
69281         Update.
69282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
69283         Update.
69284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
69285         Update.
69286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69287         Update.
69288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
69289         Update.
69290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69291         Update.
69293 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
69295         [BZ #2550]
69296         [BZ #2570]
69297         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
69298         comparisons to determine direction to adjust input.
69299         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
69300         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
69301         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
69302         Likewise.
69303         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
69304         Likewise.
69305         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
69306         Likewise.
69307         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
69308         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
69309         Likewise.
69310         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
69311         Likewise.
69312         * math/libm-test.inc (nexttoward_test): Add more tests.
69314 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
69316         [BZ #14040]
69317         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
69318         in version GLIBC_2.1, not GLIBC_2.0.
69319         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
69320         Likewise.
69322 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
69324         [BZ #13942]
69325         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
69326         (1 - x) * (1 + x).
69327         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69328         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
69329         * math/libm-test.inc (acos_test): Add more tests.
69330         (asin_test): Likewise.
69331         * sysdeps/i386/fpu/libm-test-ulps: Update.
69332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69334         [BZ #14034]
69335         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
69336         of square root.
69337         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
69338         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
69339         * math/libm-test.inc (acos_test_tonearest): New function.
69340         (acos_test_towardzero): Likewise.
69341         (acos_test_downward): Likewise.
69342         (acos_test_upward): Likewise.
69343         (asin_test_tonearest): Likewise.
69344         (asin_test_towardzero): Likewise.
69345         (asin_test_downward): Likewise.
69346         (asin_test_upward): Likewise.
69347         (main): Call the new functions.
69348         * sysdeps/i386/fpu/libm-test-ulps: Update.
69349         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69351         [BZ #13884]
69352         [BZ #13924]
69353         * math/e_exp10.c: Include <float.h>.
69354         (__ieee754_exp10): Handle underflow here rather than multiplying
69355         large negative argument by M_LN10.
69356         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
69357         of __ieee754_expf.
69358         * math/e_exp10l.c: Include <float.h>.
69359         (__ieee754_exp10l): Handle underflow here rather than multiplying
69360         large negative argument by M_LN10l.
69361         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
69362         spurious overflow exception on underflow.
69364 2012-04-29  Marek Polacek  <polacek@redhat.com>
69366         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
69367         (__fortify_function): New macro.
69368         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
69369         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
69370         __extern_always_inline.
69371         * libio/bits/stdio2.h: Likewise.
69372         * libio/bits/stdio.h: Likewise.
69373         * string/string.h: Likewise.
69374         * string/bits/string3.h: Likewise.
69375         * include/stdio.h: Likewise.
69376         * stdlib/bits/stdlib.h: Likewise.
69377         * stdlib/stdlib.h: Likewise.
69378         * rt/bits/mqueue2.h: Likewise.
69379         * rt/mqueue.h: Likewise.
69380         * posix/bits/unistd.h: Likewise.
69381         * posix/unistd.h: Likewise.
69382         * io/bits/poll2.h: Likewise.
69383         * io/bits/fcntl2.h: Likewise.
69384         * io/fcntl.h: Likewise.
69385         * io/sys/poll.h: Likewise.
69386         * misc/bits/syslog.h: Likewise.
69387         * misc/bits/syslog-ldbl.h: Likewise.
69388         * misc/sys/syslog.h: Likewise.
69389         * socket/bits/socket2.h: Likewise.
69390         * socket/sys/socket.h: Likewise.
69391         * debug/tst-chk1.c: Likewise.
69392         * wcsmbs/bits/wchar2.h: Likewise.
69393         * wcsmbs/bits/wchar-ldbl.h: Likewise.
69394         * wcsmbs/wchar.h: Likewise.
69396 2012-04-29  Andreas Jaeger  <aj@suse.de>
69398         * Makerules (tests): Remove enable-check-abi protection.
69399         (check-abi-warn): Remove.
69400         (check-abi-%): Remove check-abi-warn usage.
69402         * configure.in: Remove check-abi configure option.
69403         * configure: Regenerated.
69404         * config.make.in (enable-check-abi): Remove.
69406 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
69408         [BZ #14033]
69409         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
69410         double functions to double *_finite functions.
69412         [BZ #13941]
69413         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
69414         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
69415         LDBL_MIN_EXP.
69416         * stdio-common/Makefile (tests): Add tst-sprintf3.
69417         * stdio-common/tst-sprintf3.c: New file.
69419         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
69420         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
69422 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69424         * conform/conformtest.pl: Remove duplicate typed-constant
69425         handling.
69427 2012-04-28  David S. Miller  <davem@davemloft.net>
69429         * Makerules (%.abilist): Add vpath on sysdep_dirs.
69430         (check-abi-%): Remove AWK script prerequisite and explicit
69431         abilist directory.
69432         (check-abi): Rewrite to just diff the symlist with the abilist.
69433         (config-tls, config-abi-config): Delete, no longer used.
69434         (update-abi-%): Remove AWK script and explicit abilist directory.
69435         (update-abi): Rewrite to simply compare and conditionally copy the
69436         symlist and the sysdep abilist file.  Remove update-abi-config
69437         checks.
69438         * abilist/ld.abilist: Remove.
69439         * abilist/libBrokenLocale.abilist: Remove.
69440         * abilist/libanl.abilist: Remove.
69441         * abilist/libcrypt.abilist: Remove.
69442         * abilist/libdl.abilist: Remove.
69443         * abilist/librt.abilist: Remove.
69444         * abilist/libthread_db.abilist: Remove.
69445         * abilist/libutil.abilist: Remove.
69446         * scripts/extract-abilist.awk: Remove.
69447         * scripts/merge-abilist.awk: Remove.
69448         * sysdeps/generic/libcidn.abilist: New file.
69449         * sysdeps/generic/libnss_compat.abilist: New file.
69450         * sysdeps/generic/libnss_db.abilist: New file.
69451         * sysdeps/generic/libnss_dns.abilist: New file.
69452         * sysdeps/generic/libnss_files.abilist: New file.
69453         * sysdeps/generic/libnss_hesiod.abilist: New file.
69454         * sysdeps/generic/libnss_nis.abilist: New file.
69455         * sysdeps/generic/libnss_nisplus.abilist: New file.
69456         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
69457         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
69458         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
69459         file.
69460         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
69461         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
69462         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
69463         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
69464         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
69465         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
69466         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
69467         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
69468         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
69469         file.
69470         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
69471         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
69472         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
69473         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
69474         file.
69475         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
69476         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
69477         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
69478         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
69479         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
69480         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
69481         file.
69482         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
69483         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
69484         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
69485         file.
69486         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
69487         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
69488         New file.
69489         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
69490         New file.
69491         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
69492         New file.
69493         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
69494         New file.
69495         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
69496         New file.
69497         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
69498         New file.
69499         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
69500         New file.
69501         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
69502         New file.
69503         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
69504         New file.
69505         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
69506         New file.
69507         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
69508         New file.
69509         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
69510         New file.
69511         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
69512         New file.
69513         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
69514         file.
69515         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
69516         New file.
69517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
69518         New file.
69519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
69520         file.
69521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
69522         New file.
69523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
69524         New file.
69525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
69526         file.
69527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
69528         New file.
69529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
69530         New file.
69531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
69532         New file.
69533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
69534         New file.
69535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
69536         New file.
69537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
69538         New file.
69539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
69540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
69541         file.
69542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
69543         New file.
69544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
69545         file.
69546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
69547         file.
69548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
69549         file.
69550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
69551         file.
69552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
69553         file.
69554         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
69555         New file.
69556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
69557         file.
69558         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
69559         file.
69560         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
69561         New file.
69562         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
69563         file.
69564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
69565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
69566         file.
69567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
69568         New file.
69569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
69570         file.
69571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
69572         file.
69573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
69574         file.
69575         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
69576         file.
69577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
69578         file.
69579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
69580         New file.
69581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
69582         file.
69583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
69584         file.
69585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
69586         New file.
69587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
69588         file.
69589         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69590         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
69591         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
69592         file.
69593         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
69594         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
69595         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
69596         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
69597         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
69598         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
69599         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
69600         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
69601         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
69602         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
69603         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
69604         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
69605         file.
69606         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
69607         New file.
69608         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
69609         file.
69610         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
69611         file.
69612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
69613         file.
69614         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
69615         file.
69616         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
69617         file.
69618         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
69619         New file.
69620         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
69621         New file.
69622         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
69623         file.
69624         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
69625         New file.
69626         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
69627         file.
69628         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
69629         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
69630         file.
69631         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
69632         New file.
69633         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
69634         file.
69635         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
69636         file.
69637         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
69638         file.
69639         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
69640         file.
69641         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
69642         file.
69643         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
69644         New file.
69645         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
69646         New file.
69647         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
69648         file.
69649         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
69650         New file.
69651         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
69652         file.
69654 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
69656         * conform/conformtest.pl: Fix typo in handling typed-constant from
69657         allow-header.
69659 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69661         * README: Cut down references to pre-2.6 Linux kernels and
69662         Linuxthreads.  Update lists of configurations in libc and ports
69663         and sort alphabetically.  Say "or newer" with Linux kernel version
69664         requirements.
69666         * config.h.in [IS_IN_build]: Allow compiling without optimization.
69668 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69670         [BZ #887]
69671         * math/libm-test.inc (logb_test_downward): New test to expose
69672         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
69673         rounding mode.
69675 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
69677         [BZ #14027]
69678         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
69679         to be done.
69680         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
69681         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
69683 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
69685         * sysdeps/unix/i386/brk.S: Remove file.
69686         * sysdeps/unix/i386/dl-brk.S: Likewise.
69687         * sysdeps/unix/i386/pipe.S: Likewise.
69688         * sysdeps/unix/i386/sigreturn.S: Likewise.
69689         * sysdeps/unix/i386/syscall.S: Likewise.
69690         * sysdeps/unix/i386/vfork.S: Likewise.
69691         * sysdeps/unix/i386/wait.S: Likewise.
69693         * sysdeps/unix/common/tcsendbrk.c: Move to ...
69694         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
69696         * configure.in (arm*-none*): Do not allow without
69697         --enable-hacker-mode.
69698         (netbsd*): Remove case setting base_os.
69699         (386bsd*): Likewise.
69700         (freebsd*): Likewise.
69701         (bsdi*): Likewise.
69702         (osf*): Likewise.
69703         (sunos*): Likewise.
69704         (ultrix*): Likewise.
69705         (newsos*): Likewise.
69706         (dynix*): Likewise.
69707         (*bsd*): Likewise.
69708         (sysv*): Likewise.
69709         (isc*): Likewise.
69710         (esix*): Likewise.
69711         (sco*): Likewise.
69712         (minix*): Likewise.
69713         (irix4*): Likewise.
69714         (irix6*): Likewise.
69715         (solaris[2-9]*): Likewise.
69716         (none): Likewise.
69717         * configure: Regenerated.
69719 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69721         [BZ #11521]
69722         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
69723         overflow or cancellation in calculating denominator.
69724         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
69725         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
69726         down expression to avoid unexpected rounding in newer GCCs.
69727         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
69729 2012-04-26  David S. Miller  <davem@davemloft.net>
69731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
69732         long-double compat symbols.
69733         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69736         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
69737         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
69739         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
69740         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
69741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
69742         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
69743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
69744         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
69745         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
69747 2012-04-25  David S. Miller  <davem@davemloft.net>
69749         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
69750         HWCAP_* values only after the memory barriers have been defined.
69751         (atomic_full_barrier): Define.
69752         (atomic_read_barrier): Define.
69753         (atomic_write_barrier): Define.
69755 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
69757         * shlib-versions: Add libgcc_s version information.
69758         * sysdeps/generic/libgcc_s.h: Remove.
69759         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
69760         libgcc_s.h.
69761         * sysdeps/gnu/unwind-resume.c: Likewise.
69762         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
69764 2012-04-25  David S. Miller  <davem@davemloft.net>
69766         * sysdeps/unix/sparc/brk.S: Delete.
69767         * sysdeps/unix/sparc/dl-brk.S: Delete.
69768         * sysdeps/unix/sparc/pipe.S: Delete.
69769         * sysdeps/unix/sparc/sysdep.S: Delete.
69770         * sysdeps/unix/sparc/sysdep.h: Delete.
69771         * sysdeps/unix/sparc/vfork.S: Delete.
69772         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
69773         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
69774         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
69775         (ret_ERRVAL, r0, r1, MOVE): Define.
69776         (JUMPTARGET): Remove.
69777         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
69778         sysdeps/unix/sparc/sysdep.h
69779         (ENTRY, END): Remove.
69780         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
69782 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
69784         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
69785         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
69786         -DIS_IN_build.
69788         * timezone/README: Update upstream location and email address for
69789         tzcode and tzdata.
69790         * timezone/zdump.c: Update from tzcode 2012b.
69791         * timezone/zic.c: Likewise.
69793         * configure.in (libc_cv_as_needed): Remove test.
69794         * configure: Regenerated.
69795         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
69796         conditional definition.
69797         [$(have-as-needed) != yes] (no-as-needed): Likewise.
69798         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
69799         * config.make.in (have-as-needed): Remove variable.
69801 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
69802             Paul Pluzhnikov  <ppluzhnikov@google.com>
69804         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
69805         strings correctly.
69807 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
69809         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
69810         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
69811         * sysdeps/sh/strlen.S: Likewise.
69813 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69815         * sysdeps/unix/fork.S: Remove file.
69816         * sysdeps/unix/i386/fork.S: Likewise.
69817         * sysdeps/unix/sparc/fork.S: Likewise.
69819         * sysdeps/unix/system.c: Remove file.
69820         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
69822         * sysdeps/unix/getegid.S: Remove file.
69823         * sysdeps/unix/geteuid.S: Likewise.
69825 2012-04-24  Roland McGrath  <roland@hack.frob.com>
69827         * scripts/check-localplt.awk: New file.
69828         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
69829         of diff.
69830         * scripts/data/localplt-generic.data: Add a comment.
69832         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
69833         NODE when __dir_mkfile failed.
69834         * sysdeps/mach/hurd/symlinkat.c: Likewise.
69835         Reported by Ludovic Courtès <ludo@gnu.org>.
69837 2012-04-24  Andreas Jaeger  <aj@suse.de>
69839         * Makerules (common-clean): Also remove gen-as-const-headers
69840         files.
69842 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69844         * Makerules (native-compile): Do not change working directory for
69845         build.  Use $(OUTPUT_OPTION) in command.
69846         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
69848 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
69850         [BZ #13886]
69851         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
69852         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
69853         * math/libm-test.inc (floor_test): Add more tests.
69854         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
69856 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
69858         * sysdeps/unix/getdents.c: Remove file.
69859         * sysdeps/unix/sysv/getdents.c: Likewise.
69860         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
69862         * sysdeps/unix/syscalls.list (madvise): Add syscall from
69863         sysdeps/unix/mman/syscalls.list.
69864         (mmap): Likewise.
69865         (mprotect): Likewise.
69866         (msync): Likewise.
69867         (munmap): Likewise.
69868         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
69869         * sysdeps/unix/mman/syscalls.list: Remove.
69870         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
69872         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
69873         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
69874         * configure: Regenerated.
69875         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
69876         $(libgcc_s_suffix).
69877         * config.make.in (libgcc_s_suffix): Remove variable.
69879 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
69881         * sysdeps/unix/sysv/gethostname.c: Move to ...
69882         * sysdeps/posix/gethostname.c: ... here.
69884         * sysdeps/unix/execve.S: Remove file.
69886         * sysdeps/unix/_exit.S: Remove file.
69888 2012-04-23  Andreas Jaeger  <aj@suse.de>
69890         [BZ #13739]
69891         * manual/Makefile: Remove make dist support, there's no
69892         need for a stand-alone documentation tar ball.
69893         (TEXI2DVI): Define always, it's not in Makeconfig.
69894         (dist): Removed.
69895         (tar-it): Removed.
69896         (edition): Removed.
69897         (glibc-doc-$(edition).tar): Removed
69898         (%.Z): Removed.
69899         (%.gz): Removed.
69900         (%.uu): Removed.
69901         (ETAGS): Remove, it's in Makeconfig.
69902         (move-if-change): Remove, it's in Makeconfig.
69904 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
69906         [BZ #13970]
69907         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
69908         (strtod, strtof, strtold, strtol, strtoul, strtoq)
69909         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
69910         (strtod_l, strtof_l, strtold_l): Remove __wur.
69911         It is not necessarily an error to ignore strtol's return value.
69912         One can reliably look at the stored endptr to decide whether
69913         the number had valid syntax.
69915 2012-04-21  Andreas Jaeger  <aj@suse.de>
69917         [BZ #13739]
69918         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
69920 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
69922         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
69923         * sysdeps/unix/sysv/Versions: Remove file.
69925 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
69927         [BZ #13927]
69928         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
69930 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
69932         [BZ #7064]
69933         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
69934         version from __vm86.
69936 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
69938         * sysdeps/unix/common/lxstat.c: Remove file.
69939         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
69941         * sysdeps/unix/sysv/Makefile: Remove file.
69943         * sysdeps/unix/sysv/direct.h: Remove file.
69945         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
69946         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
69947         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
69948         * sysdeps/unix/sysv/bits/signum.h: Likewise.
69949         * sysdeps/unix/sysv/bits/stat.h: Likewise.
69950         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
69951         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
69953         * sysdeps/unix/sysv/setrlimit.c: Remove file.
69955         * sysdeps/unix/xmknod.c: Remove file.
69956         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
69958         * sysdeps/unix/sysv/settimeofday.c: Remove file.
69960         * sysdeps/unix/sysv/i386/time.S: Remove file.
69962         * sysdeps/unix/fxstat.c: Remove file.
69963         * sysdeps/unix/xstat.c: Likewise.
69964         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
69966         * sysdeps/unix/sysv/sigaction.c: Remove file.
69968         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
69969         (sysdep_headers): Remove variable.
69970         [termio.h not in sysdep_headers] (generated): Likewise.
69971         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
69972         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
69973         * sysdeps/unix/sysv/tcdrain.c: Likewise.
69974         * sysdeps/unix/sysv/tcflow.c: Likewise.
69975         * sysdeps/unix/sysv/tcflush.c: Likewise.
69976         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
69977         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
69978         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
69979         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
69980         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
69982         * sysdeps/unix/siglist.c: Remove file.
69984         * sysdeps/unix/getppid.S: Remove file.
69986         * sysdeps/unix/mkdir.c: Remove file.
69987         * sysdeps/unix/rmdir.c: Likewise.
69989 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
69991         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
69992         ERR_MAX value.
69993         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
69994         errlist-compat value.
69996 2012-04-18  David S. Miller  <davem@davemloft.net>
69998         * sysdeps/generic/memcopy.h (reg_char): Delete.
69999         * debug/strcat_chk.c: Use char, not reg_char.
70000         * debug/strcpy_chk.c: Likewise.
70001         * debug/strncat_chk.c: Likewise.
70002         * debug/strncpy_chk.c: Likewise.
70003         * string/memchr.c: Likewise.
70004         * string/memrchr.c: Likewise.
70005         * string/rawmemchr.c: Likewise.
70006         * string/strcat.c: Likewise.
70007         * string/strchr.c: Likewise.
70008         * string/strchrnul.c: Likewise.
70009         * string/strcmp.c: Likewise.
70010         * string/strcpy.c: Likewise.
70011         * string/strncat.c: Likewise.
70012         * string/strncmp.c: Likewise.
70013         * string/strncpy.c: Likewise.
70015 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70017         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
70018         __builtin_memcopy is called when src and dest ranges are known to not
70019         overlap.
70021 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70023         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
70024         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
70025         fwd_align_merge macro call.
70026         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
70027         bwd_align_merge macro call.
70028         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70030 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
70032         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
70033         bwd_align_merge macros.
70034         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
70035         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
70036         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
70038 2012-04-18  David S. Miller  <davem@davemloft.net>
70040         * sysdeps/sparc/sparc64/memcopy.h: Delete.
70042 2012-04-18  Andreas Jaeger  <aj@suse.de>
70044         [BZ# 6794]
70045         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
70046         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
70047         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70049         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
70050         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
70051         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70053         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
70054         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
70055         Adjust for changed ldbl-128 files.
70057         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
70058         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
70059         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
70061 2012-04-17  David S. Miller  <davem@davemloft.net>
70063         * sysdeps/sparc/sparc32/memcopy.h: Delete.
70065 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
70067         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
70068         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
70069         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
70070         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
70071         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
70072         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
70074 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
70076         [BZ #6794]
70077         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
70078         * math/libm-test.inc: Add ilogb errno and exception tests.
70079         * math/w_ilogb.c: New file: ilogb wrapper.
70080         * math/w_ilogbf.c: New file: ilogbf wrapper.
70081         * math/w_ilogbl.c: New file: ilogbl wrapper.
70082         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
70083         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
70084         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
70085         exception being thrown with 0.0 as argument.
70086         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
70087         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
70088         exception being thrown with 0.0 as argument.
70089         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
70090         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70091         exception being thrown with 0.0 as argument.
70092         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
70093         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
70094         exception being thrown with 0.0 as argument.
70095         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
70096         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
70097         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
70098         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
70099         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
70100         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
70101         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
70102         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
70103         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
70105 2012-04-17  Petr Baudis  <pasky@ucw.cz>
70107         * include/sys/uio.h: Change __vector to __iovec to avoid clash
70108         with altivec.
70110 2012-04-16  Marek Polacek  <polacek@redhat.com>
70112         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
70114 2012-04-16  Marek Polacek  <polacek@redhat.com>
70116         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
70117         operands of fdivp instruction.
70119 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70121         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
70122         * elf/tst-auditmod3b.c: Likewise.
70123         * elf/tst-auditmod4b.c: Likewise.
70124         * elf/tst-auditmod5b.c: Likewise.
70125         * elf/tst-auditmod6b.c: Likewise.
70126         * elf/tst-auditmod6c.c: Likewise.
70127         * elf/tst-auditmod7b.c: Likewise.
70128         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
70129         * sysdeps/x86_64/preconfigure.in: Likewise.
70130         * sysdeps/x86_64/preconfigure: Regenerated.
70132 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
70134         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
70135         __ILP32__.
70137 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
70139         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70140         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
70142 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
70144         [BZ #13973]
70145         * locale/iso-639.def: Fix gl language name. Spotted by
70146         Yaron Shahrabani.
70148 2012-04-12  Roland McGrath  <roland@hack.frob.com>
70150         [BZ #2074]
70151         * libio/libio.h (__io_write_fn): Update comment.
70153 2012-04-12  Petr Baudis  <pasky@ucw.cz>
70155         [BZ #2074]
70156         * stdio.texi (Hook Functions): The user provided writer function
70157         is not allowed to return -1.
70159 2012-04-11  David S. Miller  <davem@davemloft.net>
70161         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70163 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
70165         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
70166         Add a leading slash to rtkaio.
70168 2012-04-11  Jim Meyering  <meyering@redhat.com>
70170         [BZ #11959]
70171         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
70172         It is not necessarily an error to ignore fwrite's return
70173         value.  One can reliably use ferror to test for errors after
70174         the fact.
70176 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70178         * bits/types.h (__snseconds_t): New type.
70179         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
70181         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
70182         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
70183         (__SNSECONDS_T_TYPE): Likewise.
70184         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
70185         (__SNSECONDS_T_TYPE): Likewise.
70186         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
70187         (__SNSECONDS_T_TYPE): Likewise.
70189 2012-04-10  Andreas Jaeger  <aj@suse.de>
70191         [BZ #2636]
70192         * manual/time.texi (Processor Time): Return type of times is
70193         elapsed real time since an arbitrary point in the past.
70194         (CPU Time): Move CLK_TCK from here...
70195         (Processor Time): ...to here.  Correct description.
70196         * manual/conf.texi (Constants for Sysconf): Correct description of
70197         _SC_CLK_TCK.
70199 2012-04-10  David S. Miller  <davem@davemloft.net>
70201         [BZ #13967]
70202         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
70203         where the is a gap between DT_REL(A) and DT_JMPREL.
70205 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
70207         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
70208         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70209         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70211 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
70213         * elf/dl-support.c (_dl_inhibit_cache): New variable.
70214         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
70215         (dl_main): Handle --inhibit-cache.
70216         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
70217         _dl_inhibit_cache.
70218         * elf/dl-load.c (_dl_map_object): Use it.
70219         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
70221 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70223         [BZ #13872]
70224         * sysdeps/i386/fpu/e_powl.S (p78): New object.
70225         (__ieee754_powl): Saturate large exponents rather than testing for
70226         overflow of y*log2(x).
70227         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
70228         * math/libm-test.inc (pow_test): Do not permit spurious overflow
70229         exceptions.
70231         [BZ #11521]
70232         * math/s_ctan.c: Include <float.h>.
70233         (__ctan): Avoid internal overflow or cancellation in calculating
70234         denominator.
70235         * math/s_ctanf.c: Likewise.
70236         * math/s_ctanl.c: Likewise.
70237         * math/s_ctanh.c: Likewise.
70238         * math/s_ctanhf.c: Likewise.
70239         * math/s_ctanhl.c: Likewise.
70240         * math/libm-test.inc (ctan_test): Add more tests.
70241         (ctanh_test): Likewise.
70242         * sysdeps/i386/fpu/libm-test-ulps: Update.
70243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70245 2012-04-09  Andreas Jaeger  <aj@suse.de>
70247         [BZ #6894]
70248         * manual/filesys.texi (Directory Entries): Mention that d_namlen
70249         is an optional BSD extension.
70251         [BZ #10254]
70252         * manual/stdio.texi (Opening Streams): Document additional fopen
70253         parameters.
70255 2012-04-09  Roland McGrath  <roland@hack.frob.com>
70257         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
70258         %eax without telling the compiler.
70260 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
70262         [BZ # 13963]
70263         * manual/install.texi: Use sourceware.org.
70265 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
70267         [BZ #13873]
70268         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
70269         (__ieee754_pow): Generate overflow and underflow using huge*huge
70270         and tiny*tiny rather than just returning constant infinity or zero
70271         for large exponents.
70272         * math/libm-test.inc (pow_test): Require overflow exceptions for
70273         applicable cases of large exponents.
70275         [BZ #706]
70276         * sysdeps/i386/fpu/e_pow.S (p10): New object.
70277         (__ieee754_pow): Use iterative multiplication algorithm only for
70278         integer exponents with absolute value below 1024.  Check for odd
70279         integer exponents when using algorithm for real exponents.
70280         * math/libm-test.inc (pow_test): Add more tests.
70281         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70283 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
70285         [BZ #13705]
70286         * math/libm-test.inc (exp_test): Do not allow overflow exception
70287         on underflow test.
70289 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
70291         [BZ #13705]
70292         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
70293         instead of __kernel_standard_f.
70295 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
70297         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
70298         * sysdeps/x86_64/memset_chk.S: Likewise.
70300 2012-04-08  Andreas Jaeger  <aj@suse.de>
70302         [BZ #10153]
70303         * manual/startup.texi (Environment Access): Describe return value
70304         for putenv and setenv.
70306         [BZ #6895]
70307         * manual/filesys.texi (Directory Entries): Add description for
70308         DT_LNK.
70310         [BZ #6890]
70311         * manual/filesys.texi (Directory Entries): Clarify that it's file
70312         system not operating system in the description of DT_UNKNOWN.
70314         [BZ #6578]
70315         * manual/syslog.texi (closelog): Fix reference, it's openlog.
70317 2012-04-08  Stephen Compall  <s11@member.fsf.org>
70319         [BZ #6649]
70320         * manual/llio.texi (Opening and Closing Files): Add cross
70321         reference to explain mode argument.
70323 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
70325         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
70326         * sysdeps/x86_64/memset_chk.S: Likewise.
70328 2012-04-07  David S. Miller  <davem@davemloft.net>
70330         * elf/elf.h (R_SPARC_WDISP10): Define.
70331         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
70332         R_SPARC_SIZE32.
70333         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
70334         R_SPARC_SIZE64 and R_SPARC_H34.
70336 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
70338         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
70339         conditions and remove no longer applicable assertion.
70341 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70343         * bits/byteswap.h: Include <features.h>.
70344         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
70345         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
70347 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
70349         * bits/byteswap.h (__bswap_16): Removed.
70350         Include <bits/byteswap-16.h> to get __bswap_16.
70351         * sysdeps/i386/bits/byteswap.h: Likewise.
70352         * sysdeps/s390/bits/byteswap.h: Likewise.
70353         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70354         * bits/byteswap-16.h: New file.
70355         * sysdeps/i386/bits/byteswap-16.h: Likewise.
70356         * sysdeps/s390/bits/byteswap-16.h: Likewise.
70357         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
70358         * string/Makefile (headers): Add bits/byteswap-16.h.
70360 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
70362         [BZ #13895]
70363         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
70364         extra indirection.
70365         * nss/Makefile (tests-static, tests): Add tst-nss-static.
70366         * nss/tst-nss-static.c: New.
70368 2012-04-06  Robert Millan  <rmh@gnu.org>
70370         [BZ #6486]
70371         * manual/llio.texi (File Position Primitive): lseek
70372         refers to WHENCE when it really means OFFSET.
70374 2012-04-06  Andreas Jaeger  <aj@suse.de>
70376         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
70377         strncmp declarations.
70379         * abilist/libc.abilist: Add __poll and __ppoll.
70381 2012-04-05  David S. Miller  <davem@davemloft.net>
70383         * scripts/check-local-headers.sh: Accept a host triplet in the
70384         path matched by the exclude regexp.
70386         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
70387         definition.
70388         * sysdeps/powerpc/powerpc32/dl-machine.h
70389         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
70390         * sysdeps/s390/s390-32/dl-machine.h
70391         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70392         * sysdeps/sparc/sparc32/dl-machine.h
70393         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70394         * sysdeps/sparc/sparc64/dl-machine.h
70395         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
70397         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
70398         lazy binding.
70399         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
70400         undefined symbol errors.
70402         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
70403         DT_NEEDED entries.
70405 2012-04-05  Michael Matz  <matz@suse.de>
70407         [BZ #13592]
70408         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
70410 2012-04-05  Andreas Jaeger  <aj@suse.de>
70412         [BZ #13908]
70413         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
70414         comment.
70416 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70418         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
70419         which ROUND is no valid rounding mode.
70421 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70423         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
70424         read again.
70425         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
70427 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70429         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
70430         an exception using FPU order intentionally.
70432 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
70434         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
70435         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
70436         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
70437         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
70439 2012-04-05  Simon Josefsson  <simon@josefsson.org>
70441         [BZ #12340]
70442         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
70443         EINVAL when BUFLEN is too smal.
70445 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
70447         [BZ #13553]
70448         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
70449         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
70451 2012-04-03  Andreas Jaeger  <aj@suse.de>
70453         [BZ #13938]
70454         * manual/setjmp.texi (System V contexts): Fix sentence.
70456         [BZ #13926]
70457         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
70458         New macro for this case.
70459         [!__GNUC__] (__bswap_64): New inline function for this case.
70460         * sysdeps/x86_64/bits/byteswap.h: Likewise.
70461         * bits/byteswap.h: Likewise.
70462         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
70463         ull, guard with __GLIBC_HAVE_LONG_LONG.
70465         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
70466         __GLIBC_HAVE_LONG_LONG.
70468         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
70469         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
70471 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
70473         [BZ #13691]
70474         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
70475         inptr and inend, rather than using last_ch.
70477 2012-04-02  David S. Miller  <davem@davemloft.net>
70479         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
70480         * stdio-common/printf-parse.h (read_int): Change return type to
70481         'int', return -1 on INT_MAX overflow.
70482         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
70483         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
70484         overflows INT_MAX.  Check for overflow of in-format-string precision
70485         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
70486         SIZE_MAX not INT_MAX for integer overflow test.
70487         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
70488         skip the construct in the format string but do not record anything.
70489         * stdio-common/bug22.c: Adjust to test both width/prevision
70490         INT_MAX overflow as well as total length INT_MAX overflow.  Check
70491         explicitly for proper errno values.
70493 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
70495         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
70496         CHAR_MAX.
70497         * string/test-strcmp.c [! WIDE]: Likewise.
70498         * time/tst-mktime2.c: Likewise for INT_MAX.
70499         * string/test-string.h: #include <sys/param.h> for MIN.
70501         * csu/init-first.c (__libc_init_first): Call __ctype_init.
70502         * sysdeps/i386/init-first.c (init): Likewise.
70503         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
70504         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
70505         * sysdeps/sh/init-first.c (init): Likewise.
70507 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
70509         * po/ru.po: Update from translation team.
70510         * po/vi.po: Likewise.
70512 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70514         * resolv/nss_dns/dns-host.c: Merge copyright years.
70516 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
70518         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
70519         Optimize memcpy with prefetch if
70520         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
70521         src, dst pointers have unequal 16 byte alignments.
70523 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70525         [BZ #13928]
70526         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
70527         from a CNAME entry and return the minimum ttl for the query.
70528         (gaih_getanswer_slice): Likewise.
70530 2012-03-30  Jeff Law  <law@redhat.com>
70532         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
70533         due to long keys.
70534         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
70535         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
70537         * resolv/nss_dns/dns-host.c: Update copyright year.
70539 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
70541         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
70542         requests to save a system call.  Fix check that all bytes are sent.
70544         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
70545         comments for sendmmsg.
70547 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
70549         [BZ #13691]
70550         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
70551         with only 1 character between 0x0041 and 0x01b0.
70552         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
70553         * wcsmbs/tst-mbsnrtowcs.c: New file.
70555 2012-03-29  David S. Miller  <davem@davemloft.net>
70557         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
70558         small copies by hand.
70560 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70562         [BZ #13761]
70563         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
70564         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
70565         group memberships.
70567 2012-03-28  David S. Miller  <davem@davemloft.net>
70569         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
70570         that branches into memcpy.
70571         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
70572         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
70573         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70574         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
70575         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
70576         bits.
70577         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
70578         implementation too.
70579         * sysdeps/sparc/mempcpy.S: New file.
70581         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
70582         the IFUNC routine in the libc case.
70583         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
70585         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
70586         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
70587         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
70588         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
70589         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
70590         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
70591         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
70592         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
70594         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
70595         loop to 256 bytes instead of 64 bytes and fix test signedness.
70597         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
70598         * sysdeps/sparc/sparc32/Makefile: rather than here...
70599         * sysdeps/sparc/sparc64/Makefile: and here.
70601 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
70603         * malloc/mallocbug.c: Avoid warnings about unused variables.
70605 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
70607         [BZ #13760]
70608         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
70609         in the right place. Discard and retry query if response is
70610         larger than input buffer size.
70612 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
70614         [BZ #369]
70615         [BZ #2678]
70616         [BZ #3866]
70617         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
70618         x for large integer exponent.
70619         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
70620         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
70621         sign of result as needed afterwards.
70622         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
70623         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
70624         result for underflowing pow the same as for overflow.
70625         (__kernel_standard_l): Handle powl overflow and underflow here
70626         rather than calling __kernel_standard.
70627         * math/libm-test.inc (pow_test): Add more tests.
70629         [BZ #3868]
70630         [BZ #13879]
70631         [BZ #13910]
70632         [BZ #13911]
70633         [BZ #13912]
70634         [BZ #13913]
70635         [BZ #13915]
70636         [BZ #13916]
70637         [BZ #13917]
70638         [BZ #13918]
70639         [BZ #13919]
70640         [BZ #13920]
70641         [BZ #13921]
70642         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
70643         * sysdeps/ieee754/k_standard.c: Include <float.h>.
70644         (__kernel_standard_l): New function.
70645         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
70646         __kernel_standard.
70647         * math/w_acosl.c (__acosl): Likewise.
70648         * math/w_asinl.c (__asinl): Likewise.
70649         * math/w_atan2l.c (__atan2l): Likewise.
70650         * math/w_atanhl.c (__atanhl): Likewise.
70651         * math/w_coshl.c (__coshl): Likewise.
70652         * math/w_exp10l.c (__exp10l): Likewise.
70653         * math/w_exp2l.c (__exp2l): Likewise.
70654         * math/w_fmodl.c (__fmodl): Likewise.
70655         * math/w_hypotl.c (__hypotl): Likewise.
70656         * math/w_j0l.c (__j0l, __y0l): Likewise.
70657         * math/w_j1l.c (__j1l, __y1l): Likewise.
70658         * math/w_jnl.c (__jnl, __ynl): Likewise.
70659         * math/w_lgammal.c (__lgammal): Likewise.
70660         * math/w_log10l.c (__log10l): Likewise.
70661         * math/w_log2l.c (__log2l): Likewise.
70662         * math/w_logl.c (__logl): Likewise.
70663         * math/w_powl.c (__powl): Likewise.
70664         * math/w_remainderl.c (__remainderl): Likewise.
70665         * math/w_scalbl.c (sysv_scalbl): Likewise.
70666         * math/w_sinhl.c (__sinhl): Likewise.
70667         * math/w_sqrtl.c (__sqrtl): Likewise.
70668         * math/w_tgammal.c (__tgammal): Likewise.
70669         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
70670         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
70671         * math/libm-test.inc (acos_test): Add more tests.
70672         (acosh_test): Likewise.
70673         (asin_test): Likewise.
70674         (atanh_test): Likewise.
70675         (exp_test): Likewise.
70676         (exp10_test): Likewise.
70677         (exp2_test): Likewise.
70678         (expm1_test): Likewise.
70679         (lgamma_test): Likewise.
70680         (log_test): Likewise.
70681         (log10_test): Likewise.
70682         (log1p_test): Likewise.
70683         (log2_test): Likewise.
70684         (pow_test): Do not allow some spurious overflow exceptions.
70685         (sqrt_test): Add more tests.
70686         (tgamma_test): Likewise.
70687         (y0_test): Likewise.
70688         (y1_test): Likewise.
70689         (yn_test): Likewise.
70691 2012-03-27  Anton Blanchard  <anton@samba.org>
70693         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
70694         MAP_HUGETLB.
70695         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
70696         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
70697         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
70699 2012-03-27  David S. Miller  <davem@davemloft.net>
70701         * conform/Makefile: Run run-conformtest.sh using $(BASH).
70703         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
70704         have-as-vis3 check.
70706 2012-03-27  Andreas Jaeger  <aj@suse.de>
70708         * sysdeps/x86_64/elf/configure.in: Moved to ...
70709         * sysdeps/x86_64/configure.in: ... here.
70710         * sysdeps/x86_64/elf/start.S: Moved to ...
70711         * sysdeps/x86_64/start.S: ... here.
70712         * sysdeps/x86_64/elf/configure: Delete.
70714         * sysdeps/x86_64/configure.in: Merge contents from
70715         sysdeps/i386/configure.in (without i686 check).
70717         * sysdeps/i386/elf/Versions: Merge into ...
70718         * sysdeps/i386/Versions: ... this.
70719         * sysdeps/i386/elf/Versions: Delete file.
70720         * sysdeps/i386/elf/start.S: Moved to ...
70721         * sysdeps/i386/start.S: ...here.
70722         * sysdeps/i386/elf/configure.in: Merge into...
70723         * sysdeps/i386/configure.in: ...here.
70724         * sysdeps/i386/elf/configure.in: Delete file.
70725         * sysdeps/i386/elf/configure: Delete file.
70727         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
70728         * debug/backtracesyms.c: ... here.
70729         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
70730         * debug/backtracesymsfd.c: ... here.
70731         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
70732         * sysdeps/generic/ifunc-sel.h: ... here.
70734         * sysdeps/unix/i386/start.c: Delete file.
70735         * sysdeps/unix/sparc/start.c: Delete file.
70736         * sysdeps/unix/start.c: Delete file.
70738         * sysdeps/sh/elf/configure.in: Moved to ...
70739         * sysdeps/sh/configure.in: ... here.
70740         * sysdeps/sh/elf/start.S: Moved to ...
70741         * sysdeps/sh/start.S: ... here.
70742         * sysdeps/sh/elf/configure: Delete file.
70744         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
70745         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
70746         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
70747         * sysdeps/powerpc/powerpc64/entry.h: ... here.
70748         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
70749         * sysdeps/powerpc/powerpc64/start.S: here.
70750         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
70751         * sysdeps/powerpc/powerpc64/Makefile: ... this.
70752         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
70753         * sysdeps/powerpc/powerpc64/configure.in: ... this.
70754         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
70756         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
70757         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
70758         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
70759         * sysdeps/powerpc/powerpc32/start.S: ... here.
70760         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
70761         * sysdeps/powerpc/powerpc32/configure.in: ... this.
70762         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
70764         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
70765         * sysdeps/powerpc/ifunc-sel.h: ... here.
70766         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
70767         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
70769         * sysdeps/sparc/elf/configure.in: Moved to ...
70770         * sysdeps/sparc/configure.in: ... here.
70771         * sysdeps/sparc/elf/configure: Delete file.
70772         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
70773         * sysdeps/sparc/sparc32/start.S: ... here.
70774         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
70775         * sysdeps/sparc/sparc64/start.S: ... here.
70776         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
70777         * sysdeps/sparc/sparc32/Makefile: ... this.
70778         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
70779         * sysdeps/sparc/sparc64/Makefile: ... this.
70781         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
70782         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
70783         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
70784         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
70785         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
70786         * sysdeps/s390/s390-32/setjmp.S: ... here.
70787         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
70788         * sysdeps/s390/s390-32/configure.in: ... here.
70789         * sysdeps/s390/s390-32/elf/configure: Delete file.
70790         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
70791         * sysdeps/s390/s390-32/start.S: ... here.
70793         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
70794         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
70795         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
70796         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
70797         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
70798         * sysdeps/s390/s390-64/setjmp.S: ... here.
70799         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
70800         * sysdeps/s390/s390-64/configure.in: ... here
70801         * sysdeps/s390/s390-64/elf/configure: Delete file.
70802         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
70803         * sysdeps/s390/s390-64/start.S: ... here.
70804         * sysdeps/s390/s390-64/elf/configure: Delete.
70806         * configure.in: Remove support for elf directories in sysdeps.
70808         * configure: Regenerated.
70809         * sysdeps/i386/configure: Regenerated.
70810         * sysdeps/powerpc/powerpc32/configure: Regenerated.
70811         * sysdeps/powerpc/powerpc64/configure: Regenerated.
70812         * sysdeps/s390/s390-32/configure: Regenerated.
70813         * sysdeps/s390/s390-64/configure: Regenerated.
70814         * sysdeps/sh/configure: Regenerated.
70815         * sysdeps/sparc/configure: Regenerated.
70816         * sysdeps/x86_64/configure: Regenerated.
70818 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
70820         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70822         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
70823         denormal result into account.
70825 2012-03-25  Roland McGrath  <roland@hack.frob.com>
70827         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
70828         Reported by Allan McRae <allan@archlinux.org>.
70830 2012-03-23  Jeff Law  <law@redhat.com>
70832         * nss/getnssent.c (__nss_getent): Fix typo.
70834 2012-03-23  David S. Miller  <davem@davemloft.net>
70836         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70838 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
70840         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
70841         to pad to uint64_t for each field.
70842         (dl_tls_index): Replace unsigned long with uint64_t.
70844 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
70845         Paul Pluzhnikov  <ppluzhnikov@google.com>
70847         [BZ #6528]
70848         * grp/Makefile (otherlibs): Don't set it.
70849         * inet/Makefile (otherlibs): Likewise.
70850         * login/Makefile (otherlibs): Likewise.
70851         * nscd/Makefile (otherlibs): Likewise.
70852         * posix/Makefile (otherlibs): Likewise.
70853         * pwd/Makefile (otherlibs): Likewise.
70854         * rt/Makefile (otherlibs): Likewise.
70855         * sunrpc/Makefile (otherlibs): Likewise.
70856         * nss/Makefile (otherlibs): Likewise.
70857         Add libnss_files to routines and static-only-routines.
70858         ($(objpfx)getent): Remove rule.
70859         * resolv/Makefile: Add libnss_dns and libresolv to routines and
70860         static-only-routines.
70862 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70864         [BZ #13892]
70865         * math/s_cexp.c: Include <float.h>.
70866         (__cexp): Handle exp result overflowing not necessarily
70867         overflowing both real and imaginary parts of result.
70868         * math/s_cexpf.c: Likewise.
70869         * math/s_cexpl.c: Likewise.
70870         * math/libm-test.inc (cexp_test): Add more tests.
70871         * sysdeps/i386/fpu/libm-test-ulps: Update.
70872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70874 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70876         * include/link.h (ELFW): New macro.
70877         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
70878         Replace ELF64_R_TYPE with ELFW(R_TYPE).
70880 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70882         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
70883         with uint64_t.
70885 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70887         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
70888         declaration.
70889         (struct La_x32_retval): Likewise.
70891 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
70893         * sysdeps/x86_64/preconfigure.in: New file.
70894         * sysdeps/x86_64/preconfigure: New generated file.
70896 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
70898         [BZ #13824]
70899         * math/e_exp2l.c: Include <float.h>.
70900         (__ieee754_exp2l): Handle overflow and underflow cases
70901         separately.  Only pass fractional part of argument to
70902         __ieee754_expl.
70903         * math/libm-test.inc (exp2_test): Add more tests.
70905         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
70906         negating x to take absolute value.
70907         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
70908         Likewise.
70909         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
70910         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
70911         Likewise.
70912         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
70913         computing low part if x was negated.
70914         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
70916 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70918         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
70919         la_x32_gnu_pltexit.
70920         (pltexit): Cast int_retval to ptrdiff_t.
70921         * elf/tst-auditmod3b.c: Likewise.
70922         * elf/tst-auditmod4b.c: Likewise.
70923         * elf/tst-auditmod5b.c: Likewise.
70924         * elf/tst-auditmod6b.c: Likewise.
70925         * elf/tst-auditmod6c.c: Likewise.
70926         * elf/tst-auditmod7b.c: Likewise.
70928         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
70929         and x32_gnu_pltexit.
70931         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
70932         __ELF_NATIVE_CLASS.
70933         (La_x32_regs): New macro.
70934         (La_x32_retval): Likewise.
70935         (la_x32_gnu_pltenter): New function prototype.
70936         (la_x32_gnu_pltexit): Likewise.
70938 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
70940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
70941         exponent.
70943         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70945         * configure.in (libc_cv_cc_nofma): Check for option to disable
70946         generation of FMA instructions.
70947         * configure: Regenerate.
70948         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
70949         * sysdeps/ieee754/dbl-64/Makefile: New file.
70950         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
70951         Remove brandred-fma4.
70952         (CFLAGS-brandred-fma4.c): Remove.
70953         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
70954         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
70955         define.
70956         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
70957         define.
70959 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70961         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
70962         LLONG_MAX != LONG_MAX.
70963         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70964         (_fitoa_word): Likewise.
70965         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
70966         LLONG_MAX != LONG_MAX.
70967         * stdio-common/_itowa.h: Include <_itoa.h>.
70968         (_itowa_word): Use _ITOA_WORD_TYPE on value.
70969         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
70970         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
70971         only if not defined.
70972         (_ITOA_WORD_TYPE): Likewise.
70973         (_itoa_word): Use _ITOA_WORD_TYPE on value.
70974         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
70976 2012-03-21  David S. Miller  <davem@davemloft.net>
70978         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70980 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
70982         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
70983         of x86_64 when setting libc_cv_slibdir, libdir and
70984         libc_cv_localedir.
70985         * sysdeps/unix/sysv/linux/configure: Regenerated.
70987 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
70989         * manual/lang.texi (Old Varargs): Remove section.
70990         (How Variadic): Update menu.
70991         (va_start): Do not mention varargs.h.
70993 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
70994             Joseph Myers  <joseph@codesourcery.com>
70996         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
70997         link test.
70998         * configure: Regenerated.
71000 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
71002         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
71003         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
71004         conformtest.pl
71006 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71008         * NOTES: Remove.
71009         * Makefile (files-for-dist): Remove NOTES.
71010         (NOTES): Remove rule.
71011         * README: Don't refer to NOTES.
71012         * manual/creature.texi: Don't include macros.texi.
71013         * manual/intro.texi (creature.texi): Remove comment referring to
71014         NOTES.
71016         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
71017         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
71018         * configure: Regenerated.
71019         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
71020         LIBC_TRY_CC_OPTION.
71021         (libc_cv_as_i686): Likewise.
71022         (libc_cv_cc_avx): Likewise.
71023         (libc_cv_cc_sse2avx): Likewise.
71024         (libc_cv_cc_fma4): Likewise.
71025         (libc_cv_cc_novzeroupper): Likewise.
71026         * sysdeps/i386/configure: Regenerated.
71028         [BZ #13883]
71029         * sysdeps/i386/fpu/s_cexp.S: Remove.
71030         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71031         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71032         * math/libm-test.inc (cexp_test): Add more tests.
71033         * sysdeps/i386/fpu/libm-test-ulps: Update.
71034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71036 2012-03-21  Allan McRae  <allan@archlinux.org>
71038         * timezone/Makefile: Do not install iso3166.tab and zone.tab
71040 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
71042         [BZ #13871]
71043         * math/w_exp2.c: Do not include <float.h>.
71044         (o_threshold, u_threshold): Remove.
71045         (__exp2): Calculate result before checking finiteness and calling
71046         __kernel_standard.
71047         * math/w_exp2f.c: Likewise.
71048         * math/w_exp2l.c: Likewise.
71049         * math/libm-test.inc (exp2_test): Require overflow exception for
71050         1e6 input.
71052         [BZ #3866]
71053         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
71054         range of signed 64-bit integers before using fistpll.  Remove
71055         checks for whether integers fit in mantissa bits.
71056         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
71057         the range of signed 32-bit integers before using fistpl.  Remove
71058         checks for whether integers fit in mantissa bits.
71059         * sysdeps/i386/fpu/e_powl.S (p64): New object.
71060         (__ieee754_powl): Test for y outside the range of signed 64-bit
71061         integers before using fistpll.  Reduce 64-bit values to 63-bit
71062         ones as needed.
71063         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
71064         divide-by-zero is raised for zero to large negative powers.
71065         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
71066         (__ieee754_powl): Test for y outside the range of signed 64-bit
71067         integers before using fistpll.  Reduce 64-bit values to 63-bit
71068         ones as needed.
71069         * math/libm-test.inc (pow_test): Add more tests.
71071 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71073         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
71074         <stdio-common/_itoa.h>.
71075         * debug/segfault.c: Likewise.
71076         * elf/dl-cache.c: Likewise.
71077         * elf/dl-minimal.c: Likewise.
71078         * elf/dl-misc.c: Likewise.
71079         * elf/dl-sysdep.c: Likewise.
71080         * elf/dl-version.c: Likewise.
71081         * elf/rtld.c: Likewise.
71082         * hurd/hurdsock.c: Likewise.
71083         * hurd/lookup-retry.c: Likewise.
71084         * malloc/malloc.c: Likewise.
71085         * malloc/mtrace.c: Likewise.
71086         * nscd/nscd_getgr_r.c: Likewise.
71087         * nscd/nscd_getpw_r.c: Likewise.
71088         * nscd/nscd_getserv_r.c: Likewise.
71089         * posix/getopt_init.c: Likewise.
71090         * posix/wordexp.c: Likewise.
71091         * stdio-common/_itoa.c: Likewise.
71092         * stdio-common/printf_fphex.c: Likewise.
71093         * stdio-common/vfprintf.c: Likewise.
71094         * string/_strerror.c: Likewise.
71095         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
71096         * sysdeps/i386/i686/hp-timing.h: Likewise.
71097         * sysdeps/mach/_strerror.c: Likewise.
71098         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
71099         * sysdeps/mach/hurd/sethostid.c: Likewise.
71100         * sysdeps/mach/hurd/xmknodat.c: Likewise.
71101         * sysdeps/mach/xpg-strerror.c: Likewise.
71102         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
71103         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
71104         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
71105         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
71106         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
71107         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
71108         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
71109         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
71110         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
71111         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
71112         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
71113         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
71114         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
71115         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
71116         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
71117         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
71118         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
71119         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
71120         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
71121         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
71122         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
71124         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
71126         * stdio-common/_itoa.h: Moved to ...
71127         * sysdeps/generic/_itoa.h: Here.
71129         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
71131         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
71132         instead of "_itoa.h" and "_itowa.h".
71133         * stdio-common/vfprintf.: Likewise.
71135 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71137         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
71138         <bits/wordsize.h>.
71139         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
71140         (__signbit): Likwise.
71141         (llrintf): Likwise.
71142         (llrint): Likwise.
71144 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
71146         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
71147         __WORDSIZE != 64.
71149 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
71151         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
71152         OVERFLOW_EXCEPTION_OK.
71153         * math/libm-test.inc ("Philosophy"): Update comment about
71154         exception testing.
71155         (OVERFLOW_EXCEPTION): Define.
71156         (OVERFLOW_EXCEPTION_OK): Likewise.
71157         (INVALID_EXCEPTION_OK): Renumber.
71158         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71159         (IGNORE_ZERO_INF_SIGN): Likewise.
71160         (test_exceptions): Handle FE_OVERFLOW.
71161         (exp10_test): Expect overflow exceptions.
71162         (exp2_test): Likewise.
71163         (expm1_test): Likewise.
71164         (nextafter_test): Likewise.
71165         (pow_test): Likewise.
71166         (scalbn_test): Likewise.
71167         (scalbln_test): Likewise.
71169 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71171         * sysdeps/x86_64/bits/atomic.h
71172         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
71173         64bit integer.
71174         (atomic_exchange_acq): Likewise.
71175         (__arch_exchange_and_add_body): Likewise.
71176         (__arch_add_body): Likewise.
71177         (atomic_add_negative): Likewise.
71178         (atomic_add_zero): Likewise.
71180 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71182         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
71183         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
71185 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71187         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
71188         Check __x86_64__ instead of __WORDSIZE.
71190 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71192         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
71194 2012-03-19  David S. Miller  <davem@davemloft.net>
71196         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71198         * sysdeps/sparc/fpu/fenv_private.h: New file.
71199         * sysdeps/sparc/fpu/math_private.h: Use it.
71200         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
71201         Remove.
71202         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
71203         (libc_feholdexcept_setroundl): Remove.
71204         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
71205         Remove.
71206         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
71207         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
71209 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71211         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
71212         int64_t instead of long int.
71213         (INSERT_WORDS64): Likwise.
71215 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
71217         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
71218         _Unwind_GetCFA return to _Unwind_Ptr first.
71220 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
71222         [BZ #13629]
71223         * math/s_clog.c: Include <float.h>.
71224         (__clog): Scale large or subnormal inputs.
71225         * math/s_clogf.c: Likewise.
71226         * math/s_clogl.c: Likewise.
71227         * math/s_clog10.c: Include <float.h>.
71228         (M_LOG10_2): Define.
71229         (__clog10): Scale large or subnormal inputs.
71230         * math/s_clog10f.c: Likewise.
71231         * math/s_clog10l.c: Likewise.
71232         * math/libm-test.inc (clog_test): Add more tests.
71233         (clog10_test): Likewise.
71234         * sysdeps/i386/fpu/libm-test-ulps: Update.
71235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71237         [BZ #11451]
71238         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
71239         x and y.
71240         * math/libm-test.inc (atan2_test): Add another test.
71242         * Makerules (common-objdir-compile): Remove.
71243         * sysdeps/unix/Makefile (config-generated): Do not add
71244         $(unix-generated) to variable.
71245         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
71246         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
71247         Remove rule.
71248         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
71249         Likewise.
71250         [generic bits/local_lim.h] (before-compile): Do not append to
71251         variable.
71252         [generic bits/local_lim.h] (common-generated): Likewise.
71253         [generic sys/param.h] (before-compile): Do not append to variable.
71254         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
71255         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
71256         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
71257         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
71258         include.
71259         [generic sys/param.h] (sys/param.h-includes): Remove variable.
71260         [generic sys/param.h] (sys/param.h-includes): Remove rule.
71261         [generic sys/param.h] ($(addprefix
71262         $(common-objpfx),$(sys/param.h-includes))): Likewise.
71263         [generic sys/param.h] (common-generated): Do not append to
71264         variable.
71265         [generic sys/param.h] (sysdep_headers): Likewise.
71266         [generic bits/errno.h] (before-compile): Do not append to
71267         variable.
71268         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
71269         rule.
71270         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
71271         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
71272         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
71273         [generic bits/errno.h] (common-generated): Do not append to
71274         variable.
71275         [generic bits/ioctls.h] (before-compile): Do not append to
71276         variable.
71277         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
71278         rule.
71279         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
71280         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
71281         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
71282         rule.
71283         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
71284         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
71285         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
71286         [generic bits/ioctls.h] (common-generated): Do not append to
71287         variable.
71288         [generic sys/syscall.h] (syscall.h): Remove variable.
71289         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
71290         rule.
71291         [generic sys/syscall.h] (before-compile): Do not append to
71292         variable.
71293         [generic sys/syscall.h] (common-generated): Likewise.
71294         * sysdeps/unix/errnos-tmpl.c: Remove file.
71295         * sysdeps/unix/errnos.awk: Likewise.
71296         * sysdeps/unix/ioctls-tmpl.c: Likewise.
71297         * sysdeps/unix/ioctls.awk: Likewise.
71298         * sysdeps/unix/mk-local_lim.c: Likewise.
71299         * sysdeps/unix/snarf-ioctls: Likewise.
71301 2012-03-19  Richard Henderson  <rth@twiddle.net>
71303         * sysdeps/i386/fpu/fenv_private.h: New file.
71304         * sysdeps/i386/fpu/math_private.h: Use it.
71305         (math_opt_barrier, math_force_eval): Remove.
71306         (libc_feholdexcept_setround_53bit): Remove.
71307         (libc_feupdateenv_53bit): Remove.
71308         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71309         (math_opt_barrier, math_force_eval): Remove.
71310         (libc_feholdexcept): Remove.
71311         (libc_feholdexcept_setround): Remove.
71312         (libc_fetestexcept, libc_fesetenv): Remove.
71313         (libc_feupdateenv_test): Remove.
71314         (libc_feupdateenv, libc_feholdsetround): Remove.
71315         (libc_feresetround): Remove.
71317         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
71318         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
71320         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
71321         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
71322         (libc_feupdateenv_testl): New.
71323         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
71324         (libc_feupdateenv_testf): New.
71325         (libc_feupdateenv): Use libc_feupdateenv_test.
71326         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
71327         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
71329         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
71330         (libc_feholdsetroundf, libc_feholdsetroundl): New.
71331         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
71332         (libc_feresetround_noex): New.
71333         (libc_feresetround_noexf): New.
71334         (libc_feresetround_noexl): New.
71335         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
71336         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
71337         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
71338         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
71339         SET_RESTORE_ROUND.
71340         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
71341         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
71342         (__cos): Likewise.
71343         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
71344         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
71345         SET_RESTORE_ROUND_NOEX.
71346         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
71347         SET_RESTORE_ROUND_NOEXF.
71348         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
71349         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
71350         (libc_feholdsetroundf): New.
71351         (libc_feresetround, libc_feresetroundf): New.
71353         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
71354         (libc_feholdexcept_setround_53bit): Convert from macro to function.
71355         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
71357         * sysdeps/generic/math_private.h: Include <fenv.h>.
71358         (default_libc_feholdexcept): New.
71359         (default_libc_feholdexcept_setround): New.
71360         (default_libc_fesetenv, default_libc_feupdateenv): New.
71361         (libc_feholdexcept): Only define if undefined.
71362         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
71363         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
71364         (libc_feholdexcept_setroundl): Likewise.
71365         (libc_feholdexcept_setround_53bit): Likewise.
71366         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
71367         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
71368         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
71369         (libc_feupdateenv_53bit): Likewise.
71370         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
71371         (libc_feholdexcept): Convert from macro to inline function.
71372         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
71373         (libc_fesetenv, libc_feupdateenv): Likewise.
71375         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
71376         not previously defined.
71377         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
71378         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
71379         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
71380         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
71381         * sysdeps/ieee754/flt-32/math_private.h: New file.
71382         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
71383         math_private.h below SET_FLOAT_WORD.
71384         (__isnan, __isinf_ns, __finite): Remove.
71385         (__isnanf, __isinf_nsf, __finitef): Remove.
71387 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
71389         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71391 2012-03-17  David S. Miller  <davem@davemloft.net>
71393         [BZ #6471]
71394         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
71395         for 2.16.
71397 2012-03-16  David S. Miller  <davem@davemloft.net>
71399         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
71400         warnings.
71402         [BZ #6471]
71403         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
71404         properly.
71405         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
71406         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
71407         sysdep_routines when subdir is sysvipc.
71408         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
71409         __getshmlba helper.
71411         * sysdeps/sparc/fpu/libm-test/ulps: Update.
71413 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71415         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
71416         [__LP64__].
71418 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71420         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
71421         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
71422         (__lround): Renamed to ...
71423         (__llround): This.  Replace long int with long long int.
71424         Define lround functions as aliases of llround functions.
71425         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
71427 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71429         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
71430         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
71431         adresses to uintptr_t.  Replace "long int" and "unsigned long
71432         int" with "greg_t" on va_arg.
71434 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71436         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
71437         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
71439         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
71440         Move e_machine check before EI_CLASS check.  Handle x32
71441         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
71442         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
71443         SKIP_EM_IA_64 and include
71444         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
71446         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
71447         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
71448         (add_system_dir): New macro.
71450         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
71451         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
71453 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71455         [BZ #2551]
71456         [BZ #2552]
71457         [BZ #2553]
71458         [BZ #2554]
71459         [BZ #2562]
71460         [BZ #2563]
71461         [BZ #2565]
71462         [BZ #2566]
71463         [BZ #2576]
71464         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
71465         (y0): Likewise.
71466         * math/w_j0f.c (j0f): Likewise.
71467         (y0f): Likewise.
71468         * math/w_j0l.c (__j0l): Likewise.
71469         (__y0l): Likewise.
71470         * math/w_j1.c (j1): Likewise.
71471         (y1): Likewise.
71472         * math/w_j1f.c (j1f): Likewise.
71473         (y1f): Likewise.
71474         * math/w_j1l.c (__j1l): Likewise.
71475         (__y1l): Likewise.
71476         * math/w_jn.c (jn): Likewise.
71477         (yn): Likewise.
71478         * math/w_jnf.c (jnf): Likewise.
71479         (ynf): Likewise.
71480         * math/w_jnl.c (__jnl): Likewise.
71481         (__ynl): Likewise.
71482         * math/libm-test.inc (j0_test): Add more tests.
71483         (j1_test): Likewise.
71484         (jn_test): Likewise.  Add trailing semicolon to existing test.
71485         (y0_test): Likewise.
71486         (y1_test): Likewise.
71487         * sysdeps/i386/fpu/libm-test-ulps: Update.
71488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71490         [BZ #13851]
71491         [BZ #13854]
71492         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
71493         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
71494         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
71495         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
71496         (__tanl): Set errno for infinite argument.
71497         * sysdeps/i386/fpu/mptan.c: Remove.
71498         * sysdeps/i386/fpu/s_tan.S: Likewise.
71499         * sysdeps/i386/fpu/s_tanl.S: Likewise.
71500         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
71501         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
71502         * math/libm-test.inc (tan_test): Add more tests and enable more
71503         tests for double and long double.
71504         * sysdeps/i386/fpu/libm-test-ulps: Update.
71505         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71507 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
71509         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
71510         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
71512 2012-03-16  Roland McGrath  <roland@hack.frob.com>
71514         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
71515         * configure.in: Use it for both main tree and add-ons.
71516         * configure: Regenerated.
71518 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
71520         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
71522 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
71524         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
71525         in comment.
71527         [BZ #13851]
71528         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
71529         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
71530         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
71531         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
71532         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
71533         infinite argument.
71534         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
71535         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
71536         != 0 for prec == 2.
71537         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
71538         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
71539         * sysdeps/i386/fpu/s_cosl.S: Likewise.
71540         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
71541         * sysdeps/i386/fpu/s_sinl.S: Likewise.
71542         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
71543         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
71544         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
71545         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
71546         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
71547         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
71548         * math/libm-test.inc (cos_test): Add more tests and enable more
71549         tests for long double.
71550         (sin_test): Likewise.
71551         (sincos_test): Likewise.
71552         * sysdeps/i386/fpu/libm-test-ulps: Update.
71553         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71555 2012-03-16  David S. Miller  <davem@davemloft.net>
71557         * sysdeps/sparc/fpu/math_private.h: New file.
71559 2012-03-15  David S. Miller  <davem@davemloft.net>
71561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
71562         file.
71563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
71564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
71565         file.
71566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
71567         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
71568         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
71569         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
71570         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
71571         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
71572         sysdep routines.
71573         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71575         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
71576         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
71578         * sysdeps/sparc/sparc-ifunc.h: New file.
71579         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
71580         sparc-ifunc.h
71581         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
71582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
71583         Likewise.
71584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
71585         Likewise.
71586         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
71587         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
71588         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
71589         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
71590         Likewise.
71591         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
71592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
71593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
71594         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
71595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
71596         Likewise.
71597         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
71598         Likewise.
71599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
71600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
71601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
71602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
71603         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
71604         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
71605         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
71606         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
71607         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
71608         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
71609         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
71610         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
71611         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
71612         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
71613         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
71614         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
71615         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
71616         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
71617         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
71618         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
71619         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
71620         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
71621         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
71622         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
71624 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71626         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
71627         scaling.
71628         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71630 2012-03-15  Andreas Jaeger  <aj@suse.de>
71632         [BZ #13852]
71633         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
71634         ieee754/flt-32 implementation for sin, cos and sincos.
71635         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
71636         * sysdeps/i386/fpu/s_cosf.S: Likewise.
71637         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
71638         * sysdeps/i386/fpu/s_sinf.S: Likewise.
71639         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
71640         ieee754/flt-32 implementation for tan.
71642         * math/libm-test.inc (cos_test): Enable some large input tests for
71643         float as well
71644         (sin_test): Likewise.
71645         (sincos_test): Likewise.
71646         (tan_test): Add tests for large input.
71648         * sysdeps/i386/fpu/libm-test-ulps: Update.
71650 2012-03-15  Andreas Jaeger  <aj@suse.de>
71652         [BZ #13658]
71653         * math/libm-test.inc (cos_test): Add more test cases.
71654         (sin_test): Likewise.
71655         (sincos_test): Likewise.
71657 2012-03-15  Andreas Jaeger  <aj@suse.de>
71659         [BZ #13837]
71660         * math/libm-test.inc (cos_test): Add a test case for large input
71661         value.
71662         (sin_test): Likewise.
71663         (sincos_test): Likewise.
71665 2012-03-15  Andreas Jaeger  <aj@suse.de>
71666             Joseph Myers  <joseph@codesourcery.com>
71668         [BZ #13658]
71669         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
71670         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
71671         * sysdeps/i386/fpu/branred.c: Likewise.
71672         * sysdeps/i386/fpu/dosincos.c: Likewise.
71673         * sysdeps/i386/fpu/mpa.c: Likewise.
71674         * sysdeps/i386/fpu/s_cos.S: Likewise.
71675         * sysdeps/i386/fpu/s_sin.S: Likewise.
71676         * sysdeps/i386/fpu/s_sincos.S: Likewise.
71677         * sysdeps/i386/fpu/sincos32.c: Likewise.
71679         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
71680         Define.
71681         (libc_feupdateenv_53bit): Define.
71682         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
71683         Define.
71684         (libc_feupdateenv_53bit): Define.
71686         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
71687         53 bit (without extend i386 double precision).
71689         * math/libm-test.inc (sincos_test): Add tests for large input.
71690         (sin): Likewise.
71691         (cos): Likewise.
71693         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
71695 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
71697         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71699 2012-03-15  David S. Miller  <davem@davemloft.net>
71701         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
71702         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
71703         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
71704         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
71705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
71706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
71707         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
71708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
71709         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
71710         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
71711         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
71712         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
71713         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
71714         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
71715         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
71716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
71717         file.
71718         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
71719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
71720         file.
71721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
71722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
71723         file.
71724         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
71725         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
71726         file.
71727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
71728         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
71729         fmin/fmax sysdep routines.
71730         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
71732 2012-03-14  David S. Miller  <davem@davemloft.net>
71734         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
71735         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
71736         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
71737         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
71738         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
71739         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
71740         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
71741         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
71742         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
71743         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
71744         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
71745         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
71746         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
71747         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
71748         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
71749         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
71750         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
71751         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
71752         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
71753         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
71754         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
71755         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
71756         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
71757         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
71758         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
71759         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
71760         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
71761         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
71762         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
71763         routines.
71764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
71765         file.
71766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
71767         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
71768         file.
71769         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
71770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
71771         file.
71772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
71773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
71774         file.
71775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
71776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
71777         file.
71778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
71779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
71780         file.
71781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
71782         file.
71783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
71784         file.
71785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
71786         file.
71787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
71788         New file.
71789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
71790         file.
71791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
71792         file.
71793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
71794         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
71795         file.
71796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
71797         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
71798         file.
71799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
71800         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
71801         file.
71802         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
71803         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
71804         VIS3 routines.
71806         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
71807         New file.
71809         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71811         * sysdeps/sparc/configure.in: New file.
71812         * sysdeps/sparc/configure: Generate.
71813         * configure.in (libc_cv_sparc_as_vis3): Substitute.
71814         * configure: Regenerate.
71815         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
71816         * config.make.in (have-as-vis3): New.
71817         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
71818         available use -Av9d instead of -Av9a.
71819         * sysdeps/sparc/sparc64/Makefile: Likewise.
71820         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
71821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
71822         New file.
71823         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
71824         file.
71825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
71826         New file.
71827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
71828         file.
71829         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
71830         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
71831         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
71832         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
71833         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
71835         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
71836         fzeros/fnegs to load 0x80000000 into a float register instead of
71837         using the stack.
71838         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
71840 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71843         bits/syscall.h.
71844         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
71845         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
71846         ($(inst_includedir)/bits/syscall.h): Remove rule.
71847         ($(objpfx)bits/syscall.d): Include instead of
71848         $(objpfx)syscall-list.d.
71849         (generated): Change syscall-list.h and syscall-list.d to
71850         bits/syscall.h and bits/syscall.d.
71852 2012-03-14  Roland McGrath  <roland@hack.frob.com>
71854         [BZ #13846]
71855         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
71857 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
71859         [BZ #13841]
71860         * math/s_csqrt.c: Include <float.h>.
71861         (__csqrt): Scale large or subnormal inputs.
71862         * math/s_csqrtf.c: Likewise.
71863         * math/s_csqrtl.c: Likewise.
71864         * math/libm-test.inc (csqrt_test): Add more tests.
71865         * sysdeps/i386/fpu/libm-test-ulps: Update.
71866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71868         [BZ #13840]
71869         * math/libm-test.inc (hypot_test): Add more tests.
71871 2012-03-13  David S. Miller  <davem@davemloft.net>
71873         [BZ #13840]
71874         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
71875         double-precision for the calculation instead of scaling.
71877 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
71879         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
71880         manipulate bits before adding and subtracting TWO52[sx].
71881         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
71882         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
71883         Likewise.
71884         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
71886 2012-03-13  David S. Miller  <davem@davemloft.net>
71888         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
71889         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
71890         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
71891         rtld-global-offsets.h
71892         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71894         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
71895         large parameters.
71897         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
71899         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
71900         'err' in the ifdef scope in which it is actually used.
71902         * nss/nss_db/db-init.c: Include string.h
71904 2012-03-12  David S. Miller  <davem@davemloft.net>
71906         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
71907         masking out of the most significant byte of random value used.
71908         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71909         Fix coding style in previous change.
71911         * sysdeps/unix/sysv/linux/kernel-features.h
71912         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
71913         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
71914         expression.
71915         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
71916         later.
71918 2012-03-11  David S. Miller  <davem@davemloft.net>
71920         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71921         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
71922         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
71923         for 'resultvar' otherwise things get truncated on 64-bit.
71925         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
71926         Fix masking out of the most significant byte of random value used.
71928         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71930 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
71932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71934 2012-03-09  David S. Miller  <davem@davemloft.net>
71936         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
71937         variables with appropriate CPP guards.
71938         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
71939         from the frame pointer, not the stack pointer.  Correct layout
71940         comments.  Fix test on resulting framesize and the management of
71941         the outregs buffer for pltexit.  Preserve floating point return
71942         values across _dl_call_pltexit call.
71943         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
71944         framesize and the management of the outregs buffer for pltexit.
71945         Preserve floating point return values across _dl_call_pltexit
71946         call.
71947         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
71948         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
71949         (la_sparc64_gnu_pltexit): New functions.
71950         (print_exit): Fix format string for return register value.
71952 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
71954         * sunrpc/Makefile (others): Add rpcgen.
71955         ($(objpfx)rpcgen): Remove special build rule and dependency on
71956         libc.
71957         * sunrpc/rpcgen.c: New file.
71959 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
71961         [BZ #13673]
71962         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
71963         * stdio-common/bug-vfprintf-nargs.c: Likewise.
71964         * sysdeps/i386/crti.S: Likewise.
71965         * sysdeps/i386/crtn.S: Likewise.
71966         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
71967         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
71968         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
71969         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
71970         * sysdeps/sh/crti.S: Likewise.
71971         * sysdeps/sh/crtn.S: Likewise.
71972         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
71974         [BZ #13673]
71975         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
71976         with URL.
71977         * locale/programs/locfile-kw.gperf: Likewise.
71978         * locale/programs/charmap-kw.h: Regenerated.
71979         * locale/programs/locfile-kw.h: Likewise.
71981         [BZ #13673]
71982         * intl/plural.y: Replace FSF snail mail address with URL.
71983         * intl/plural.c: Regenerated.
71985 2012-03-09  Richard Henderson  <rth@twiddle.net>
71987         * include/math_private.h: Remove file.
71988         * math/math_private.h: Move file ...
71989         * sysdeps/generic/math_private.h: ... here.
71991         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
71992         * sysdeps/powerpc/fpu/math_private.h: Likewise.
71993         * sysdeps/x86_64/fpu/math_private.h: Likewise.
71995         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
71996         and <math_private.h>.
71997         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
71998         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
71999         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72000         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72001         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72002         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
72003         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
72004         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
72005         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
72006         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
72007         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
72008         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
72009         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
72010         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
72011         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
72012         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
72013         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
72014         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
72015         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
72016         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
72017         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
72018         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
72019         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
72020         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
72021         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
72022         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
72023         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
72024         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
72025         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
72026         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72027         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
72028         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
72029         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
72030         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
72031         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72032         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72033         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
72034         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72035         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72036         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72037         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
72038         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72039         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72040         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
72041         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
72042         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72043         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
72044         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
72045         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
72046         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72047         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
72048         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
72049         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
72050         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72051         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
72052         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
72053         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
72054         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
72055         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
72056         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
72057         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
72058         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
72059         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
72060         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72061         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
72062         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
72063         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
72064         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
72065         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
72066         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
72067         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
72068         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
72069         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
72070         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
72071         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
72072         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
72073         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
72074         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72075         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
72076         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
72077         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
72078         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
72079         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
72080         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
72081         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
72082         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
72083         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
72084         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
72085         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
72086         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72087         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72088         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
72089         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
72090         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
72091         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
72092         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
72093         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
72094         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
72095         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
72096         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
72097         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
72098         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
72099         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
72100         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
72101         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72102         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
72103         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
72104         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
72105         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72106         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72107         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72108         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72109         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
72110         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72111         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
72112         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
72113         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72114         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72115         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72116         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
72117         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72118         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72119         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
72120         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
72121         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72122         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72123         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
72124         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
72125         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72126         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
72127         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
72128         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
72129         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72130         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
72131         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
72132         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72133         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
72134         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72135         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
72136         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
72137         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
72138         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72139         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72140         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
72141         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
72142         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72143         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72144         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72145         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
72146         * sysdeps/ieee754/k_standard.c: Likewise.
72147         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
72148         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
72149         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72150         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
72151         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
72152         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
72153         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
72154         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
72155         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
72156         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
72157         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
72158         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
72159         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
72160         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
72161         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
72162         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
72163         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
72164         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
72165         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
72166         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
72167         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
72168         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
72169         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72170         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72171         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
72172         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
72173         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72174         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72175         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72176         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72177         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
72178         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72179         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72180         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72181         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
72182         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72183         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72184         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
72185         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
72186         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72187         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
72188         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
72189         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
72190         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72191         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
72192         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
72193         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72194         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72195         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72196         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72197         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72198         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
72199         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72200         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
72201         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72202         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72203         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
72204         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
72205         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72206         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72207         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72208         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
72209         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72210         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
72211         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72212         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72213         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
72214         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
72215         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
72216         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
72217         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
72218         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72219         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
72220         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
72221         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
72222         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
72223         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
72224         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
72225         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72226         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
72227         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
72228         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
72229         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72230         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72231         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
72232         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72233         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72234         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
72235         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
72236         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72237         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
72238         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72239         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
72240         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
72241         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72242         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72243         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
72244         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
72245         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
72246         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
72247         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72248         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72249         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72250         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72251         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
72252         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72253         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72254         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
72255         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
72256         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72257         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72258         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72259         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
72260         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72261         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
72262         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
72263         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
72264         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72265         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
72266         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
72267         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
72268         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
72269         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
72270         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
72271         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72272         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
72273         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72274         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72275         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72276         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72277         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72278         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72279         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72280         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
72281         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72282         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72283         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
72284         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
72285         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72286         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
72287         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
72288         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72289         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
72290         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
72291         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72292         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72293         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72294         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72295         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72296         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
72297         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72298         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
72299         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72300         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72301         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
72302         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
72303         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72304         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72305         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72306         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
72307         * sysdeps/ieee754/s_lib_version.c: Likewise.
72308         * sysdeps/ieee754/s_matherr.c: Likewise.
72309         * sysdeps/ieee754/s_signgam.c: Likewise.
72310         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
72311         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
72312         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
72313         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
72314         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
72315         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
72316         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
72317         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
72318         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
72319         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
72320         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
72321         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
72322         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72323         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72324         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
72325         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
72326         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
72327         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
72328         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
72329         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72330         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72332 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72334         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
72335         * sunrpc/rpc_main.c: Likewise.
72336         * sunrpc/rpc_svcout.c: Likewise.
72338 2012-03-09  David S. Miller  <davem@davemloft.net>
72340         * include/math_private.h: New file.
72342 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
72344         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
72345         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
72346         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
72347         from <bits/socket_type.h>.
72348         (enum __socket_type): Don't define here.
72349         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
72350         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72351         bits/socket_type.h.
72353         [BZ #13566]
72354         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
72355         checking __USE_GNU.
72357         * Makerules ($(inst_includedir)/%.h): New rule.
72358         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
72359         (install-others): Remove variable setting.
72360         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
72362 2012-03-08  Richard Henderson  <rth@twiddle.net>
72364         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
72365         from macro to inline function; merge with the
72366         !__LIBC_INTERNAL_MATH_INLINES version.
72367         (__ieee754_sqrtf): Likewise.
72369         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
72370         to inline function.
72371         (__rintf, __floor, __floorf): Likewise.
72373         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
72374         macro to inline function.
72375         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
72377         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
72378         not <math/math_private.h>.
72380 2012-03-08  David S. Miller  <davem@davemloft.net>
72382         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
72383         copyright year.
72384         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
72386 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
72388         * resolv/gai_misc.c (handle_requests): Fix struct timespec
72389         normalization.
72390         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
72391         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
72393 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
72395         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
72396         be defined individually, they must be defined as a block.  Define
72397         S for printing a string instead of hidint the different by using a
72398         macro for adding the 'l'.
72399         * stdio-common/tst-fphex-wide.c: Adjust.
72401 2012-03-07  Marek Polacek  <polacek@redhat.com>
72403         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
72405 2012-03-08  Marek Polacek  <polacek@redhat.com>
72407         [BZ #13806]
72408         * stdio-common/Makefile (tests): Add tst-fphex-wide.
72409         * stdio-common/tst-fphex.c: Define a few macros to make the
72410         test reusable.  Use them.
72411         * stdio-common/tst-fphex-wide.c: New file.
72413 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
72415         [BZ #6911]
72416         * manual/macros.texi (gnusystems): New macro.
72417         (nongnusystems): Likewise.
72418         (gnulinuxhurdsystems): Likewise.
72419         (gnuhurdsystems): Likewise..
72420         (gnulinuxsystems): Likewise.
72421         * manual/charset.texi: Use new macros or @theglibc{} to refer to
72422         variants of the GNU system, not "GNU system".
72423         * manual/conf.texi: Likewise.
72424         * manual/errno.texi: Likewise.  Update example of errno macro
72425         expansion.
72426         * manual/filesys.texi: Likewise.
72427         (getumask): Document as specific to GNU/Hurd.
72428         * manual/install.texi: Likewise.  Reword some references to
72429         GNU/Linux.
72430         * manual/intro.texi: Likewise.
72431         * manual/io.texi: Likewise.
72432         (File Name Portability): Detail which constraints are inapplicable
72433         to all GNU systems and which are only inapplicable to GNU/Hurd.
72434         * manual/job.texi: Likewise.
72435         * manual/llio.texi: Likewise.
72436         (O_NOCTTY): Document as present on GNU/Linux.
72437         * manual/maint.texi: Likewise.
72438         * manual/memory.texi: Likewise.
72439         * manual/pattern.texi: Likewise.
72440         * manual/pipe.texi: Likewise.
72441         * manual/process.texi: Likewise.
72442         * manual/resource.texi: Likewise.
72443         (RUSAGE_CHILDREN): Remove statement about specifying a particular
72444         child on GNU/Hurd.
72445         * manual/setjmp.texi: Likewise.
72446         * manual/signal.texi: Likewise.
72447         * manual/startup.texi: Likewise.
72448         * manual/stdio.texi: Likewise.
72449         * manual/terminal.texi: Likewise.
72450         (ONLCR): Document as POSIX.
72451         (OXTABS): Document availability on GNU/Linux as XTABS.
72452         (ONOEOT): Document availability separately from other bits.
72453         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
72454         * manual/time.texi: Likewise.
72455         * manual/users.texi: Likewise.
72456         * INSTALL: Regenerated.
72457         * sysdeps/gnu/errlist.c: Regenerated.
72459         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
72460         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
72461         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
72462         puts.
72463         * configure: Regenerated.
72465 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
72467         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
72468         default includes instead of AC_HEADER_CHECK.
72469         * sysdeps/i386/configure: Regenerated.
72471         [BZ #10716]
72472         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
72473         * math/s_cacoshf.c (__cacoshf): Likewise.
72474         * math/s_cacoshl.c (__cacoshl): Likewise.
72475         * math/s_casinh.c (__casinh): Set signs of result from argument.
72476         * math/s_casinhf.c (__casinhf): Likewise.
72477         * math/s_casinhl.c (__casinhl): Likewise.
72478         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
72479         (casinh_test): Add more tests.
72480         * sysdeps/i386/fpu/libm-test-ulps: Update.
72481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72483 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
72485         * po/zh_TW.po: Update from translation team.
72487         * login/Makefile (distribute): Remove variable.
72488         * catgets/Makefile: Likewise.
72489         * mach/Makefile: Likewise.
72490         * malloc/Makefile: Likewise.
72491         * misc/Makefile: Likewise.
72492         * iconv/Makefile: Likewise.
72493         * nscd/Makefile: Likewise.
72494         * hurd/Makefile: Likewise.
72495         * manual/Makefile: Likewise.
72496         * locale/Makefile: Likewise.
72497         * intl/Makefile: Likewise.
72498         * conform/Makefile: Likewise.
72499         * nss/Makefile: Likewise.
72500         * time/Makefile: Likewise.
72501         * soft-fp/Makefile: Likewise.
72502         * dirent/Makefile: Likewise.
72503         * gmon/Makefile: Likewise.
72504         * po/Makefile: Likewise.
72505         * rt/Makefile: Likewise.
72506         * socket/Makefile: Likewise.
72507         * math/Makefile: Likewise.
72508         * signal/Makefile: Likewise.
72509         * debug/Makefile: Likewise.
72510         * elf/Makefile: Likewise.
72511         * timezone/Makefile: Likewise.
72512         * stdlib/Makefile: Likewise.
72513         * iconvdata/Makefile: Likewise.
72514         * sunrpc/Makefile: Likewise.
72515         * io/Makefile: Likewise.
72516         * argp/Makefile: Likewise.
72517         * inet/Makefile: Likewise.
72518         * hesiod/Makefile: Likewise.
72519         * grp/Makefile: Likewise.
72520         * csu/Makefile: Likewise.
72521         * wctype/Makefile: Likewise.
72522         * crypt/Makefile: Likewise.
72523         * libio/Makefile: Likewise.
72524         * string/Makefile: Likewise.
72525         * nis/Makefile: Likewise.
72526         * resolv/Makefile: Likewise.
72527         * stdio-common/Makefile: Likewise.
72528         * wcsmbs/Makefile: Likewise.
72529         * dlfcn/Makefile: Likewise.
72530         * posix/Makefile: Likewise.
72532         [BZ #6959]
72533         * timezone/Makefile: Don't install timezone files, just the programs
72534         and scripts.
72536 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
72538         * nss/databases.def: Add missing gshadow entry.
72540         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
72542 2012-03-06  Marek Polacek  <polacek@redhat.com>
72544         [BZ #13726]
72545         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
72546         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
72547         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
72548         * stdio-common/tst-long-dbl-fphex.c: New file.
72550 2012-03-06  David S. Miller  <davem@davemloft.net>
72552         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72553         (set_obp_int): New function.
72554         (get_obp_int): New function.
72555         (__get_clockfreq_via_dev_openprom): Likewise.
72556         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
72557         Avoid unused variable warnings on 'val' and use builtin_expect.
72558         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
72559         __builtin_expect.
72560         (INLINE_CLONE_SYSCALL): Likewise.
72562 2012-03-05  David S. Miller  <davem@davemloft.net>
72564         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72566 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
72568         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72570         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
72571         only for |x| >= 40.
72572         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
72574 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
72576         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
72577         Replace gettimeofday with __vdso_gettimeofday.
72579         * sysdeps/unix/sysv/linux/x86_64/init-first.c
72580         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
72581         __vdso_clock_gettime and __vdso_getcpu.
72583         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
72584         time with __vdso_time.
72586 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72588         * manual/lang.texi (size_t): Note types to which size_t may be
72589         equivalent with the GNU C Library, but do not describe when
72590         differences between them are significant.
72592 2012-03-05  Andreas Jaeger  <aj@suse.de>
72594         * sysdeps/i386/fpu/libm-test-ulps: Update.
72596 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
72598         [BZ #3976]
72599         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
72600         (__ieee754_pow): Save and restore rounding mode and use
72601         round-to-nearest for main computations.
72602         * math/libm-test.inc (pow_test_tonearest): New function.
72603         (pow_test_towardzero): Likewise.
72604         (pow_test_downward): Likewise.
72605         (pow_test_upward): Likewise.
72606         (main): Call the new functions.
72607         * sysdeps/i386/fpu/libm-test-ulps: Update.
72608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72610         [BZ #3976]
72611         * math/libm-test.inc (cosh_test_tonearest): New function.
72612         (cosh_test_towardzero): Likewise.
72613         (cosh_test_downward): Likewise.
72614         (cosh_test_upward): Likewise.
72615         (sinh_test_tonearest): Likewise.
72616         (sinh_test_towardzero): Likewise.
72617         (sinh_test_downward): Likewise.
72618         (sinh_test_upward): Likewise.
72619         (main): Call the new functions.
72620         * sysdeps/i386/fpu/libm-test-ulps: Update.
72621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72623 2012-03-05  Tom de Vries  <tom@codesourcery.com>
72625         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
72626         default stack guard is set in last bytes.
72627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
72629 2012-03-05  Kees Cook  <keescook@chromium.org>
72631         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
72633         [BZ #13656]
72634         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
72635         possibly allocate from heap instead of stack.
72636         * stdio-common/bug-vfprintf-nargs.c: New file.
72637         * stdio-common/Makefile (tests): Add nargs overflow test.
72639 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
72641         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72643 2012-03-03  Marek Polacek  <polacek@redhat.com>
72645         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
72646         * math/math_private.h: Likewise.
72647         * stdlib/tst-strtod.c: Likewise.
72648         * sysdeps/i386/i486/bits/atomic.h: Likewise.
72649         * sysdeps/x86_64/bits/atomic.h: Likewise.
72651 2012-03-02  David S. Miller  <davem@davemloft.net>
72653         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
72654         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
72655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
72656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
72657         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
72658         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
72659         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
72660         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
72662 2012-03-02  Roland McGrath  <roland@hack.frob.com>
72664         [BZ #13792]
72665         * manual/examples/README: New file, says the example source files
72666         can be used under GPL>=2.
72667         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
72668         line containing just "*/".
72669         * manual/examples/add.c: Add copyright header (GPL>=2).
72670         * manual/examples/argp-ex1.c: Likewise.
72671         * manual/examples/argp-ex2.c: Likewise.
72672         * manual/examples/argp-ex3.c: Likewise.
72673         * manual/examples/argp-ex4.c: Likewise.
72674         * manual/examples/atexit.c: Likewise.
72675         * manual/examples/db.c: Likewise.
72676         * manual/examples/dir.c: Likewise.
72677         * manual/examples/dir2.c: Likewise.
72678         * manual/examples/execinfo.c: Likewise.
72679         * manual/examples/filecli.c: Likewise.
72680         * manual/examples/filesrv.c: Likewise.
72681         * manual/examples/fmtmsgexpl.c: Likewise.
72682         * manual/examples/genpass.c: Likewise.
72683         * manual/examples/inetcli.c: Likewise.
72684         * manual/examples/inetsrv.c: Likewise.
72685         * manual/examples/isockad.c: Likewise.
72686         * manual/examples/longopt.c: Likewise.
72687         * manual/examples/memopen.c: Likewise.
72688         * manual/examples/memstrm.c: Likewise.
72689         * manual/examples/mkfsock.c: Likewise.
72690         * manual/examples/mkisock.c: Likewise.
72691         * manual/examples/mygetpass.c: Likewise.
72692         * manual/examples/pipe.c: Likewise.
72693         * manual/examples/popen.c: Likewise.
72694         * manual/examples/rprintf.c: Likewise.
72695         * manual/examples/search.c: Likewise.
72696         * manual/examples/select.c: Likewise.
72697         * manual/examples/setjmp.c: Likewise.
72698         * manual/examples/sigh1.c: Likewise.
72699         * manual/examples/sigusr.c: Likewise.
72700         * manual/examples/stpcpy.c: Likewise.
72701         * manual/examples/strdupa.c: Likewise.
72702         * manual/examples/strftim.c: Likewise.
72703         * manual/examples/strncat.c: Likewise.
72704         * manual/examples/subopt.c: Likewise.
72705         * manual/examples/swapcontext.c: Likewise.
72706         * manual/examples/termios.c: Likewise.
72707         * manual/examples/testopt.c: Likewise.
72708         * manual/examples/testpass.c: Likewise.
72709         * manual/examples/timeval_subtract.c: Likewise.
72711         [BZ #13792]
72712         * manual/time.texi (Elapsed Time): Move timeval_subtract example
72713         function to ...
72714         * manual/timeval_subtract.c.texi: ... here, new file.
72716 2012-03-02  David S. Miller  <davem@davemloft.net>
72718         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
72720 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
72722         [BZ #3976]
72723         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
72724         (__sin): Save and restore rounding mode and use round-to-nearest
72725         for all computations.
72726         (__cos): Save and restore rounding mode and use round-to-nearest
72727         for all computations.
72728         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
72729         <fenv.h>.
72730         (tan): Save and restore rounding mode and use round-to-nearest for
72731         all computations.
72732         * math/libm-test.inc (cos_test_tonearest): New function.
72733         (cos_test_towardzero): Likewise.
72734         (cos_test_downward): Likewise.
72735         (cos_test_upward): Likewise.
72736         (sin_test_tonearest): Likewise.
72737         (sin_test_towardzero): Likewise.
72738         (sin_test_downward): Likewise.
72739         (sin_test_upward): Likewise.
72740         (tan_test_tonearest): Likewise.
72741         (tan_test_towardzero): Likewise.
72742         (tan_test_downward): Likewise.
72743         (tan_test_upward): Likewise.
72744         (main): Call the new functions.
72745         * sysdeps/i386/fpu/libm-test-ulps: Update.
72746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72748         [BZ #10135]
72749         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
72750         small n, then large n, before computing and testing k+n.
72751         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
72752         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
72753         Likewise.
72754         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
72755         Likewise.
72756         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
72757         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
72758         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
72759         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
72760         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
72761         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
72762         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
72763         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
72764         * math/libm-test.inc (scalbn_test): Add more tests.
72765         (scalbln_test): Likewise.
72767         * manual/filesys.texi (mode_t): Describe constraints on size and
72768         signedness, not exact equivalence to a particular type.
72769         (ino_t): Likewise.
72770         (ino64_t): Likewise.
72771         (dev_t): Likewise.
72772         (nlink_t): Likewise.
72773         (blkcnt_t): Likewise.
72774         (blkcnt64_t): Likewise.
72775         * manual/llio.texi (off_t): Likewise.
72777         [BZ #3976]
72778         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
72779         (__ieee754_exp): Save and restore rounding mode and use
72780         round-to-nearest for all computations.
72781         * math/libm-test.inc (exp_test_tonearest): New function.
72782         (exp_test_towardzero): Likewise.
72783         (exp_test_downward): Likewise.
72784         (exp_test_upward): Likewise.
72785         (main): Call the new functions.
72786         * sysdeps/i386/fpu/libm-test-ulps: Update.
72787         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72789 2012-03-01  Chris Demetriou  <cgd@google.com>
72791         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
72792         have predictable order.
72794 2012-03-01  David S. Miller  <davem@davemloft.net>
72796         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
72798         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
72799         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
72800         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
72801         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
72803         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
72804         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
72805         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
72806         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
72807         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
72808         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
72809         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
72810         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
72811         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
72813         * sysdeps/sparc/fpu/libm-test-ulps: Update.
72815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
72816         * sysdeps/sparc/fpu/libm-test-ulps: to here.
72817         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
72819         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
72820         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
72821         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
72822         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
72823         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
72824         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
72825         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
72826         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
72827         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
72828         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
72829         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
72830         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
72831         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
72832         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
72833         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
72834         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
72835         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
72836         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
72837         * sysdeps/sparc/elf/configure: Regenerated.
72839 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
72841         * configure.in (AS, LD): Require binutils 2.20 or later.
72842         * configure: Regenerated.
72843         * manual/install.texi (Tools for Compilation): Give binutils 2.20
72844         as required minimum version.
72845         * INSTALL: Regenerated.
72847         [BZ #2541]
72848         [BZ #4108]
72849         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
72850         before squaring exponent.
72851         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
72852         bottom long double and 27 bits of top long double before squaring
72853         exponent.
72854         * math/libm-test.inc (erfc_test): Add more tests.
72855         * sysdeps/i386/fpu/libm-test-ulps: Update.
72856         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
72857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72859 2012-03-01  Kai Tietz  <ktietz@redhat.com>
72861         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
72862         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
72863         containing bit-fields.
72864         * soft-fp/extended.h (_FP_UNION_E): Likewise.
72865         * soft-fp/single.h (_FP_UNION_S): Likewise.
72866         * soft-fp/double.h (_FP_UNION_D): Likewise.
72868 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72870         [BZ #13786]
72871         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
72872         not include ../strcmp.S.
72873         [USE_AS_STRNCASECMP_L]: Likewise.
72874         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
72875         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
72876         * sysdeps/i386/i686/multiarch/strncase_l-c.c
72877         (__strncasecmp_l_ia32): Define as alias to
72878         __strncasecmp_l_nonascii.
72880         [BZ #5794]
72881         * math/libm-test.inc (expm1_test): Add test for bug 5794.
72882         * sysdeps/i386/fpu/libm-test-ulps: Update.
72883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72885         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
72886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
72888 2012-02-29  Jeff Law  <law@redhat.com>
72890         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
72891         out of bounds read.
72893 2012-02-29  Marek Polacek  <polacek@redhat.com>
72895         [BZ #13706]
72896         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
72897         * elf/Makefile: Add rules to run tst-unused-dep.out.
72899 2012-02-28  David S. Miller  <davem@davemloft.net>
72901         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
72902         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
72903         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
72904         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
72905         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
72906         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
72908 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
72910         * math/libm-test.inc (llround_test): Move one test from
72911         lround_test.  Use TEST_f_L in moved test.
72912         (lround_test): Move misplaced test to llround_test.  Add testcase
72913         from bug 2561.
72915 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
72917         * sysdeps/x86_64/fpu/e_expf.S: New file.
72918         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
72920 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
72922         [BZ #13637]
72923         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
72924         of remain_len that may cause incomplete multi-byte character and
72925         false match.
72926         * posix/bug-regex33.c: New file.
72927         * posix/Makefile (tests): Add bug-regex33.
72929 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
72931         * manual/macros.texi: New file.
72932         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
72933         * manual/libc.texinfo: Include macros.texi.
72934         * manual/creatute.texi: Likewise.
72935         * manual/install.texi: Likewise.
72936         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
72937         @glibcadj{} in references to the GNU C Library.
72938         * manual/charset.texi: Likewise.
72939         * manual/conf.texi: Likewise.
72940         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
72941         when not using those macros.
72942         * manual/creature.texi: Likewise.
72943         * manual/crypt.texi: Likewise.
72944         * manual/errno.texi: Likewise.
72945         * manual/filesys.texi: Likewise.
72946         * manual/header.texi: Likewise.
72947         * manual/install.texi: Likewise.
72948         * manual/intro.texi: Likewise.
72949         * manual/io.texi: Likewise.
72950         * manual/job.texi: Likewise.
72951         * manual/lang.texi: Likewise.
72952         * manual/libc.texiinfo: Likewise.
72953         * manual/llio.texi: Likewise.
72954         * manual/locale.texi: Likewise.
72955         * manual/maint.texi: Likewise.
72956         * manual/math.texi: Likewise.
72957         * manual/memory.texi: Likewise.
72958         * manual/message.texi: Likewise.
72959         * manual/nss.texi: Likewise.
72960         * manual/pattern.texi: Likewise.
72961         * manual/process.texi: Likewise.
72962         * manual/resource.texi: Likewise.
72963         * manual/search.texi: Likewise.
72964         * manual/setjmp.texi: Likewise.
72965         * manual/signal.texi: Likewise.
72966         * manual/socket.texi: Likewise.
72967         * manual/startup.texi: Likewise.
72968         * manual/stdio.texi: Likewise.
72969         * manual/string.texi: Likewise.
72970         * manual/sysinfo.texi: Likewise.
72971         * manual/syslog.texi: Likewise.
72972         * manual/terminal.texi: Likewise.
72973         * manual/time.texi: Likewise.
72974         * manual/users.texi: Likewise.
72975         * INSTALL: Regenerated.
72976         * NOTES: Regenerated.
72977         * sysdeps/gnu/errlist.c: Regenerated.
72979 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
72981         * include/dirent.h: Include <dirstream.h> before
72982         <dirent/dirent.h>.
72984 2012-02-28  David S. Miller  <davem@davemloft.net>
72986         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
72987         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
72988         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
72989         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
72991 2012-02-27  David S. Miller  <davem@davemloft.net>
72993         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
72994         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
72995         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
72996         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
72998         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
72999         frame pointer instead of stack pointer relative arg slot.
73000         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73001         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73002         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73004 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
73006         [BZ #3992]
73007         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
73009 2012-02-27  David S. Miller  <davem@davemloft.net>
73011         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
73012         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
73013         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
73014         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
73015         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
73016         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
73017         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
73018         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
73020 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73022         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
73023         later.  Allow versions 5-9.
73024         * configure: Regenerated.
73025         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
73026         required minimum version and 4.6 as recommended version.  Do not
73027         mention bugs in GCC 2.7 and 2.8.
73028         * INSTALL: Regenerated.
73030 2012-02-27  David S. Miller  <davem@davemloft.net>
73032         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
73033         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
73034         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
73035         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
73036         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
73037         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
73038         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
73039         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
73041         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
73042         manipulate bits before adding and subtracting TWO112[sx].
73043         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
73045 2012-02-27  Roland McGrath  <roland@hack.frob.com>
73047         [BZ #13775]
73048         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
73049         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
73050         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
73051         being in POSIX, because they are in 1003.1-2008.
73053         * rt/tst-aio.c: Include <fcntl.h>.
73054         * rt/tst-aio7.c: Likewise.
73055         * rt/tst-aio64.c: Likewise.
73057         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
73059 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
73061         * manual/install.texi (--with-headers): Describe headers as
73062         interface headers, not private headers.
73063         (Specific advice for GNU/Linux systems): Describe use of headers
73064         from "make headers_install", not private headers from older
73065         kernels.
73066         * INSTALL: Regenerated.
73067         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
73068         Change to 2.6.19.
73069         * sysdeps/unix/sysv/linux/configure: Regenerated.
73071         * manual/llio.texi (fclean): Remove documentation.
73073         * manual/Makefile (libc-texi-generated): New variable.  Include
73074         version.texi.
73075         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
73076         $(libc-texi-generated), not duplicated list of files.
73077         (version.texi, stamp-version): New rules.
73078         (realclean): Remove $(libc-texi-generated), not individual files
73079         from that list.  Do not remove dir-add.texinfo.
73080         * manual/libc.texinfo: Comment out uses of edition numbers and
73081         references to printed manual.  Remove last-updated dates.
73082         (EDITION): Comment out.
73083         (ISBN): Likewise.
73084         (VERSION, UPDATED): Remove.
73085         (version.texi): Include.
73087 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
73089         * sysdeps/posix/spawni.c: Include <signal.h>.
73090         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
73091         * sysdeps/pthread/aio_fsync.c: Likewise.
73093 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
73095         * conform/Makefile (tests): Run only when not cross-compiling and
73096         when fast-check is not defined.
73098         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
73099         * conform/data/limits.h-data: Fixes for POSIX2008.
73100         * conform/run-conformtest.sh: Run all tests.
73101         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
73102         headers.
73103         * include/bits/dlfcn.h: Likewise.
73104         * include/langinfo.h: Likewise.
73105         * include/monetary.h: Likewise.
73106         * include/sys/poll.h: Likewise.
73108         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
73109         for __USE_GNU.
73110         * posix/spawn.h: Define __need_sigset_t.
73111         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
73112         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
73113         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
73114         to get sigevent_t only.
73115         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
73116         only for __USE_GNU.
73117         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
73118         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73119         process_vm_writev only for __USE_GNU.
73120         * termios/termios.h: Declare tcgetsid also for POSIX2008.
73122         * conform/Makefile: For now ignore errors from run-conformtest.
73123         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
73124         POSIX to avoid namespace pollution.  Don't prepend headers.
73125         * conform/data/aio.h-data: Fixes for POSIX testing.
73126         * conform/data/fcntl.h-data: Likewise.
73127         * conform/data/glob.h-data: Likewise.
73128         * conform/data/grp.h-data: Likewise.
73129         * conform/data/pthread.h-data: Likewise.
73130         * conform/data/pwd.h-data: Likewise.
73131         * conform/data/signal.h-data: Likewise.
73132         * conform/data/spawn.h-data: Likewise.
73133         * conform/data/stdio.h-data: Likewise.
73134         * conform/data/stdlib.h-data: Likewise.
73135         * conform/data/stropts.h-data: Likewise.
73136         * conform/data/sys/mman.h-data: Likewise.
73137         * conform/data/sys/stat.h-data: Likewise.
73138         * conform/data/sys/types.h-data: Likewise.
73139         * conform/data/sys/wait.h-data: Likewise.
73140         * conform/data/time.h-data: Likewise.
73141         * conform/data/unistd.h-data: Likewise.
73142         * conform/data/utime.h-data: Likewise.
73144         * io/sys/stat.h: fchmod was always in POSIX.
73145         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
73146         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
73147         * rt/aio.h: Define __need_timespec before including <time.h>.
73148         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
73149         struct.  Add forward declaration of pthread_attr_t and use it in
73150         sigevent.
73151         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
73152         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
73153         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
73154         always remove CLK_TCK definition.
73156 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
73158         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
73160 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
73162         * conform/run-conformtest.sh: New file.
73163         * conform/Makefile: Run run-conformtest for tests.
73164         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
73165         support.
73167         * conform/data/uchar.h-data: New file.
73168         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
73169         * conform/data/arpa/inet.h-data: Likewise.
73170         * conform/data/assert.h-data: Likewise.
73171         * conform/data/complex.h-data: Likewise.
73172         * conform/data/cpio.h-data: Likewise.
73173         * conform/data/ctype.h-data: Likewise.
73174         * conform/data/dirent.h-data: Likewise.
73175         * conform/data/dlfcn.h-data: Likewise.
73176         * conform/data/errno.h-data: Likewise.
73177         * conform/data/fcntl.h-data: Likewise.
73178         * conform/data/float.h-data: Likewise.
73179         * conform/data/fmtmsg.h-data: Likewise.
73180         * conform/data/fnmatch.h-data: Likewise.
73181         * conform/data/ftw.h-data: Likewise.
73182         * conform/data/glob.h-data: Likewise.
73183         * conform/data/grp.h-data: Likewise.
73184         * conform/data/iconv.h-data: Likewise.
73185         * conform/data/inttypes.h-data: Likewise.
73186         * conform/data/langinfo.h-data: Likewise.
73187         * conform/data/libgen.h-data: Likewise.
73188         * conform/data/limits.h-data: Likewise.
73189         * conform/data/locale.h-data: Likewise.
73190         * conform/data/math.h-data: Likewise.
73191         * conform/data/monetary.h-data: Likewise.
73192         * conform/data/mqueue.h-data: Likewise.
73193         * conform/data/ndbm.h-data: Likewise.
73194         * conform/data/net/if.h-data: Likewise.
73195         * conform/data/netdb.h-data: Likewise.
73196         * conform/data/netinet/in.h-data: Likewise.
73197         * conform/data/nl_types.h-data: Likewise.
73198         * conform/data/poll.h-data: Likewise.
73199         * conform/data/pthread.h-data: Likewise.
73200         * conform/data/pwd.h-data: Likewise.
73201         * conform/data/regex.h-data: Likewise.
73202         * conform/data/sched.h-data: Likewise.
73203         * conform/data/search.h-data: Likewise.
73204         * conform/data/semaphore.h-data: Likewise.
73205         * conform/data/setjmp.h-data: Likewise.
73206         * conform/data/signal.h-data: Likewise.
73207         * conform/data/spawn.h-data: Likewise.
73208         * conform/data/stdarg.h-data: Likewise.
73209         * conform/data/stdio.h-data: Likewise.
73210         * conform/data/stdlib.h-data: Likewise.
73211         * conform/data/string.h-data: Likewise.
73212         * conform/data/strings.h-data: Likewise.
73213         * conform/data/stropts.h-data: Likewise.
73214         * conform/data/sys/ipc.h-data: Likewise.
73215         * conform/data/sys/mman.h-data: Likewise.
73216         * conform/data/sys/msg.h-data: Likewise.
73217         * conform/data/sys/resource.h-data: Likewise.
73218         * conform/data/sys/select.h-data: Likewise.
73219         * conform/data/sys/sem.h-data: Likewise.
73220         * conform/data/sys/shm.h-data: Likewise.
73221         * conform/data/sys/socket.h-data: Likewise.
73222         * conform/data/sys/stat.h-data: Likewise.
73223         * conform/data/sys/statvfs.h-data: Likewise.
73224         * conform/data/sys/time.h-data: Likewise.
73225         * conform/data/sys/timeb.h-data: Likewise.
73226         * conform/data/sys/times.h-data: Likewise.
73227         * conform/data/sys/types.h-data: Likewise.
73228         * conform/data/sys/uio.h-data: Likewise.
73229         * conform/data/sys/un.h-data: Likewise.
73230         * conform/data/sys/utsname.h-data: Likewise.
73231         * conform/data/sys/wait.h-data: Likewise.
73232         * conform/data/syslog.h-data: Likewise.
73233         * conform/data/tar.h-data: Likewise.
73234         * conform/data/termios.h-data: Likewise.
73235         * conform/data/utime.h-data: Likewise.
73236         * conform/data/utmpx.h-data: Likewise.
73237         * conform/data/varargs.h-data: Likewise.
73238         * conform/data/wchar.h-data: Likewise.
73239         * conform/data/wctype.h-data: Likewise.
73240         * conform/data/wordexp.h-data: Likewise.
73242         * include/stropts.h: New file.
73243         * include/uchar.h: New file.
73244         * include/aio.h: Changes to allow conformtest.pl to use the headers.
73245         * include/assert.h: Likewise.
73246         * include/ctype.h: Likewise.
73247         * include/dirent.h: Likewise.
73248         * include/dlfcn.h: Likewise.
73249         * include/fcntl.h: Likewise.
73250         * include/fnmatch.h: Likewise.
73251         * include/glob.h: Likewise.
73252         * include/grp.h: Likewise.
73253         * include/libio.h: Likewise.
73254         * include/locale.h: Likewise.
73255         * include/math.h: Likewise.
73256         * include/net/if.h: Likewise.
73257         * include/netdb.h: Likewise.
73258         * include/netinet/in.h: Likewise.
73259         * include/pthread.h: Likewise.
73260         * include/pwd.h: Likewise.
73261         * include/regex.h: Likewise.
73262         * include/sched.h: Likewise.
73263         * include/search.h: Likewise.
73264         * include/setjmp.h: Likewise.
73265         * include/signal.h: Likewise.
73266         * include/stdio.h: Likewise.
73267         * include/stdlib.h: Likewise.
73268         * include/string.h: Likewise.
73269         * include/sys/cdefs.h: Likewise.
73270         * include/sys/mman.h: Likewise.
73271         * include/sys/msg.h: Likewise.
73272         * include/sys/resource.h: Likewise.
73273         * include/sys/select.h: Likewise.
73274         * include/sys/socket.h: Likewise.
73275         * include/sys/stat.h: Likewise.
73276         * include/sys/statvfs.h: Likewise.
73277         * include/sys/time.h: Likewise.
73278         * include/sys/times.h: Likewise.
73279         * include/sys/uio.h: Likewise.
73280         * include/sys/utsname.h: Likewise.
73281         * include/sys/wait.h: Likewise.
73282         * include/termios.h: Likewise.
73283         * include/time.h: Likewise.
73284         * include/ulimit.h: Likewise.
73285         * include/unistd.h: Likewise.
73286         * include/utime.h: Likewise.
73287         * include/wchar.h: Likewise.
73288         * include/wctype.h: Likewise.
73289         * include/wordexp.h: Likewise.
73291         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
73293         * time/time.h: TIME_UTC must be a macro.
73294         Make timespec_get available for ISO C11 only as well.
73296 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
73298         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
73299         Reported by Peng Haitao <penght@cn.fujitsu.com>.
73301 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73303         * configure.in: Use -o not -a in test for unsupported multi-arch.
73305 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73307         * manual/texinfo.tex: Update to version 2012-01-19.16.
73309 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
73311         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
73313 2012-02-24  Roland McGrath  <roland@hack.frob.com>
73315         [BZ #13738]
73316         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
73317         * manual/fdl-1.3.texi: New file.
73318         * manual/fdl-1.1.texi: File removed.
73320         [BZ #13738]
73321         * manual/libc.texinfo (FDL_VERSION): New @set.
73322         Use it for mention of FDL in cover text.
73323         (Documentation License): Use it in @include file name.
73325 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73326             Roland McGrath  <roland@hack.frob.com>
73328         [BZ #5461]
73329         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
73330         (not LONG_LONG_MAX and LONG_LONG_MIN.
73331         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
73332         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
73333         name.
73334         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
73336 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73338         [BZ #2547]
73339         [BZ #11365]
73340         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
73341         manipulate bits before adding and subtracting TWO23[sx].
73342         * math/libm-test.inc (nearbyint_test): Add more tests.
73344 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73346         [BZ #2548]
73347         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
73348         bits before adding and subtracting TWO23[sx].
73349         * math/libm-test.inc (rint_test): Add more tests.
73350         (rint_test_tonearest): Likewise.
73351         (rint_test_towardzero): Likewise.
73352         (rint_test_downward): Likewise.
73353         (rint_test_upward: Likewise.
73355 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73357         [BZ #10110]
73358         * include/stdc-predef.h: New file.  Extracted from features.h.
73359         * include/features.h: Include stdc-predef.h.
73360         * Makefile (headers): Add stdc-predef.h.
73361         * CONFORMANCE (Compiler limitations): Update.
73363 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
73365         * manual/libc.texinfo (VERSION, UPDATED): Revert.
73367 2012-02-21  David S. Miller  <davem@davemloft.net>
73369         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
73370         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73372 2012-02-20  David S. Miller  <davem@davemloft.net>
73374         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
73375         using a normal save/restore sequence, rather than allocating a
73376         dummy stack frame just to store a frame pointer and restore.
73377         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73379 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73381         * manual/install.texi: Fix stray word in line-wrapped comment.
73383 2012-02-20  David S. Miller  <davem@davemloft.net>
73385         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
73386         both binutils and gcc support GOTDATA.
73388         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
73389         "rd %pc" in the PIC register setup sequences.
73391         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
73392         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
73393         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
73394         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
73395         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
73396         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
73397         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
73398         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
73399         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
73400         (SYSCALL_ERROR_HANDLER): Likewise.
73401         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
73402         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
73403         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
73404         (SYSCALL_ERROR_HANDLER): Likewise.
73406         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
73407         (HAVE_GCC_GOTDATA): New.
73408         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
73409         relocation support in both binutils and gcc.
73410         * sysdeps/sparc/elf/configure: Regenerate.
73412         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
73413         * sysdeps/sparc/sparc32/elf/configure: Delete.
73414         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
73415         * sysdeps/sparc/sparc64/elf/configure: Delete.
73416         * sysdeps/sparc/elf/configure.in: New file.
73417         * sysdeps/sparc/elf/configure: Generate.
73419         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
73420         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
73421         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
73422         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
73423         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
73425 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73427         * manual/install.texi: Do not mention specific glibc version
73428         numbers.
73429         * manual/libc.texinfo (VERSION, UPDATED): Update.
73430         (@copying): Use @copyright{} and range of years.
73432 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
73434         [BZ #13695]
73435         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
73436         [crti.S not in sysdirs] (generated): Do not append.
73437         [crti.S not in sysdirs] (omit-deps): Likewise.
73438         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
73439         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
73440         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
73441         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
73442         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
73443         Likewise.
73444         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
73445         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
73446         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
73447         * csu/defs.awk: Remove file.
73448         * sysdeps/generic/initfini.c: Likewise.
73449         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
73450         variable.
73451         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
73452         Likewise.
73454 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73456         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
73457         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
73458         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
73459         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
73460         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
73461         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
73462         <bits/epoll.h>.
73463         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
73464         (__EPOLL_PACKED): Define to empty if not defined by
73465         <bits/epoll.h>.
73466         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
73467         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73468         bits/epoll.h.
73470 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73472         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
73473         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
73474         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
73475         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
73476         <bits/timerfd.h>.
73477         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
73478         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73479         bits/timerfd.h.
73481 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
73483         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
73484         in C locale.
73485         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
73486         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
73487         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
73488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73490 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
73492         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73493         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
73495 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
73497         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
73498         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
73499         defined.
73500         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
73501         Likewise.
73502         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
73503         entry for 2.16.
73505 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
73507         * math/w_acos.c: Use non-signaling floating-point comparisons.
73508         * math/w_acosf.c: Likewise.
73509         * math/w_acosh.c: Likewise.
73510         * math/w_acoshf.c: Likewise.
73511         * math/w_acoshl.c: Likewise.
73512         * math/w_acosl.c: Likewise.
73513         * math/w_asin.c: Likewise.
73514         * math/w_asinf.c: Likewise.
73515         * math/w_asinl.c: Likewise.
73516         * math/w_atanh.c: Likewise.
73517         * math/w_atanhf.c: Likewise.
73518         * math/w_atanhl.c: Likewise.
73519         * math/w_exp2.c: Likewise.
73520         * math/w_exp2f.c: Likewise.
73521         * math/w_exp2l.c: Likewise.
73522         * math/w_j0.c: Likewise.
73523         * math/w_j0f.c: Likewise.
73524         * math/w_j0l.c: Likewise.
73525         * math/w_j1.c: Likewise.
73526         * math/w_j1f.c: Likewise.
73527         * math/w_j1l.c: Likewise.
73528         * math/w_jn.c: Likewise.
73529         * math/w_jnf.c: Likewise.
73530         * math/w_log.c: Likewise.
73531         * math/w_log10.c: Likewise.
73532         * math/w_log10f.c: Likewise.
73533         * math/w_log10l.c: Likewise.
73534         * math/w_log2.c: Likewise.
73535         * math/w_log2f.c: Likewise.
73536         * math/w_log2l.c: Likewise.
73537         * math/w_logf.c: Likewise.
73538         * math/w_logl.c: Likewise.
73539         * math/w_sqrt.c: Likewise.
73540         * math/w_sqrtf.c: Likewise.
73541         * math/w_sqrtl.c: Likewise.
73542         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
73543         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
73544         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73545         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
73546         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
73548 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73550         [BZ #9739]
73551         * manual/string.texi (strnlen): Use correct parameter name in
73552         equivalent expression.
73554 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73556         [BZ #11174]
73557         * manual/users.texi (seteuid): Consistently use neweuid for
73558         argument name.
73560 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
73562         [BZ #13704]
73563         * manual/nss.texi (Services in the NSS configuration): Correct
73564         list of services in example configuration file.
73566 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
73568         [BZ #11322]
73569         * manual/arith.texi: Remove statements about negative zero
73570         behaving identically to zero.
73572 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73574         [BZ #5993]
73575         * manual/install.texi: Do not document upgrading from libc5.
73577 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
73579         [BZ #4596]
73580         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
73582 2012-02-18  David S. Miller  <davem@davemloft.net>
73584         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
73585         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
73586         %o7 across the call.
73587         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
73588         instead.
73589         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
73590         SETUP_PIC_REG_LEAF.
73591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
73592         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
73593         * sysdeps/sparc/crtn.S: Likewise.
73595 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
73597         * aout/Makefile: Remove.
73599 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
73601         [BZ #13058]
73602         * manual/examples/argp-ex1.c (main): Format definition in GNU
73603         style.
73604         * manual/examples/argp-ex2.c (main): Likewise.
73605         * manual/examples/argp-ex3.c (main): Likewise.
73606         * manual/examples/argp-ex4.c (main): Likewise.
73607         * manual/examples/longopt.c (main): Use new-style prototype
73608         definition.
73609         * manual/examples/strncat.c (main): Specify return type and use
73610         (void) for arguments.
73611         * manual/examples/subopt.c (main): Use char **argv argument.
73613 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73615         [BZ #5077]
73616         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
73617         rounding modes.
73619 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
73621         [BZ #6907]
73622         * manual/string.texi (strchr): Change when strchrnul is
73623         recommended.
73625 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
73627         [BZ #174]
73628         * manual/locale.texi (setlocale): Document LOCPATH.
73630 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73632         [BZ #10210]
73633         * manual/process.texi (execle): Move @dots{} before last argument.
73635 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
73637         [BZ #12047]
73638         * manual/charset.texi (Generic Charset Conversion): Fix typo
73639         (LC_TYPE -> LC_CTYPE).
73641 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
73643         [BZ #5805]
73644         * manual/arith.texi (scalbn): Use @var{} on parameter names.
73645         (scalbnf): Likewise.
73646         (scalbnl): Likewise.
73647         (scalbln): Likewise.
73648         (scalblnf): Likewise.
73649         (scalblnl): Likewise.
73650         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
73651         (vwarnx): Likewise.
73652         (verr): Likewise.
73653         (verrx): Likewise.
73654         * manual/filesys.texi (telldir): Use braces around return type.
73655         * manual/llio.texi (mmap): Add space after comma.
73656         (mmap64): Likewise.
73657         * manual/math.texi (jn): Use @var{} on parameter names.
73658         (jnf): Likewise.
73659         (jnl): Likewise.
73660         (yn): Likewise.
73661         (ynf): Likewise.
73662         (ynl): Likewise.
73663         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
73664         line.
73665         * manual/resource.texi (ulimit): Use @dots{} instead of literal
73666         "...".
73667         (sched_get_priority_min): Remove semicolon on @deftypefun line.
73668         (sched_get_priority_max): Likewise.
73669         * manual/signal.texi (sigvec): Add space after comma.
73670         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
73671         names.
73672         (if_indextoname): Likewise.
73673         (if_freenameindex): Likewise.
73674         (sendto): Use ',' instead of '.' in prototype.
73675         * manual/startup.texi (syscall): Use @dots{} instead of literal
73676         "...".
73677         * manual/stdio.texi (__fpending): Separate initial words of
73678         paragraph from @deftypefun line.
73679         * manual/syslog.texi (syslog): Use @dots{} instead of literal
73680         "...".
73681         (vsyslog): Use @var{} on parameter names.
73682         * manual/terminal.texi (stty): Use @var{} on parameter names.
73683         * manual/users.texi (getutmp): Use @var{} on parameter names.
73684         (getutmpx): Likewise.
73686 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73688         [BZ #6884]
73689         * manual/stdio.texi (fopen): Fix typos in description of
73690         ",ccs=STRING".
73692 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
73694         [BZ #4026]
73695         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
73696         get clock_id definition.
73698 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
73700         [BZ #4822]
73701         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
73702         (madvise): Cast every argument to void on its own.
73704 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73706         [BZ #9902]
73707         * manual/startup.texi (Exit Status): Fix typo.
73709 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
73711         [BZ #10140]
73712         * manual/examples/argp-ex1.c: Include <stdlib.h>.
73713         * manual/examples/argp-ex2.c: Likewise.
73714         * manual/examples/argp-ex3.c: Likewise.
73716 2012-02-16  Richard Henderson  <rth@redhat.com>
73718         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
73719         * sysdeps/s390/s390-32/initfini.c: Remove.
73720         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
73721         * sysdeps/s390/s390-64/initfini.c: Remove.
73723 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
73725         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
73726         compiler output for sysdeps/generic/initfini.c.
73727         * sysdeps/sh/elf/initfini.c: Remove file.
73729 2012-02-16  David S. Miller  <davem@davemloft.net>
73731         [BZ #11494]
73732         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
73734         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
73735         * sysdeps/sparc/crti.S: New file.
73736         * sysdeps/sparc/crtn.S: New file.
73737         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
73738         * sysdeps/sparc/sparc64/Makefile: Likewise.
73740 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
73742         [BZ #3335]
73743         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
73745 2012-02-15  Roland McGrath  <roland@hack.frob.com>
73747         [BZ #4822]
73748         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
73750         * mach/devstream.c (cookie_io_functions_t): Macro removed.
73751         (write, read, close): Likewise.
73752         Patch by Aurelien Jarno <aurelien@aurel32.net>.
73754 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
73756         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
73757         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
73758         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
73759         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
73760         <bits/signalfd.h>.
73761         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
73762         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73763         bits/signalfd.h.
73765 2012-02-14  Marek Polacek  <polacek@redhat.com>
73767         * sysdeps/x86_64/crti.S: New file.
73768         * sysdeps/x86_64/crtn.S: New file.
73769         * sysdeps/x86_64/elf/initfini.c: Remove file.
73771 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73773         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
73774         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
73775         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
73776         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
73777         <bits/inotify.h>.
73778         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
73779         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73780         bits/inotify.h.
73782 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
73784         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
73785         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
73786         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
73787         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
73788         <bits/eventfd.h>.
73789         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
73790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
73791         bits/eventfd.h.
73793 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
73795         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
73796         __feraiseexcept instead of feraiseexcept.
73798         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
73799         nanosleep invocations.
73800         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
73801         strings, and add error checking for a nanosleep invocations.
73803 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
73805         Replace FSF snail mail address with URLs, as per GNU coding standards.
73806         Most of the snail mail addresses were wrong anyway, and omitting
73807         them makes the source code easier to maintain.  Almost all of the
73808         changes are to license notices and to locale LC_IDENTIFICATION
73809         addresses, except for this one:
73810         * manual/libc.texinfo: In "Published by", give the FSF's URL,
73811         not its snail mail address.
73813 2012-02-09  Richard Henderson  <rth@twiddle.net>
73815         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
73816         of kernel-features.h.
73818         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
73820 2012-02-08  Marek Polacek  <polacek@redhat.com>
73822         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
73823         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
73824         * sysdeps/gnu/_G_config.h: Likewise.
73825         * sysdeps/generic/_G_config.h: Likewise.
73827 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
73829         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
73830         tests.
73831         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73833         * sysdeps/powerpc/powerpc32/crti.S: New file.
73834         * sysdeps/powerpc/powerpc32/crtn.S: New file.
73835         * sysdeps/powerpc/powerpc64/crti.S: New file.
73836         * sysdeps/powerpc/powerpc64/crtn.S: New file.
73838         * Makeconfig (have-initfini): Don't set.
73839         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
73840         * configure.in (nopic_initfini): Don't substitute.
73841         * config.h.in (HAVE_INITFINI): Don't #undef.
73842         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
73843         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
73845 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
73847         Support crti.S and crtn.S provided directly by architectures.
73848         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
73849         [crti.S in sysdirs] (omit-deps): Likewise.
73850         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
73851         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
73852         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
73853         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
73854         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
73855         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
73856         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
73857         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
73858         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
73859         compiler output for sysdeps/generic/initfini.c.
73860         * sysdeps/i386/elf/Makefile: Remove file.
73861         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
73863 2012-02-07  Marek Polacek  <polacek@redhat.com>
73865         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
73866         * sysdeps/gnu/_G_config.h: Likewise.
73867         * sysdeps/mach/hurd/_G_config.h: Likewise.
73869 2012-02-07  Marek Polacek  <polacek@redhat.com>
73871         * math/Makefile (tests): Add tst-CMPLX2.
73872         * math/tst-CMPLX2.c: New file.
73874 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
73876         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
73878         * math/libm-test.inc (jn_test): Add missing L suffix.
73880 2012-02-06  Marek Polacek  <polacek@redhat.com>
73882         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
73883         * sysdeps/i386/fpu/e_powf.S: Likewise.
73884         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
73885         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
73886         * sysdeps/i386/fpu/e_acosh.S: Likewise.
73887         * sysdeps/i386/fpu/e_pow.S: Likewise.
73888         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
73889         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
73890         * sysdeps/i386/fpu/s_expm1.S: Likewise.
73891         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
73892         * sysdeps/i386/fpu/e_log2.S: Likewise.
73893         * sysdeps/i386/fpu/e_log2l.S: Likewise.
73894         * sysdeps/i386/fpu/e_scalb.S: Likewise.
73895         * sysdeps/i386/fpu/e_powl.S: Likewise.
73896         * sysdeps/i386/fpu/s_log1p.S: Likewise.
73897         * sysdeps/i386/fpu/e_log10f.S: Likewise.
73898         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
73899         * sysdeps/i386/fpu/e_logl.S: Likewise.
73900         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
73901         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
73902         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
73903         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
73904         * sysdeps/i386/fpu/e_log2f.S: Likewise.
73905         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
73906         * sysdeps/i386/fpu/e_log.S: Likewise.
73907         * sysdeps/i386/fpu/s_cexp.S: Likewise.
73908         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
73909         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
73910         * sysdeps/i386/fpu/e_logf.S: Likewise.
73911         * sysdeps/i386/fpu/e_log10l.S: Likewise.
73912         * sysdeps/i386/fpu/e_atanh.S: Likewise.
73913         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
73914         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
73915         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
73916         * sysdeps/i386/fpu/e_log10.S: Likewise.
73917         * sysdeps/i386/fpu/s_frexp.S: Likewise.
73918         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
73919         * sysdeps/i386/fpu/s_asinh.S: Likewise.
73920         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
73921         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
73922         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
73923         * sysdeps/i386/asm-syntax.h: Likewise.
73924         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
73925         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
73926         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
73927         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
73928         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
73929         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
73930         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
73931         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
73932         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
73933         * sysdeps/powerpc/sysdep.h: Likewise.
73934         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
73935         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
73937 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73939         [BZ #411]
73940         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
73942 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
73944         * sysdeps/i386/sysdep.h: Include <features.h>.
73945         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
73946         version.
73948 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
73950         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
73951         Define.
73952         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
73953         LOAD_PIC_REG_STR.
73955 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73957         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
73958         (SETUP_PIC_REG): Use GET_PC_THUNK.
73959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
73960         macro.
73962 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
73964         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
73965         for non-PIC compilation.
73966         (SETUP_PIC_REG): Add .p2align directive.
73967         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
73968         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
73969         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73970         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73971         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
73972         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73973         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
73974         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
73975         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73976         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73977         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73978         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73979         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73980         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73981         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73982         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
73983         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
73984         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73985         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73986         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73987         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73988         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
73989         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73990         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73991         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
73992         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
73993         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73994         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
73995         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73996         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73997         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73998         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73999         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
74000         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
74001         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
74002         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
74003         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
74004         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
74005         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
74006         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
74007         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
74009 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
74011         * math/tst-CMPLX.c: Include <stdio.h>.
74013 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
74015         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
74016         float.
74017         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74018         * sysdeps/sparc/bits/mathdef.h: Likewise.
74020 2012-01-31  Marek Polacek  <polacek@redhat.com>
74022         * libio/libio.h: Don't define _PARAMS.
74023         * locale/programs/config.h: Don't define PARAMS.
74024         * stdlib/strtol_l.c: Likewise.
74025         (__strtol_l): Remove PARAMS from the prototype.
74027 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
74029         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
74030         names.  Just use the correct names.  Remove unnecessary wrapper
74031         functions.
74032         * malloc/arena.c: Likewise.
74033         * malloc/hooks.c: Likewise.
74035         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
74036         ARENA_TEST says not to.  Simplify test for creation of a new arena.
74037         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
74039 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
74041         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
74042         into tail calls.
74043         (update_get_addr): New function.
74044         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
74045         GET_ADDR_MODULE parameter.
74047 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74049         * crypt/cert.c: Remove __STDC__ conditionals.
74050         * crypt/crypt-entry.c: Likewise.
74051         * crypt/crypt_util.c: Likewise.
74052         * libio/filedoalloc.c: Likewise.
74053         * libio/fileops.c: Likewise.
74054         * libio/genops.c: Likewise.
74055         * libio/iofclose.c: Likewise.
74056         * libio/iofdopen.c: Likewise.
74057         * libio/iofopen.c: Likewise.
74058         * libio/iofopen64.c: Likewise.
74059         * libio/iogetdelim.c: Likewise.
74060         * libio/iopopen.c: Likewise.
74061         * libio/obprintf.c: Likewise.
74062         * libio/oldfileops.c: Likewise.
74063         * libio/oldiofclose.c: Likewise.
74064         * libio/oldiofdopen.c: Likewise.
74065         * libio/oldiofopen.c: Likewise.
74066         * libio/oldiopopen.c: Likewise.
74067         * libio/wfiledoalloc.c: Likewise.
74068         * libio/wgenops.c: Likewise.
74069         * locale/programs/xmalloc.c: Likewise.
74070         * misc/syslog.c: Likewise.
74071         * stdio-common/xbug.c: Likewise.
74072         * string/memchr.c: Likewise.
74073         * string/memcmp.c: Likewise.
74074         * string/memrchr.c: Likewise.
74075         * string/rawmemchr.c: Likewise.
74076         * sysdeps/posix/getcwd.c: Likewise.
74077         * time/strftime_l.c: Likewise.
74079 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
74081         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
74082         * config.make.in (config-cflags-sse2avx): Define.
74083         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
74084         Fix typo.
74086 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
74088         * scripts/config.guess: Update from upstream config git repository.
74089         * scripts/config.sub: Likewise.
74091 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
74093         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
74094         (EM_NUM): Update.
74095         (R_TILEPRO_*, R_TILEGX_*): New macros.
74097         * scripts/firstversions.awk: Fix bug in version range handling.
74099         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
74101         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
74103         * include/sys/epoll.h: New file.
74104         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
74105         libc_hidden_def.
74107 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
74109         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
74110         Avoid unnecessary __WORDSIZE == 64 test.
74111         (fmaxf): Use VEX format if possible.
74112         (fmax): Likewise.
74113         (fminf): Likewise.
74114         (fmin): Likewise.
74116         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
74117         * math/math_private.h: Remove libc_fegetround* and
74118         libc_fesetround*.
74119         * sysdeps/i386/configure.in: Check for -msse2avx.
74120         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
74121         also if SSE2AVX is defined.
74122         Remove libc_fegetround* and libc_fesetround*.
74123         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
74124         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
74125         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
74126         of HAS_YMM_USABLE.
74127         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74128         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74129         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74130         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74131         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74133         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
74135 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
74137         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
74138         size is not set.
74139         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
74141 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
74143         [BZ #13618]
74144         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
74145         relocation.
74146         * Makeconfig (libm): Define.
74147         * elf/Makefile: Add rules to build and run tst-relsort1.
74148         * elf/tst-relsort1.c: New file.
74149         * elf/tst-relsort1mod1.c: New file.
74150         * elf/tst-relsort1mod2.c: New file.
74152 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
74154         * math/s_ldexp.c: Remove __STDC__ conditionals.
74155         * math/s_ldexpf.c: Likewise.
74156         * math/s_ldexpl.c: Likewise.
74157         * math/s_nextafter.c: Likewise.
74158         * math/s_nexttowardf.c: Likewise.
74159         * math/s_significand.c: Likewise.
74160         * math/s_significandf.c: Likewise.
74161         * math/s_significandl.c: Likewise.
74162         * math/w_jnl.c: Likewise.
74163         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
74164         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
74165         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
74166         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
74167         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
74168         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
74169         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
74170         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
74171         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
74172         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
74173         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
74174         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74175         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
74176         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
74177         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
74178         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
74179         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
74180         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
74181         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
74182         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74183         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74184         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
74185         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
74186         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
74187         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
74188         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
74189         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
74190         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
74191         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
74192         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
74193         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
74194         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
74195         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
74196         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
74197         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
74198         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
74199         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
74200         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
74201         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
74202         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
74203         * sysdeps/ieee754/k_standard.c: Likewise.
74204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74205         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
74206         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
74207         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
74208         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
74209         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
74210         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
74211         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
74212         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
74213         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
74214         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
74215         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
74216         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
74217         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
74218         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
74219         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
74220         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
74221         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
74222         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
74223         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
74224         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
74225         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
74226         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
74227         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
74228         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
74229         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
74230         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74231         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74232         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
74233         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
74234         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
74235         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
74236         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
74237         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
74238         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
74239         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
74240         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
74241         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
74242         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
74243         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
74244         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
74245         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
74246         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
74247         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
74248         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
74249         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
74250         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
74251         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
74252         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
74253         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
74254         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
74255         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
74256         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
74257         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
74258         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
74259         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
74260         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
74261         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74262         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74263         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74264         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
74265         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
74266         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
74267         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
74268         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
74269         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
74270         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
74271         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
74272         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
74273         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
74274         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
74275         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
74276         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
74277         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
74278         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
74279         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
74280         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
74281         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
74282         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
74283         * sysdeps/ieee754/s_matherr.c: Likewise.
74284         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
74285         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
74286         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
74287         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
74289 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74291         * crypt/md5.h: Remove __STDC__ conditionals.
74292         * libio/libioP.h: Likewise.
74293         * locale/programs/config.h: Likewise.
74294         * sysdeps/generic/sysdep.h: Likewise.
74295         * sysdeps/i386/asm-syntax.h: Likewise.
74296         * sysdeps/s390/asm-syntax.h: Likewise.
74297         * sysdeps/unix/sysdep.h: Likewise.
74298         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
74299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
74301 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
74303         * libio/libio.h: Remove __STDC__ conditionals.
74304         * malloc/obstack.h: Likewise.
74305         * math/complex.h: Likewise.
74306         * math/math.h: Likewise.
74307         * sysdeps/generic/_G_config.h: Likewise.
74308         * sysdeps/gnu/_G_config.h: Likewise.
74309         * sysdeps/mach/hurd/_G_config.h: Likewise.
74310         * sysdeps/powerpc/bits/mathdef.h: Likewise.
74311         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
74312         * sysdeps/sparc/bits/mathdef.h: Likewise.
74314 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
74316         [BZ #13583]
74317         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
74318         Clean up HAS_* macros.
74319         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
74320         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
74321         possible.
74322         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
74323         HAS_AVX.
74324         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
74325         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
74326         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
74327         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
74328         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
74330 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
74332         * elf/tst-unique3.cc (gets): Remove declaration.
74333         * elf/tst-unique3lib.cc (gets): Likewise.
74334         * elf/tst-unique3lib2.cc (gets): Likewise.
74335         * elf/tst-unique4.cc (gets): Likewise.
74337 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
74339         * include/stdio.h: Add C++ protection.  Add gets declarations and
74340         definitions.
74341         * debug/tst-chk1.c: Don't declare gets here.
74342         * stdio-common/tst-gets.c: Likewise.
74344 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74346         * posix/glob: Remove directory.
74348 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
74350         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
74352 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
74354         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
74355         of the non-standard EPFNOSUPPORT.
74357 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
74359         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
74360         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
74361         ANYWHERE set to 1 only on KERN_NO_SPACE error.
74363 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
74365         * wcsmbs/uchar.h: Test __STDC_VERSION__.
74367 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
74369         * nscd/aicache.c (addhstaiX): Do not cache negative results of
74370         transient errors.
74371         * nscd/grpcache.c (cache_addgr): Likewise.
74372         * nscd/hstcache.c (cache_addhst): Likewise.
74373         * nscd/initgrcache.c (addinitgroupsX): Likewise.
74374         * nscd/pwdcache.c (cache_addpw): Likewise.
74375         * nscd/servicescache.c (cache_addserv): Likewise.
74377 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
74379         * malloc/malloc.c: Various cleanups.
74380         * malloc/hooks.c: Likewise.
74382         * stdlib/Makefile (tests): Add bug-fmtmsg1.
74383         * stdlib/bug-fmtmsg1.c: New file.
74385         * stdlib/fmtmsg.c (init): Add missing unlock.
74386         Patch by Peng Haitao <penght@cn.fujitsu.com>.
74388 2012-01-12  Marek Polacek  <polacek@redhat.com>
74390         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
74391         and _GNU_SOURCE.
74393 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
74395         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
74396         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
74397         macro to ensure uniqueness of label name.
74398         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
74399         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
74401 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
74403         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
74405         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
74406         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
74407         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
74408         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
74410 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
74412         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
74414         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
74415         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
74416         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
74418         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
74420         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
74421         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
74422         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
74423         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
74425         * math/bits/math-finite.h: Add ldexp support.
74427 2012-01-10  Marek Polacek  <polacek@redhat.com>
74429         * locale/programs/localedef.h (show_archive_content): Add noreturn
74430         attribute.
74432 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
74434         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
74436 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74438         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
74440         * io/Makefile (headers): Add bits/poll2.h.
74442 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
74444         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
74445         typo #include statement.
74447 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74449         * include/sys/cdefs.h: Define __attribute_alloc_size.
74450         * catgets/gencat.c: Add alloc_size attribute and apply consistently
74451         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
74452         * elf/pldd.c: Likewise.
74453         * iconv/iconv_charmap.c: Likewise.
74454         * iconv/iconvconfig.c: Likewise.
74455         * iconv/strtab.c: Likewise.
74456         * locale/programs/locale.c: Likewise.
74457         * locale/programs/localedef.h: Likewise.
74458         * locale/programs/simple-hash.c: Likewise.
74459         * nscd/nscd.h: Likewise.
74460         * nss/makedb.c: Likewise.
74461         * sysdeps/generic/ldconfig.h: Likewise.
74462         * locale/programs/localedef.c: Remove xmalloc prototype.
74463         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
74465 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
74467         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
74468         appropriate.
74470 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
74472         * math/Makefile (tests): Add tst-CMPLX.
74473         * math/tst-CMPLX.c: New file.
74475         * math/complex.h (CMPLXL): Fix typo.
74477         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
74478         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
74479         GLIBC_2.16.
74480         * debug/tst-chk1.c: Add poll and ppoll tests.
74481         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
74482         * include/sys/poll.h: Add hidden proto for ppoll.
74483         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
74484         * sysdeps/mach/hurd/ppoll.c: Likewise.
74485         * io/ppoll.c: Likewise.
74486         * debug/poll_chk.c: New file.
74487         * debug/ppoll_chk.c: New file.
74488         * include/bits/poll2.h: New file.
74489         * io/bits/poll2.h: New file.
74491         [BZ #1350]
74492         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
74494         * configure.in: static is always set to yes.  Remove.
74495         * config.make.in: Don't set build-static.
74496         * Makeconfig: Remove use of build-static.
74497         * dlfcn/Makefile: Likewise.
74498         * elf/Makefile: Likewise.
74499         * math/Makefile: Likewise.
74500         * misc/Makefile: Likewise.
74501         * nptl/Makefile: Likewise.
74502         * sysdeps/mach/hurd/Makefile: Likewise.
74504         * configure.in: PWD_P is not used anymore.
74505         * config.make.in: Remove PWD_P entry.
74507         * configure.in: Remove last remnants of RANLIB.
74508         No need to check for signed size_t anymore.
74509         Don't set libc_commonpagesize and libc_relro_required here for Alpha
74510         and IA-64.
74511         Remove __builtin_expect test because we require at least gcc 3.4.
74512         * aclocal.m4: Likewise.
74514         * wcsmbs/mbrtoc16.c: Implement using towc function.
74515         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
74516         * wcsmbs/wcsmbsload.c: Likewise.
74517         * iconv/gconv_simple.c: Likewise.
74518         * iconv/gconv_int.h: Likewise.
74519         * iconv/gconv_builtin.h: Likewise.
74520         * iconv/iconv_prog.c: Remove CHAR16 handling.
74522         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
74524         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
74526         * configure.in: Remove --with-elf and --enable-bounded options.
74527         Dont set base_machine for ia64.  More non-ELF conditions removed.
74528         Remove testing and setting of leading underscore information.
74529         * config.make.in (build-bounded): Set to no.
74530         * config.h.in: Remove NO_UNDERSCORES entry.
74531         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
74532         them.
74533         * csu/start.c: Remove !NO_UNDERSCORE code.
74534         * locale/localeinfo.h: Likewise.
74535         * sysdeps/generic/machine-gmon.h: Likewise.
74536         * sysdeps/generic/sysdep.h: Likewise.
74537         * sysdeps/i386/sysdep.h: Likewise.
74538         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74539         * sysdeps/mach/sysdep.h: Likewise.
74540         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74541         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74542         * sysdeps/sh/sysdep.h: Likewise.
74543         * sysdeps/sparc/sparc32/alloca.S: Likewise.
74544         * sysdeps/unix/i386/sysdep.S: Likewise.
74545         * sysdeps/unix/sparc/start.c: Likewise.
74546         * sysdeps/unix/sparc/sysdep.S: Likewise.
74547         * sysdeps/unix/sparc/sysdep.h: Likewise.
74548         * sysdeps/unix/start.c: Likewise.
74549         * sysdeps/unix/x86_64/sysdep.S: Likewise.
74550         * sysdeps/x86_64/sysdep.h: Likewise.
74552 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
74554         [BZ #13553]
74555         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
74556         for non-gcc.
74557         * argp/argp-fmtstream.h: Use const instead __const.
74558         * argp/argp.h: Likewise.
74559         * assert/assert.h: Likewise.
74560         * bits/fenv.h: Likewise.
74561         * bits/sched.h: Likewise.
74562         * bits/sigset.h: Likewise.
74563         * bits/sigthread.h: Likewise.
74564         * catgets/nl_types.h: Likewise.
74565         * conform/data/pthread.h-data: Likewise.
74566         * crypt/crypt-private.h: Likewise.
74567         * crypt/crypt.h: Likewise.
74568         * crypt/crypt_util.c: Likewise.
74569         * ctype/ctype.h: Likewise.
74570         * debug/execinfo.h: Likewise.
74571         * debug/mbsnrtowcs_chk.c: Likewise.
74572         * debug/mbsrtowcs_chk.c: Likewise.
74573         * debug/wcsnrtombs_chk.c: Likewise.
74574         * debug/wcsrtombs_chk.c: Likewise.
74575         * debug/wcstombs_chk.c: Likewise.
74576         * dirent/dirent.h: Likewise.
74577         * dlfcn/dlfcn.h: Likewise.
74578         * elf/neededtest4.c: Likewise.
74579         * grp/grp.h: Likewise.
74580         * gshadow/gshadow.h: Likewise.
74581         * iconv/gconv.h: Likewise.
74582         * iconv/gconv_int.h: Likewise.
74583         * iconv/gconv_simple.c: Likewise.
74584         * iconv/iconv.h: Likewise.
74585         * iconv/loop.c: Likewise.
74586         * iconv/skeleton.c: Likewise.
74587         * include/aio.h: Likewise.
74588         * include/aliases.h: Likewise.
74589         * include/argz.h: Likewise.
74590         * include/arpa/inet.h: Likewise.
74591         * include/assert.h: Likewise.
74592         * include/dirent.h: Likewise.
74593         * include/dlfcn.h: Likewise.
74594         * include/execinfo.h: Likewise.
74595         * include/fcntl.h: Likewise.
74596         * include/fenv.h: Likewise.
74597         * include/glob.h: Likewise.
74598         * include/grp.h: Likewise.
74599         * include/libintl.h: Likewise.
74600         * include/mntent.h: Likewise.
74601         * include/netdb.h: Likewise.
74602         * include/pwd.h: Likewise.
74603         * include/rpc/netdb.h: Likewise.
74604         * include/sched.h: Likewise.
74605         * include/search.h: Likewise.
74606         * include/shadow.h: Likewise.
74607         * include/signal.h: Likewise.
74608         * include/stdio.h: Likewise.
74609         * include/stdlib.h: Likewise.
74610         * include/string.h: Likewise.
74611         * include/sys/socket.h: Likewise.
74612         * include/sys/stat.h: Likewise.
74613         * include/sys/statfs.h: Likewise.
74614         * include/sys/statvfs.h: Likewise.
74615         * include/sys/syslog.h: Likewise.
74616         * include/sys/time.h: Likewise.
74617         * include/sys/uio.h: Likewise.
74618         * include/time.h: Likewise.
74619         * include/unistd.h: Likewise.
74620         * include/utmp.h: Likewise.
74621         * include/wchar.h: Likewise.
74622         * include/wctype.h: Likewise.
74623         * inet/aliases.h: Likewise.
74624         * inet/arpa/inet.h: Likewise.
74625         * inet/netinet/ether.h: Likewise.
74626         * inet/netinet/in.h: Likewise.
74627         * intl/libintl.h: Likewise.
74628         * io/bits/fcntl2.h: Likewise.
74629         * io/fcntl.h: Likewise.
74630         * io/ftw.h: Likewise.
74631         * io/sys/poll.h: Likewise.
74632         * io/sys/stat.h: Likewise.
74633         * io/sys/statfs.h: Likewise.
74634         * io/sys/statvfs.h: Likewise.
74635         * io/utime.h: Likewise.
74636         * libio/bits/stdio.h: Likewise.
74637         * libio/bits/stdio2.h: Likewise.
74638         * libio/libio.h: Likewise.
74639         * libio/libioP.h: Likewise.
74640         * libio/stdio.h: Likewise.
74641         * locale/lc-ctype.c: Likewise.
74642         * locale/locale.h: Likewise.
74643         * login/utmp.h: Likewise.
74644         * malloc/arena.c: Likewise.
74645         * malloc/malloc.c: Likewise.
74646         * malloc/malloc.h: Likewise.
74647         * malloc/mcheck.c: Likewise.
74648         * malloc/mtrace.c: Likewise.
74649         * math/bits/mathcalls.h: Likewise.
74650         * math/fenv.h: Likewise.
74651         * math/math_private.h: Likewise.
74652         * misc/bits/error.h: Likewise.
74653         * misc/bits/syslog.h: Likewise.
74654         * misc/err.h: Likewise.
74655         * misc/error.h: Likewise.
74656         * misc/fstab.h: Likewise.
74657         * misc/mntent.h: Likewise.
74658         * misc/regexp.h: Likewise.
74659         * misc/search.h: Likewise.
74660         * misc/sgtty.h: Likewise.
74661         * misc/sys/mman.h: Likewise.
74662         * misc/sys/syslog.h: Likewise.
74663         * misc/sys/uio.h: Likewise.
74664         * misc/sys/xattr.h: Likewise.
74665         * misc/ttyent.h: Likewise.
74666         * nis/rpcsvc/ypclnt.h: Likewise.
74667         * nss/nss.h: Likewise.
74668         * posix/bits/unistd.h: Likewise.
74669         * posix/fnmatch.h: Likewise.
74670         * posix/glob.h: Likewise.
74671         * posix/sched.h: Likewise.
74672         * posix/spawn.h: Likewise.
74673         * posix/sys/wait.h: Likewise.
74674         * posix/unistd.h: Likewise.
74675         * posix/wordexp.h: Likewise.
74676         * pwd/pwd.h: Likewise.
74677         * resolv/netdb.h: Likewise.
74678         * resource/sys/resource.h: Likewise.
74679         * rt/aio.h: Likewise.
74680         * rt/bits/mqueue2.h: Likewise.
74681         * rt/mqueue.h: Likewise.
74682         * shadow/shadow.h: Likewise.
74683         * signal/signal.h: Likewise.
74684         * socket/send.c: Likewise.
74685         * socket/sendto.c: Likewise.
74686         * socket/sys/socket.h: Likewise.
74687         * stdio-common/printf.h: Likewise.
74688         * stdlib/bits/stdlib.h: Likewise.
74689         * stdlib/fmtmsg.h: Likewise.
74690         * stdlib/monetary.h: Likewise.
74691         * stdlib/stdlib.h: Likewise.
74692         * stdlib/ucontext.h: Likewise.
74693         * streams/stropts.h: Likewise.
74694         * string/argz.h: Likewise.
74695         * string/bits/string2.h: Likewise.
74696         * string/string.h: Likewise.
74697         * string/strings.h: Likewise.
74698         * sunrpc/rpc/auth.h: Likewise.
74699         * sunrpc/rpc/auth_des.h: Likewise.
74700         * sunrpc/rpc/clnt.h: Likewise.
74701         * sunrpc/rpc/netdb.h: Likewise.
74702         * sunrpc/rpc/pmap_clnt.h: Likewise.
74703         * sunrpc/rpc/xdr.h: Likewise.
74704         * sysdeps/generic/inttypes.h: Likewise.
74705         * sysdeps/generic/net/if.h: Likewise.
74706         * sysdeps/generic/sys/swap.h: Likewise.
74707         * sysdeps/gnu/net/if.h: Likewise.
74708         * sysdeps/gnu/utmpx.h: Likewise.
74709         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
74710         * sysdeps/i386/i486/bits/string.h: Likewise.
74711         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
74712         * sysdeps/s390/bits/string.h: Likewise.
74713         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
74714         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
74715         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
74716         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
74717         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
74718         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
74719         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
74720         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
74721         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
74722         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
74723         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
74724         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
74725         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
74726         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
74727         * sysdeps/unix/sysv/linux/readv.c: Likewise.
74728         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
74729         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
74730         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
74731         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
74732         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
74733         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
74734         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
74735         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
74736         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
74737         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
74738         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
74739         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
74740         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
74741         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
74742         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
74743         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
74744         * sysvipc/sys/ipc.h: Likewise.
74745         * sysvipc/sys/msg.h: Likewise.
74746         * sysvipc/sys/sem.h: Likewise.
74747         * sysvipc/sys/shm.h: Likewise.
74748         * termios/termios.h: Likewise.
74749         * time/sys/time.h: Likewise.
74750         * time/time.h: Likewise.
74751         * wcsmbs/bits/wchar2.h: Likewise.
74752         * wcsmbs/uchar.h: Likewise.
74753         * wcsmbs/wchar.h: Likewise.
74754         * wctype/wctype.h: Likewise.
74756         [BZ #13551]
74757         * Makeconfig: Remove all but ELF support including AIX support.
74758         * Makerules: Likewise.
74759         * config.h.in: Likewise.
74760         * config.make.in: Likewise.
74761         * configure: Likewise.
74762         * configure.in: Likewise.
74763         * csu/Makefile: Likewise.
74764         * csu/version.c: Likewise.
74765         * debug/Makefile: Likewise.
74766         * dlfcn/Makefile: Likewise.
74767         * elf/Makefile: Likewise.
74768         * extra-lib.mk: Likewise.
74769         * iconv/Makefile: Likewise.
74770         * include/libc-symbols.h: Likewise.
74771         * include/shlib-compat.h: Likewise.
74772         * resolv/Makefile: Likewise.
74773         * resolv/res_libc.c: Likewise.
74774         * rt/Makefile: Likewise.
74775         * sysdeps/i386/asm-syntax.h: Likewise.
74776         * sysdeps/i386/sysdep.h: Likewise.
74777         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
74778         * sysdeps/mach/sysdep.h: Likewise.
74779         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
74780         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
74781         * sysdeps/s390/asm-syntax.h: Likewise.
74782         * sysdeps/s390/s390-32/sysdep.h: Likewise.
74783         * sysdeps/s390/s390-64/sysdep.h: Likewise.
74784         * sysdeps/sh/sysdep.h: Likewise.
74785         * sysdeps/unix/sparc/sysdep.h: Likewise.
74786         * sysdeps/wordsize-32/divdi3.c: Likewise.
74787         * sysdeps/x86_64/sysdep.h: Likewise.
74789         * argp/Versions: Remove _argp_unlock_xxx.
74791         [BZ #13559]
74792         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
74793         * abilist/libBrokenLocale.abilist: Likewise.
74794         * abilist/libanl.abilist: Likewise.
74795         * abilist/libc.abilist: Likewise.
74796         * abilist/libcrypt.abilist: Likewise.
74797         * abilist/libdl.abilist: Likewise.
74798         * abilist/libm.abilist: Likewise.
74799         * abilist/libnsl.abilist: Likewise.
74800         * abilist/libpthread.abilist: Likewise.
74801         * abilist/libresolv.abilist: Likewise.
74802         * abilist/librt.abilist: Likewise.
74803         * abilist/libthread_db.abilist: Likewise.
74804         * abilist/libutil.abilist: Likewise.
74805         * abilist/libnss_db.abilist: New file.
74807         * scripts/abilist.awk: Add support for indirect functions.
74809         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
74811         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
74813         * shlib-versions: Remove entries for ports architectures.
74815         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
74816         files in ports.
74817         * elf/stackguard-macros.h: Remove support for IA-64.
74818         * elf/tst-auditmod1.c: Likewise.
74819         * sysdeps/generic/ldsodefs.h: Likewise.
74821         * sysdeps/unix/sysv/linux/configure.in: Ports should define
74822         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
74823         configure files.
74825         [BZ #13552]
74826         * configure.in: Remove --enable-omitfp support.
74827         * FAQ.in: Adjust.
74828         * config.make.in: Likewise.
74829         * Makeconfig: Likewise.
74830         * manual/install.texi: Likewise.
74832         In case anyone cares, the IA-64 architecture could move to ports.
74833         * sysdeps/ia64/*: Removed.
74834         * sysdeps/unix/sysv/linux/ia64/*: Removed.
74835         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
74837         [BZ #13555]
74838         * configure.in: Remove entries for unsupported architectures.
74840         [BZ #13533]
74841         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
74842         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
74843         routines.
74844         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
74845         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
74846         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
74847         fall back to using wcrtomb.
74848         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
74849         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
74850         renaming.
74851         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
74852         * wcsmbs/tst-c16c32-1.c: New file.
74854         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
74855         local variable.
74857         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
74859         * elf/tst-unique3.cc: Add explicit declaration of gets.
74860         * elf/tst-unique3lib.cc: Likewise.
74861         * elf/tst-unique3lib2.cc: Likewise.
74862         * elf/tst-unique4.cc: Likewise.
74864         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
74866 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
74868         [BZ #13566]
74869         * assert/assert.h (static_assert): Don't define for C++.
74870         * libio/stdio.h (gets): Do declare for C++ <= C++11.
74871         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
74873 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
74875         * iconv/loop.c (single loop): Fix assertion in storing of
74876         remaining bytes.
74878         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
74880 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
74882         * posix/getconf.c: Update copyright year.
74883         * nss/getent.c: Likewise.
74884         * nss/makedb.c: Likewise.
74885         * iconv/iconvconfig.c: Likewise.
74886         * iconv/iconv_prog.c: Likewise.
74887         * elf/ldconfig.c: Likewise.
74888         * elf/pldd.c: Likewise.
74889         * elf/sotruss.ksh: Likewise.
74890         * catgets/gencat.c: Likewise.
74891         * csu/version.c: Likewise.
74892         * elf/ldd.bash.in: Likewise.
74893         * elf/sprof.c (print_version): Likewise.
74894         * locale/programs/locale.c: Likewise.
74895         * locale/programs/localedef.c: Likewise.
74896         * login/programs/pt_chown.c: Likewise.
74897         * nscd/nscd.c (print_version): Likewise.
74898         * debug/xtrace.sh: Likewise.
74899         * malloc/memusage.sh: Likewise.
74900         * malloc/mtrace.pl: Likewise.
74901         * debug/catchsegv.sh: Likewise.
74903 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
74905         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
74906         pure attribute.
74908 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
74910         [BZ #13533]
74911         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
74912         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
74913         transformations.
74914         * iconv/gconv_int.h: Likewise.
74915         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
74916         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
74917         from libc for GLIBC_2.16.
74918         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
74919         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
74920         * wcsmbs/uchar.h: Really define mbstate_t.
74921         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
74922         * wcsmbs/c16rtomb.c: New file.
74923         * wcsmbs/mbrtoc16.c: New file.
74924         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
74925         for C/POSIX locale.
74926         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
74927         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
74929         * wcsmbs/wchar.h: Add missing __restrict.
74931 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74933         [BZ #13532]
74934         * time/Makefile (routines): Add timespec_get.
74935         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
74936         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
74937         timespec for ISO C11.
74938         * time/timespec_get.c: New file.
74939         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
74940         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
74942         [BZ #13531]
74943         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
74944         * stdlib/stdlib.h: Declare aligned_alloc.
74945         * Versions.def: Add GLIBC_2.16 for libc.
74946         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
74948         [BZ 13527]
74949         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
74950         ISO C11.
74952         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
74953         code.
74955         [BZ #13528]
74956         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
74958         [BZ #13529]
74959         * assert/assert.h (static_assert): Define.
74961         * version.h: Update for 2.16 development version.
74963         [BZ #13526]
74964         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
74965         _ISOC11_SOURCE.
74967         * version.h (RELEASE): Bump for 2.15 release.
74968         * include/features.h (__GLIBC_MINOR__): Bump to 15.
74970         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
74971         Patch by Marek Polacek <mpolacek@redhat.com>.
74973         * bits/byteswap.h: Protect long long constants with __extension__.
74974         * sysdeps/i386/bits/byteswap.h: Likewise.
74975         * sysdeps/ia64/bits/byteswap.h: Likewise.
74976         * sysdeps/s390/bits/byteswap.h: Likewise.
74977         * sysdeps/x86_64/bits/byteswap.h: Likewise.
74979 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74981         [BZ #13540]
74982         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
74983         destination buffer.
74984         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
74986 2011-12-23  Marek Polacek  <polacek@redhat.com>
74988         * elf/dl-addr.c (determine_info): Add inline keyword.
74989         * elf/tst-auditmod4b.c (check_avx): Likewise.
74990         * elf/tst-auditmod6b.c (check_avx): Likewise.
74991         * elf/tst-auditmod6c.c (check_avx): Likewise.
74992         * elf/tst-auditmod7b.c (check_avx): Likewise.
74994 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
74996         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
74997         !__SSE_MATH__.
74999 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75001         [BZ #13540]
75002         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
75003         processing for last bytes.
75005 2011-08-06  Bruno Haible  <bruno@clisp.org>
75007         [BZ #13061]
75008         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
75009         U+0385, not to U+1FEE.
75011         [BZ #13062]
75012         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
75013         entry for U+00A5 U+0301.
75015 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75017         [BZ #13166]
75018         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
75019         buffer for the output is too small.
75021         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
75022         optimization.
75024         [BZ #13185]
75025         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
75026         SSE flags if possible.
75028 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75030         [BZ #13540]
75031         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
75032         processing for last bytes.
75034 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
75036         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
75037         (syscall-list-default-options, syscall-list-default-condition)
75038         (syscall-list-includes): Define.
75039         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
75040         list of ABIs and options and #if conditions for each ABI.  Do not
75041         handle common syscalls between ABIs specially.
75042         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
75043         Remove.
75044         (syscall-list-variants, syscall-list-32bit-options)
75045         (syscall-list-32bit-condition, syscall-list-64bit-options)
75046         (syscall-list-64bit-condition): Define.
75047         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
75048         (syscall-list-variants, syscall-list-32bit-options)
75049         (syscall-list-32bit-condition, syscall-list-64bit-options)
75050         (syscall-list-64bit-condition): Define.
75051         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
75052         Remove.
75053         (syscall-list-variants, syscall-list-32bit-options)
75054         (syscall-list-32bit-condition, syscall-list-64bit-options)
75055         (syscall-list-64bit-condition): Define.
75056         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
75057         Remove.
75058         (syscall-list-variants, syscall-list-32bit-options)
75059         (syscall-list-32bit-condition, syscall-list-64bit-options)
75060         (syscall-list-64bit-condition): Define.
75062 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
75064         * locale/iso-639.def: Add brx entry.
75066         [BZ #13328]
75067         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
75068         Proposed by Mariusz_Cukr <marcukr@op.pl>.
75070         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
75071         __feraiseexcept_renamed.
75073 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75075         [BZ #13538]
75076         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
75077         EPOLLET with unsigned values.
75078         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
75079         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
75081         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
75082         to large cancellation.
75083         * math/s_cacoshf.c: Likewise.
75084         * math/s_cacoshl.c: Likewise.
75086 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
75088         [BZ #13305]
75089         [BZ #12786]
75090         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
75091         * math/s_cacoshf.c: Likewise.
75092         * math/s_cacoshl.c: Likewise.
75094 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
75096         [BZ #13439]
75097         * iconv/gconv.h: Define __GCONV_SWAP.
75098         * iconvdata/unicode.c: The swap bit must be stored in __flags.
75099         * iconvdata/utf-16.c: Likewise.
75100         * iconvdata/utf-32.c: Likewise.
75102 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
75104         [BZ #13524]
75105         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
75106         numerator after shifting it by one limb.
75108 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
75110         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
75111         under [__USE_EXTERN_INLINES].
75113 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75115         [BZ #13446]
75116         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
75118 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75120         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
75121         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
75122         optimized code.
75123         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
75124         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
75125         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
75126         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
75127         for strncasecmp/strncasecmp_l compilation.
75128         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
75129         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
75131 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
75133         [BZ #13484]
75134         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
75135         of __asm__.
75137 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
75139         [BZ #13506]
75140         * time/tzfile.c (__tzfile_read): Check values from file header.
75142 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
75144         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
75145         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
75146         * powerpc/powerpc32/dl-start.S: Likewise.
75147         * powerpc/powerpc32/elf/start.S: Likewise.
75148         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
75149         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
75150         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
75151         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
75152         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
75153         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
75154         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
75155         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
75156         * powerpc/powerpc32/fpu/s_round.S: Likewise.
75157         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
75158         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
75159         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
75160         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
75161         * powerpc/powerpc32/memset.S: Likewise.
75162         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
75163         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
75164         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
75165         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
75166         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
75167         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
75168         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
75169         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
75170         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
75171         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
75172         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
75173         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
75174         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
75176 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75178         * math/libm-test.inc: Added more nearbyint tests.
75179         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
75180         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
75181         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
75182         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
75184 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
75186         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
75187         FD_CLOEXEC.
75189 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75191         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
75192         Add wcscpy-ssse3 wcscpy-c.
75193         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
75194         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
75195         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
75196         * sysdeps/x86_64/wcschr.S: New file.
75197         * sysdeps/x86_64/wcsrchr.S: New file.
75198         * string/test-strcmp.c: Remove checking of wcscmp function for
75199         wrong alignments.
75200         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
75201         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
75202         wcsrchr-sse2 wcsrchr-c.
75203         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
75204         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
75205         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
75206         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
75207         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
75208         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
75209         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
75210         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
75211         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
75212         * wcsmbc/wcschr.c (WCSCHR): New macro.
75214 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75216         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
75217         * wcsmbs/test-wcsrchr.c: New file.
75218         * string/test-strrchr.c: Add wcsrchr support.
75219         (WIDE): New macro.
75220         * wcsmbs/test-wcscpy.c: New file.
75221         * string/test-strcpy.c: Add wcscpy support.
75222         (WIDE): New macro.
75224 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
75226         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
75227         the inner loop.
75229 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
75231         [BZ #13472]
75232         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
75234 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
75236         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
75237         Minor optimizations.
75239         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
75240         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
75241         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
75243 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
75245         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
75246         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
75247         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
75248         for gcc to avoid warnings.
75249         * inet/Makefile (tests): Add tst-checks.
75250         * inet/tst-checks.c: New file.
75252         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
75253         warning.
75255         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
75256         __wmemcmp_sse2.
75258         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
75259         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
75261         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
75263 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
75265         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
75266         problem.
75268         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
75270 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
75272         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
75273         conditional on GCC version.
75274         (__arch_compare_and_exchange_val_8_acq)
75275         (__arch_compare_and_exchange_val_16_acq)
75276         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
75277         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
75278         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
75280 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
75282         * sysdeps/sh/backtrace.c: New file.
75284 2011-12-02  Andreas Schwab  <schwab@redhat.com>
75286         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
75287         parenthesis.
75289 2011-12-01  Andreas Schwab  <schwab@redhat.com>
75291         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
75292         falling back to utime.
75294 2011-11-30  Andreas Schwab  <schwab@redhat.com>
75296         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
75297         expectations for float.
75299 2011-11-29  Andreas Schwab  <schwab@redhat.com>
75301         * locale/weight.h (findidx): Add parameter len.
75302         * locale/weightwc.h (findidx): Likewise.
75303         * posix/fnmatch_loop.c (FCT): Adjust caller.
75304         * posix/regcomp.c (build_equiv_class): Likewise.
75305         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
75306         * posix/regexec.c (check_node_accept_bytes): Likewise.
75307         * string/strcoll_l.c (STRCOLL): Likewise.
75308         * string/strxfrm_l.c (STRXFRM): Likewise.
75310 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
75312         * Makefile.in: Remove CVSOPT handling.
75313         * configure.in: Remove use of AC_REVISION.
75314         * iconvdata/Makefile (distribute): No need to filter out CVS.
75315         * scripts/list-sources.sh: Remove CVS, subversion and monotone
75316         handling.
75318 2011-11-16  Andreas Schwab  <schwab@redhat.com>
75320         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
75321         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
75322         [USE_AS_STRNCASECMP_L]: Likewise.
75323         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
75324         NO_TLS_DIRECT_SEG_REFS.
75325         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
75326         Fix argument offsets for non-PIC.
75327         [USE_AS_STRNCASECMP_L]: Likewise.
75328         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
75329         NO_TLS_DIRECT_SEG_REFS.
75331 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75333         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
75334         O_CLOEXEC.
75335         * locale/loadlocale.c (_nl_load_locale): Likewise.
75337 2011-11-15  Andreas Schwab  <schwab@redhat.com>
75339         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
75340         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
75341         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
75342         (SYSCALL_GETTIME): Set errno on error.
75344         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
75345         count references to noai6ai_cached.
75347 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
75349         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
75351         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
75352         FD_CLOEXEC for /proc/self/maps.
75354         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
75355         FD_CLOEXEC for /proc/meminfo.
75357         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
75358         gai.conf.
75360         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
75361         FD_CLOEXEC for given file.
75363         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
75365         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
75366         FD_CLOEXEC for /etc/hosts.
75367         (_gethtent): Likewise.
75369         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
75371         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
75372         cancellation and set FD_CLOEXEC for /etc/netgroup.
75374         * nss/nss_files/files-key.c (search): Don't allow cancellation when
75375         reading /etc/publickey.
75377         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
75378         allow cancellation when reading /etc/group.
75380         * nss/nss_files/files-alias.c (internal_setent): Don't allow
75381         cancellation.
75382         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
75384         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
75385         when using data file.
75387         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
75389         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
75390         (write_nis_obj): Use "c" and "e" in fopen.
75392         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
75394         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
75396         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
75398         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
75400         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
75401         locale.alias.
75403         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
75405         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
75407         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
75409         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
75410         file parsing and set FD_CLOEXEC.
75412 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75414         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
75416 2011-11-14  Andreas Schwab  <schwab@redhat.com>
75418         * malloc/arena.c (arena_get2): Don't call reused_arena when
75419         _int_new_arena failed.
75421 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
75423         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
75424         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
75425         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
75426         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
75427         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
75428         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
75429         to compile strcasecmp and strncasecmp.
75430         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
75431         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
75433         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
75435 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
75437         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
75438         locale-defines.sym to gen-as-const-headers.
75439         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
75440         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
75441         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
75442         to compile strcasecmp and strncasecmp.
75443         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
75444         strcasecmp_l and strncasecmp_l.
75445         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
75446         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
75447         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
75448         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
75449         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
75450         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
75451         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
75452         * sysdeps/i386/i686/multiarch/strncase.S: New file.
75453         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
75454         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
75455         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
75457 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
75459         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
75460         result of SYSDEP_GETTIME_CPU to retval.
75461         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
75462         parameter list to macro.  Remove trailing semicolon.  Adjust users.
75464         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
75465         variable.
75467         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
75468         mantissa words.
75469         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
75471         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
75472         from unused variable.
75474         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
75475         DWARF definitions.
75476         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
75477         for assembling.
75479         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
75480         over namespaces.
75482         * sunrpc/rpc_prot.c (rejected): Fix case value.
75484         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
75485         unsigned long long int to avoid warnings in shift.
75487         * posix/regex_internal.c (re_string_reconstruct): Actually use result
75488         of use of trans.
75489         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
75490         variable tmp.
75492         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
75493         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
75494         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
75496         * nis/nis_table.c (nis_list): Use variable of correct type for
75497         result of __follow_path call.
75499 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75501         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
75502         of math functions ceil, trunc, floor, round, and sqrt, when
75503         avaliable on the platform.
75504         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
75505         name clash.
75506         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
75507         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
75508         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
75510 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
75512         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
75513         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
75515 2011-11-11  Roland McGrath  <roland@hack.frob.com>
75517         * include/unistd.h: Fix __readlink return type.
75518         Reported by Chris Metcalf <cmetcalf@tilera.com>.
75520 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
75522         * stdlib/ucontext.h: Undo last change for makecontext.
75524 2011-11-11  Andreas Schwab  <schwab@redhat.com>
75526         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
75528         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
75529         * setjmp/setjmp.h: Mark functions as non-leaf.
75530         * setjmp/bits/setjmp2.h: Likewise.
75531         * stdlib/ucontext.h: Likewise.
75533 2011-11-10  Andreas Schwab  <schwab@redhat.com>
75535         * malloc/arena.c (_int_new_arena): Don't increment narenas.
75536         (reused_arena): Don't check arena limit.
75537         (arena_get2): Atomically check arena limit.
75539 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
75541         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
75542         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
75544         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
75545         instructions.
75547 2011-11-07  Andreas Schwab  <schwab@redhat.com>
75549         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
75550         handler when locking.
75552         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
75553         Fix size of allocated buffer.
75555 2011-11-04  Andreas Schwab  <schwab@redhat.com>
75557         [BZ #10103]
75558         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
75559         declarations for long double functions.
75560         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
75562         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
75564 2011-11-03  Andreas Schwab  <schwab@redhat.com>
75566         * nscd/nscd.c (main): Don't start AVC thread until credentials are
75567         installed.
75569         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
75570         is disabled.
75572 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75574         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
75576 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
75578         * include/alloca.h (stackinfo_alloca_round): Define.
75579         (extend_alloca): Use it.
75580         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
75581         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
75582         here.
75584         * scripts/check-local-headers.sh: Ignore libaudit.h.
75586         * nscd/Makefile (extra-objs): Make recursively expanded.
75588 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
75590         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
75591         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
75593         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
75594         * posix/tst-rfc3484-2.c: Likewise.
75595         * posix/tst-rfc3484-3.c: Likewise.
75597         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
75598         process_vm_writev.
75599         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
75600         process_vm_writev.
75601         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
75602         process_vm_writev from libc using GLIBC_2.15 version.
75604         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
75606 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
75608         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
75609         stack usage.
75611 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
75613         [BZ #13367]
75614         * nss/getent.c (initgroups_keys): Show error message in case no group
75615         names are given.
75617         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
75618         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
75619         __bump_nl_timestamp.
75620         * nscd/connections (nscd_init): When host database is served open
75621         netlink socket and request notification about configuration changes.
75622         (main_loop_poll): Track netlink file descriptor and bump timestamp
75623         in case data becomes available.
75624         (main_loop_epoll): Likewise.
75625         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
75626         (database_pers_head): Add extra_data fileds.
75627         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
75628         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
75629         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
75630         Adjust caller.
75631         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
75632         in6ai data, call __free_in6ai.
75633         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
75634         Add -DHAVE_NETLINK.
75635         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
75636         interface information.  Reuse previous data if netlink timestamp
75637         is not changed.
75638         (__bump_nl_timestamp): New function.
75639         (__free_in6ai): New function.
75641 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
75643         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
75644         close_not_cancel_no_status here.
75645         (__check_pf): Reorganize code a bit to not call close twice if OOM.
75647 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75649         [BZ #13276]
75650         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
75651         return value.
75653         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
75654         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
75655         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
75657 2011-07-03  Andreas Jaeger  <aj@suse.de>
75659         [BZ #10709]
75660         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
75661         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
75662         * math/libm-test.inc (sin_test): Add test case.
75664 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
75666         [BZ #13337]
75667         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
75668         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75670         * elf/chroot_canon.c (chroot_canon): Cleanups.
75672         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
75674         [BZ #13335]
75675         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
75676         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
75678         * string/test-strchr.c: Make usable for strchrnul testing.
75679         * string/test-strchrnul.c: New file.
75680         * string/Makefile (strop-tests): Add strchrnul.
75682         * po/it.po: Update from translation team.
75683         * po/es.po: Likewise.
75685 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
75687         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
75688         the three constants needed as parameters.  Drop the others.
75689         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
75690         __m128i_strloadu_tolower.
75691         Create and initialize variable zero and use it in all the places
75692         where _mm_setzero_si128 was used.
75694         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
75695         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
75696         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
75697         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
75698         anymore.
75699         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
75700         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
75701         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
75702         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
75703         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
75704         __mpranred, __mptan.
75705         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
75706         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
75707         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
75708         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
75709         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
75710         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
75711         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
75712         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
75713         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
75715 2011-10-28  Andreas Schwab  <schwab@redhat.com>
75717         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
75718         redefine if SHARED.
75719         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
75721         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
75722         wide char related routines to wcsmbs subdir.
75724 2011-10-27  Andreas Schwab  <schwab@redhat.com>
75726         [BZ #13344]
75727         * misc/sys/cdefs.h (__THROWNL): Define.
75728         * posix/unistd.h: Use __THREADNL instead of __THREAD
75729         for memory synchronization functions.
75731 2011-10-26  Roland McGrath  <roland@hack.frob.com>
75733         [BZ #13349]
75734         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
75735         doesn't exist.
75736         * manual/stdio.texi (Obstack Streams): Node removed.
75738 2011-10-26  Andreas Schwab  <schwab@redhat.com>
75740         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
75741         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75742         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75744         * math/math_private.h (math_force_eval): Allow non-addressable
75745         arguments.
75746         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
75748 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75750         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
75751         file is not needed.
75753         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
75754         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
75755         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
75756         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
75757         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
75758         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
75759         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
75760         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
75761         Add AVX variants.
75762         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
75763         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
75764         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
75765         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
75766         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
75767         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
75768         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
75769         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
75770         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
75771         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
75772         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
75773         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
75774         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
75775         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
75776         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
75777         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
75778         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
75779         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
75780         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
75782         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
75783         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
75785         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
75786         place.  Use VEX encoding when compiling for AVX.
75788 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75790         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
75791         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
75793         * string/test-strchr.c (do_test): Don't generate NUL bytes.
75795 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75797         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
75798         useless if() expression.
75799         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
75800         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
75801         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
75802         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
75803         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
75804         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
75805         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
75806         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
75807         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
75808         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
75809         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
75810         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
75811         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
75812         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
75813         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
75814         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
75815         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
75816         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
75817         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
75819         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
75821 2011-10-25  Andreas Schwab  <schwab@redhat.com>
75823         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
75824         condition.
75825         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75827 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
75829         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
75830         .text section.  Avoid duplicate constants.
75831         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
75832         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75833         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
75834         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75835         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75836         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75837         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75838         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75839         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
75840         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
75841         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
75842         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
75843         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
75844         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
75845         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
75846         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
75847         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
75848         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
75849         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
75850         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75851         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
75852         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
75853         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
75854         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
75855         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
75856         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
75857         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
75858         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
75859         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
75860         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
75861         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
75862         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
75863         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
75864         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
75865         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
75866         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
75867         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
75868         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
75869         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
75870         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
75871         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
75872         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
75873         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
75874         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
75875         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
75877 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
75879         * sysdeps/x86_64/dla.h: Move to ...
75880         * sysdeps/x86_64/fpu/dla.h: ...here.
75881         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
75882         situations.  Use __builtin_fma only for gcc 4.6 and up.
75884         * config.make.in: Add have-mfma4 entry.
75885         * configure.in: Substitute libc_cv_cc_fma4.
75886         * math/Makefile (dbl-only-routines): Add sincostab.
75887         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
75888         Use __sincostab not sincos.
75889         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
75890         name is a macro.
75891         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
75892         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75893         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75894         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
75895         using __copysign.
75896         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
75897         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
75898         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
75899         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
75900         and __inv.
75901         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
75902         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
75903         __copysign.
75904         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
75905         define aliases when function name is a macro.
75906         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
75907         sysdeps/ieee754/dbl-64/sincos.tbl.
75908         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
75909         fma4-enabled routines.
75910         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
75911         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
75912         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
75913         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
75914         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
75915         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
75916         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
75917         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
75918         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
75919         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
75920         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
75921         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
75922         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
75923         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
75924         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
75925         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
75926         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
75927         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
75928         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
75929         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
75930         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
75931         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
75932         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
75933         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
75934         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
75935         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
75936         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
75937         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
75938         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
75939         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
75941         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
75942         rename.
75943         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75944         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
75945         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
75946         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
75947         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
75948         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
75949         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
75950         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
75952 2011-10-24  Andreas Schwab  <schwab@redhat.com>
75954         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
75956 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
75958         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
75960         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
75961         prediction.
75962         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
75964         * string/strnlen.c: Don't define STRNLEN, reverse logic.
75965         Remove unused variable magic_bits.
75966         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
75968         * string/strnlen.c: Define and use STRNLEN macro.
75969         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
75970         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
75971         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
75972         * wcsmbs/wcslen.c: Define and use WCSLEN.
75973         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
75974         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
75975         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
75976         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
75977         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
75978         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
75979         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
75981 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75983         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75984         strnlen-sse2-no-bsf.
75985         Rename strlen-no-bsf to strlen-sse2-no-bsf.
75986         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
75987         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
75988         Add strnlen support.
75989         (USE_AS_STRNLEN): New macro.
75990         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
75991         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
75992         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
75993         * sysdeps/x86_64/wcslen.S: New file.
75995 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
75997         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75998         XMM-moves are used for copying on small sizes.
76000 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76002         * wcsmbs/Makefile (strop-tests): Add wcschr.
76003         * wcsmbs/test-wcschr.c: New file.
76004         * string/test-strchr.c: Update.
76005         Add wcschr support.
76006         (WIDE): New macro.
76008 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76010         * wcsmbs/Makefile (strop-tests): Add wcslen.
76011         * wcsmbs/test-wcslen.c: New file.
76012         * string/test-strlen.c: Update.
76013         Add wcslen support.
76014         (WIDE): New macro.
76016 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76018         * po/it.po: Update from translation team.
76020 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76022         * sysdeps/x86_64/wcscmp.S: Update.
76023         Fix wrong comparison semantics.
76024         wcscmp shall use signed comparison not unsigned.
76025         Don't use substraction to avoid overflow bug.
76026         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
76027         * wcsmbc/wcscmp.c: Likewise.
76028         * string/test-strcmp.c: Likewise.
76029         Add new tests to check cases with negative values.
76031 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
76033         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
76034         * sysdeps/x86_64/dla.h: ...here.  New file.
76035         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
76036         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76037         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76038         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76039         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76040         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76041         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76042         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76043         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76045 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
76047         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
76048         __ynl_finite aliases.
76050 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76052         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
76054         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
76055         define DLA_FMA.
76056         [DLA_FMA] (EMULV): Use DLA_FMA.
76057         [DLA_FMA] (MUL12): Use EMULV.
76058         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
76059         that are not needed.
76060         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76061         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76062         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76063         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76064         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76065         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76066         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76068 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
76070         * math/s_nan.c: Undef __nan.
76071         * math/s_nanf.c: Undef __nanf.
76072         * math/s_nanl.c: Undef __nanl.
76073         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
76074         "math_private.h".
76076 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
76078         * math/s_catan.c: Add branch predictions.
76079         * math/s_catanf.c: Likewise.
76080         * math/s_catanh.c: Likewise.
76081         * math/s_catanhf.c: Likewise.
76082         * math/s_catanhl.c: Likewise.
76083         * math/s_catanl.c: Likewise.
76084         * math/s_cexp.c: Likewise.
76085         * math/s_cexpf.c: Likewise.
76086         * math/s_cexpl.c: Likewise.
76087         * math/s_clog.c: Likewise.
76088         * math/s_clog10.c: Likewise.
76089         * math/s_clog10f.c: Likewise.
76090         * math/s_clog10l.c: Likewise.
76091         * math/s_clogf.c: Likewise.
76092         * math/s_clogl.c: Likewise.
76093         * math/s_csqrt.c: Likewise.
76094         * math/s_csqrtf.c: Likewise.
76095         * math/s_csqrtl.c: Likewise.
76096         * math/s_ctanf.c: Likewise.
76097         * math/s_ctanh.c: Likewise.
76098         * math/s_ctanhf.c: Likewise.
76099         * math/s_ctanhl.c: Likewise.
76100         * math/s_ctanl.c: Likewise.
76102         * math/math_private.h: Define __nan, __nanf, __nanl.
76103         * math/s_cacosh.c: Include <math_private.h>.
76104         * math/s_cacoshl.c: Likewise.
76105         * math/s_casinh.c: Likewise.
76106         * math/s_casinhf.c: Likewise.
76107         * math/s_casinhl.c: Likewise.
76108         * math/s_ccos.c: Rely entire on ccosh.
76109         * math/s_ccosf.c: Rely entire on ccoshf.
76110         * math/s_ccosl.c: Rely entirely on ccoshl.
76111         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
76112         Remove tests for FE_INVALID.
76113         * math/s_ccoshf.c: Likewise.
76114         * math/s_ccoshl.c: Likewise.
76115         * math/s_csin.c: Likewise.
76116         * math/s_csinf.c: Likewise.
76117         * math/s_csinh.c Likewise.
76118         * math/s_csinhf.c: Likewise.
76119         * math/s_csinhl.c: Likewise.
76120         * math/s_csinl.c: Likewise.
76121         * math/s_ctan.c: Likewise.
76122         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
76123         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
76124         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
76126 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
76128         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
76129         compilation problems.
76131         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
76132         __builtin_expect.
76134 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
76136         * sysdeps/i386/configure.in: Test for -mfma4 option.
76137         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
76138         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
76139         COMMON_CPUID_INDEX_80000001.
76140         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
76141         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
76142         use it if FMA3 is not supported.
76143         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
76145         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
76146         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
76148 2011-10-20  Andreas Schwab  <schwab@redhat.com>
76150         [BZ #12892]
76151         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
76152         it would create a cycle with a link time dependency.
76154 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
76156         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
76157         instruction.
76158         * string/Makefile (strop-tests): Add rawmemchr.
76159         * string/test-rawmemchr.c: New file.
76161         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
76162         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
76163         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
76164         when compiling str{,n}casecmp and when AVX is available.  Hook up
76165         new optimized code in initializers.
76167 2011-10-19  Andreas Schwab  <schwab@redhat.com>
76169         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
76170         __feraiseexcept instead of feraiseexcept.
76172 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
76174         * math/math_private.h: Define defaults for libc_fetestexcept and
76175         libc_feupdateenv.
76176         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
76177         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
76178         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76179         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76180         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76181         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76182         libc_fetestexcept and libc_feupdateenv.
76184         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
76185         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
76186         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
76187         * sysdeps/x86_64/fpu/math_private.h: Define special version of
76188         libc_feholdexcept_setround.
76190         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
76191         Add s_nearbyint-c and s_nearbyintf-c.
76192         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
76193         nearbyintf inlines.
76194         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
76195         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
76196         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
76197         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
76199         * math/math_private.h: Define defaults for libc_fegetround,
76200         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
76201         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
76202         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
76203         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
76204         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
76205         standard functions.
76206         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76207         Remove comments and hacks for old compiler versions.
76208         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
76209         libc_fegetround, libc_fesetround, libc_feholdexcept, and
76210         libc_feholdexceptl.
76212 2011-10-18  Andreas Schwab  <schwab@redhat.com>
76214         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
76215         (__feraiseexcept_renamed): Add __NTH.
76216         (feraiseexcept): Add __NTH.  Rename local variables to fix
76217         namespace violations.
76219 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
76221         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
76223         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
76225         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
76226         recently added interfaces.
76227         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
76229         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
76230         about macro parameter expansion.
76232         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
76233         __NO_MATH_INLINES is defined.  Cleanups.
76235         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
76236         and __floorf is target has SSE4.1.
76237         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
76238         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
76239         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
76240         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
76242         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
76243         name.
76244         (floorf): Likewise.
76246         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
76248 2011-10-17  Andreas Schwab  <schwab@redhat.com>
76250         * misc/sys/cdefs.h: Fix last change.
76252         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
76253         database lookup.
76255 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
76257         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
76259         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
76260         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76261         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76262         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76263         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76264         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76265         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76266         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76267         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76268         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
76269         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
76270         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
76271         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
76272         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
76273         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
76274         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
76275         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
76276         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
76277         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
76278         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
76279         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
76280         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
76282         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
76283         ceil, ceilf, floor, floorf.
76285         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
76286         Perform IRELATIVE relocations last.
76288         * elf/do-rel.h: Add another parameter nrelative, replacing the
76289         local variable with the same name.  Change name of the function
76290         to end in Rel or Rela (uppercase).
76291         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
76292         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
76293         elf_dynamic_do_##reloc function.
76295 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76297         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
76298         is sufficient, at least on modern CPUs.
76300         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
76302         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
76303         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
76305         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
76306         __expl_finite.
76307         * math/bits/math-finite.h: Add entries for exp.
76308         * math/e_expl.c: Add __*_finite alias.
76309         * sysdeps/i386/fpu/e_exp.S: Likewise.
76310         * sysdeps/i386/fpu/e_expf.S: Likewise.
76311         * sysdeps/i386/fpu/e_expl.c: Likewise.
76312         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76313         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
76314         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
76315         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
76316         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
76317         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
76318         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
76320         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
76321         is sufficient, at least on modern CPUs.
76323         * ctype/ctype-info.c (__ctype_init): Define.
76324         * include/ctype.h (__ctype_init): Declare.
76325         (__ctype_b_loc): The variable is always initialized.
76326         (__ctype_toupper_loc): Likewise.
76327         (__ctype_tolower_loc): Likewise.
76328         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
76329         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
76331 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
76333         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
76335         * configure.in: Also look in $cxxmachine/include for C++ system
76336         headers.
76338 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76340         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
76341         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
76342         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
76343         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
76344         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
76345         (USE_AS_WMEMCMP): New macro.
76346         Fixing indents.
76347         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
76348         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
76349         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
76350         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
76351         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76352         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
76353         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
76354         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
76355         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
76356         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
76357         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
76358         (USE_AS_WMEMCMP): New macro.
76359         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
76360         * sysdeps/string/test-memcmp.c: Update.
76361         Fix simple_wmemcmp.
76362         Add new tests.
76363         * wcsmbs/wmemcmp.c: Update.
76364         (WMEMCMP): New macro.
76365         Fix overflow bug.
76367 2011-10-12  Andreas Jaeger  <aj@suse.de>
76369         [BZ #13268]
76370         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
76372 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
76374         * libio/iofwide.c (do_length): Avoid warning.
76376         * ctype/ctype.h (__isctype_f): Add missing __THROW.
76378 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
76380         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
76382         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
76383         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
76384         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
76385         * sysdeps/i386/i686/fpu/e_log.S: New file.
76386         * sysdeps/i386/i686/fpu/e_logf.S: New file.
76387         * sysdeps/i386/i686/fpu/e_logl.S: New file.
76389         * ctype/ctype.h: Add support for inlined isXXX functions when
76390         compiling C++ code.
76392 2011-10-14  Andreas Schwab  <schwab@redhat.com>
76394         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
76396         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
76398 2011-10-13  Roland McGrath  <roland@hack.frob.com>
76400         [BZ #13291]
76401         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
76403 2011-10-13  Andreas Schwab  <schwab@redhat.com>
76405         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
76406         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
76407         feraiseexcept.
76409         * sysdeps/x86_64/memrchr.S: Check for zero size.
76411         * string/stratcliff.c: Add memrchr tests.
76413 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76415         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76416         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
76417         rawmemchr-sse2 rawmemchr-sse2-bsf.
76418         * sysdeps/i386/i686/multiarch/memchr.S: New file.
76419         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
76420         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
76421         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
76422         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
76423         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
76424         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
76425         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
76426         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
76427         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
76428         * string/memrchr.c (MEMRCHR): New macro.
76430 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
76432         Add integration with gcc's -ffinite-math-only and optimize wrapper
76433         functions in libm.
76434         * Versions.def: Define GLIBC_2.15 version for libm.
76435         * math/Makefile (headers): Add bits/math-finite.h.
76436         * math/bits/math-finite.h: New file.
76437         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
76438         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
76439         * math/e_acoshl.c: Add __*_finite alias.
76440         * math/e_acosl.c: Likewise.
76441         * math/e_asinl.c: Likewise.
76442         * math/e_atan2l.c: Likewise.
76443         * math/e_atanhl.c: Likewise.
76444         * math/e_coshl.c: Likewise.
76445         * math/e_exp10.c: Likewise.
76446         * math/e_exp10f.c: Likewise.
76447         * math/e_exp10l.c: Likewise.
76448         * math/e_exp2l.c: Likewise.
76449         * math/e_fmodl.c: Likewise.
76450         * math/e_gammal_r.c: Likewise.
76451         * math/e_hypotl.c: Likewise.
76452         * math/e_j0l.c: Likewise.
76453         * math/e_j1l.c: Likewise.
76454         * math/e_jnl.c: Likewise.
76455         * math/e_lgammal_r.c: Likewise.
76456         * math/e_log10l.c: Likewise.
76457         * math/e_log2l.c: Likewise.
76458         * math/e_logl.c: Likewise.
76459         * math/e_powl.c: Likewise.
76460         * math/e_sinhl.c: Likewise.
76461         * math/e_sqrtl.c: Likewise.
76462         * math/e_scalb.c: Completely rewritten and optimized.
76463         * math/e_scalbf.c: Likewise.
76464         * math/e_scalbl.c: Likewise.
76465         * math/w_acos.c: Likewise.
76466         * math/w_acosf.c: Likewise.
76467         * math/w_acosl.c: Likewise.
76468         * math/w_acosh.c: Likewise.
76469         * math/w_acoshf.c: Likewise.
76470         * math/w_acoshl.c: Likewise.
76471         * math/w_asin.c: Likewise.
76472         * math/w_asinf.c: Likewise.
76473         * math/w_asinl.c: Likewise.
76474         * math/w_atan2.c: Likewise.
76475         * math/w_atan2f.c: Likewise.
76476         * math/w_atan2l.c: Likewise.
76477         * math/w_atanh.c: Likewise.
76478         * math/w_atanhf.c: Likewise.
76479         * math/w_atanhl.c: Likewise.
76480         * math/w_exp10.c: Likewise.
76481         * math/w_exp10f.c: Likewise.
76482         * math/w_exp10l.c: Likewise.
76483         * math/w_fmod.c: Likewise.
76484         * math/w_fmodf.c: Likewise.
76485         * math/w_fmodl.c: Likewise.
76486         * math/w_j0.c: Likewise.
76487         * math/w_j0f.c: Likewise.
76488         * math/w_j0l.c: Likewise.
76489         * math/w_j1.c: Likewise.
76490         * math/w_j1f.c: Likewise.
76491         * math/w_j1l.c: Likewise.
76492         * math/w_jn.c: Likewise.
76493         * math/w_jnf.c: Likewise.
76494         * math/w_log.c: Likewise.
76495         * math/w_logf.c: Likewise.
76496         * math/w_logl.c: Likewise.
76497         * math/w_log10.c: Likewise.
76498         * math/w_log10f.c: Likewise.
76499         * math/w_log10l.c: Likewise.
76500         * math/w_log2.c: Likewise.
76501         * math/w_log2f.c: Likewise.
76502         * math/w_log2l.c: Likewise.
76503         * math/w_pow.c: Likewise.
76504         * math/w_powf.c: Likewise.
76505         * math/w_powl.c: Likewise.
76506         * math/w_remainder.c: Likewise.
76507         * math/w_remainderf.c: Likewise.
76508         * math/w_remainderl.c: Likewise.
76509         * math/w_scalb.c: Likewise.
76510         * math/w_scalbf.c: Likewise.
76511         * math/w_scalbl.c: Likewise.
76512         * math/w_sqrt.c: Likewise.
76513         * math/w_sqrtf.c: Likewise.
76514         * math/w_sqrtl.c: Likewise.
76515         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
76516         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
76517         used.
76518         * math/math_private.h: Declare __kernel_standard_f.
76519         * math/w_cosh.c: Remove cruft and optimize a bit.
76520         * math/w_coshf.c: Likewise.
76521         * math/w_coshl.c: Likewise.
76522         * math/w_exp2.c: Likewise.
76523         * math/w_exp2f.c: Likewise.
76524         * math/w_exp2l.c: Likewise.
76525         * math/w_hypot.c: Likewise.
76526         * math/w_hypotf.c: Likewise.
76527         * math/w_hypotl.c: Likewise.
76528         * math/w_lgamma.c: Likewise.
76529         * math/w_lgamma_r.c: Likewise.
76530         * math/w_lgammaf.c: Likewise.
76531         * math/w_lgammaf_r.c: Likewise.
76532         * math/w_lgammal.c: Likewise.
76533         * math/w_lgammal_r.c: Likewise.
76534         * math/w_sinh.c: Likewise.
76535         * math/w_sinhf.c: Likewise.
76536         * math/w_sinhl.c: Likewise.
76537         * math/w_tgamma.c: Likewise.
76538         * math/w_tgammaf.c: Likewise.
76539         * math/w_tgammal.c: Likewise.
76540         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76541         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76542         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
76543         Minor optimizations.  Pretty printing.  Remove cruft.
76544         * sysdeps/i386/fpu/e_acosf.S: Likewise.
76545         * sysdeps/i386/fpu/e_acosh.S: Likewise.
76546         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
76547         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
76548         * sysdeps/i386/fpu/e_acosl.c: Likewise.
76549         * sysdeps/i386/fpu/e_asin.S: Likewise.
76550         * sysdeps/i386/fpu/e_asinf.S: Likewise.
76551         * sysdeps/i386/fpu/e_atan2.S: Likewise.
76552         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
76553         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
76554         * sysdeps/i386/fpu/e_atanh.S: Likewise.
76555         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
76556         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
76557         * sysdeps/i386/fpu/e_exp10.S: Likewise.
76558         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
76559         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
76560         * sysdeps/i386/fpu/e_exp2.S: Likewise.
76561         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
76562         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
76563         * sysdeps/i386/fpu/e_fmod.S: Likewise.
76564         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
76565         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
76566         * sysdeps/i386/fpu/e_hypot.S: Likewise.
76567         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
76568         * sysdeps/i386/fpu/e_log.S: Likewise.
76569         * sysdeps/i386/fpu/e_log10.S: Likewise.
76570         * sysdeps/i386/fpu/e_log10f.S: Likewise.
76571         * sysdeps/i386/fpu/e_log10l.S: Likewise.
76572         * sysdeps/i386/fpu/e_log2.S: Likewise.
76573         * sysdeps/i386/fpu/e_log2f.S: Likewise.
76574         * sysdeps/i386/fpu/e_log2l.S: Likewise.
76575         * sysdeps/i386/fpu/e_logf.S: Likewise.
76576         * sysdeps/i386/fpu/e_logl.S: Likewise.
76577         * sysdeps/i386/fpu/e_pow.S: Likewise.
76578         * sysdeps/i386/fpu/e_powf.S: Likewise.
76579         * sysdeps/i386/fpu/e_powl.S: Likewise.
76580         * sysdeps/i386/fpu/e_remainder.S: Likewise.
76581         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
76582         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
76583         * sysdeps/i386/fpu/e_scalb.S: Likewise.
76584         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
76585         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
76586         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
76587         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
76588         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
76589         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76590         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76591         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76592         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76593         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
76594         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76595         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
76596         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76597         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76598         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76599         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76600         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76601         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76602         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76603         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76604         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76605         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76606         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76607         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76608         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76609         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76610         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76611         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76612         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76613         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76614         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76615         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
76616         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76617         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
76618         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76619         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76620         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76621         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76622         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76623         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76624         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76625         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76626         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76627         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76628         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76629         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76630         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76631         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76632         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76633         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76634         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76635         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76636         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76637         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76638         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
76639         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76640         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76641         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76642         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76643         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76644         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76645         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76646         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76647         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76648         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76649         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76650         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76651         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76652         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76653         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76654         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76655         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76656         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76657         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
76658         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76659         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76660         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76661         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76662         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76663         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76664         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76665         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
76666         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76667         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76668         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76669         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76670         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76671         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
76672         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76673         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76674         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76675         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76676         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76677         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76678         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76679         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76680         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76681         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76682         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
76683         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
76684         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
76685         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
76686         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
76687         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
76688         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
76689         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
76690         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
76691         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
76692         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
76693         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
76694         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
76695         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
76696         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
76697         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
76698         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
76699         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
76700         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
76701         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
76702         (__isnanf): Likewise.
76703         (__isinf_ns): Likewise.
76704         (__isinf_nsf): Likewise.
76705         (__finite): Likewise.
76706         (__finitef): Likewise.
76707         (__ieee754_sqrt): Define as macro.
76708         (__ieee754_sqrtf): Define as macro.
76709         (__ieee754_sqrtl): Define as macro.
76710         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
76711         inlined copy.
76712         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
76713         __FINITE_MATH_ONLY__ consistent.
76714         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
76716 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
76718         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
76719         of rawmemchr.
76721         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
76723 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
76725         * po/ja.po: Update from translation team.
76727 2011-10-08  Roland McGrath  <roland@hack.frob.com>
76729         * locale/programs/locarchive.c (prepare_address_space): New function.
76730         (create_archive, enlarge_archive, open_archive): Use it.
76732         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
76733         inside [SHARED], where it is used.
76735         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
76737         * nss/getent.c (netgroup_keys): Remove unused variable.
76738         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76740 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
76742         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
76743         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
76744         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
76745         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
76746         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
76747         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
76748         * math/Makefile (libm-calls): Add s_isinf_ns.
76749         * math/divtc3.c: Use __isinf_nsl instead of isinf.
76750         * math/multc3.c: Likewise.
76751         * math/s_casin.c: Likewise.
76752         * math/s_casinf.c: Likewise.
76753         * math/s_casinl.c: Likewise.
76754         * math/s_ccos.c: Likewise.
76755         * math/s_ccosf.c: Likewise.
76756         * math/s_ccosl.c: Likewise.
76757         * math/s_ctan.c: Likewise.
76758         * math/s_ctanf.c: Likewise.
76759         * math/s_ctanh.c: Likewise.
76760         * math/s_ctanhf.c: Likewise.
76761         * math/s_ctanhl.c: Likewise.
76762         * math/s_ctanl.c: Likewise.
76763         * math/w_fmod.c: Likewise.
76764         * math/w_fmodf.c: Likewise.
76765         * math/w_fmodl.c: Likewise.
76766         * math/w_remainder.c: Likewise.
76767         * math/w_remainderf.c: Likewise.
76768         * math/w_remainderl.c: Likewise.
76769         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
76770         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
76771         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
76772         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
76773         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
76774         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
76775         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
76776         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
76778         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
76779         of the number.
76780         * stdio-common/printf_fphex.c: Likewise.
76781         * stdio-common/printf_size.c: Likewise.
76783         * math/e_exp10.c: Include math_private.h using <...> not "...".
76784         * math/e_exp10f.c: Likewise.
76785         * math/e_exp10l.c: Likewise.
76786         * math/e_exp2l.c: Likewise.
76787         * math/e_j0l.c: Likewise.
76788         * math/e_j1l.c: Likewise.
76789         * math/e_jnl.c: Likewise.
76790         * math/e_lgammal_r.c: Likewise.
76791         * math/e_rem_pio2l.c: Likewise.
76792         * math/e_scalb.c: Likewise.
76793         * math/e_scalbf.c: Likewise.
76794         * math/e_scalbl.c: Likewise.
76795         * math/k_cosl.c: Likewise.
76796         * math/k_sinl.c: Likewise.
76797         * math/k_tanl.c: Likewise.
76798         * math/s_cacoshf.c: Likewise.
76799         * math/s_catan.c: Likewise.
76800         * math/s_catanf.c: Likewise.
76801         * math/s_catanh.c: Likewise.
76802         * math/s_catanhf.c: Likewise.
76803         * math/s_catanhl.c: Likewise.
76804         * math/s_catanl.c: Likewise.
76805         * math/s_ccosh.c: Likewise.
76806         * math/s_ccoshf.c: Likewise.
76807         * math/s_ccoshl.c: Likewise.
76808         * math/s_cexp.c: Likewise.
76809         * math/s_cexpf.c: Likewise.
76810         * math/s_cexpl.c: Likewise.
76811         * math/s_clog.c: Likewise.
76812         * math/s_clog10.c: Likewise.
76813         * math/s_clog10f.c: Likewise.
76814         * math/s_clog10l.c: Likewise.
76815         * math/s_clogf.c: Likewise.
76816         * math/s_clogl.c: Likewise.
76817         * math/s_csin.c: Likewise.
76818         * math/s_csinf.c: Likewise.
76819         * math/s_csinh.c: Likewise.
76820         * math/s_csinhf.c: Likewise.
76821         * math/s_csinhl.c: Likewise.
76822         * math/s_csinl.c: Likewise.
76823         * math/s_csqrt.c: Likewise.
76824         * math/s_csqrtf.c: Likewise.
76825         * math/s_csqrtl.c: Likewise.
76826         * math/s_ctan.c: Likewise.
76827         * math/s_ctanf.c: Likewise.
76828         * math/s_ctanh.c: Likewise.
76829         * math/s_ctanhf.c: Likewise.
76830         * math/s_ctanhl.c: Likewise.
76831         * math/s_ctanl.c: Likewise.
76832         * math/s_ldexp.c: Likewise.
76833         * math/s_ldexpf.c: Likewise.
76834         * math/s_ldexpl.c: Likewise.
76835         * math/s_significand.c: Likewise.
76836         * math/s_significandf.c: Likewise.
76837         * math/s_significandl.c: Likewise.
76838         * math/w_acos.c: Likewise.
76839         * math/w_acosf.c: Likewise.
76840         * math/w_acosh.c: Likewise.
76841         * math/w_acoshf.c: Likewise.
76842         * math/w_acoshl.c: Likewise.
76843         * math/w_acosl.c: Likewise.
76844         * math/w_asin.c: Likewise.
76845         * math/w_asinf.c: Likewise.
76846         * math/w_asinl.c: Likewise.
76847         * math/w_atan2.c: Likewise.
76848         * math/w_atan2f.c: Likewise.
76849         * math/w_atan2l.c: Likewise.
76850         * math/w_atanh.c: Likewise.
76851         * math/w_atanhf.c: Likewise.
76852         * math/w_atanhl.c: Likewise.
76853         * math/w_cosh.c: Likewise.
76854         * math/w_coshf.c: Likewise.
76855         * math/w_coshl.c: Likewise.
76856         * math/w_dremf.c: Likewise.
76857         * math/w_exp10.c: Likewise.
76858         * math/w_exp10f.c: Likewise.
76859         * math/w_exp10l.c: Likewise.
76860         * math/w_exp2.c: Likewise.
76861         * math/w_exp2f.c: Likewise.
76862         * math/w_fmod.c: Likewise.
76863         * math/w_fmodf.c: Likewise.
76864         * math/w_fmodl.c: Likewise.
76865         * math/w_hypot.c: Likewise.
76866         * math/w_hypotf.c: Likewise.
76867         * math/w_hypotl.c: Likewise.
76868         * math/w_j0.c: Likewise.
76869         * math/w_j0f.c: Likewise.
76870         * math/w_j0l.c: Likewise.
76871         * math/w_j1.c: Likewise.
76872         * math/w_j1f.c: Likewise.
76873         * math/w_j1l.c: Likewise.
76874         * math/w_jn.c: Likewise.
76875         * math/w_jnf.c: Likewise.
76876         * math/w_jnl.c: Likewise.
76877         * math/w_lgamma.c: Likewise.
76878         * math/w_lgamma_r.c: Likewise.
76879         * math/w_lgammaf.c: Likewise.
76880         * math/w_lgammaf_r.c: Likewise.
76881         * math/w_lgammal.c: Likewise.
76882         * math/w_lgammal_r.c: Likewise.
76883         * math/w_log.c: Likewise.
76884         * math/w_log10.c: Likewise.
76885         * math/w_log10f.c: Likewise.
76886         * math/w_log10l.c: Likewise.
76887         * math/w_log2.c: Likewise.
76888         * math/w_log2f.c: Likewise.
76889         * math/w_log2l.c: Likewise.
76890         * math/w_logf.c: Likewise.
76891         * math/w_logl.c: Likewise.
76892         * math/w_pow.c: Likewise.
76893         * math/w_powf.c: Likewise.
76894         * math/w_powl.c: Likewise.
76895         * math/w_remainder.c: Likewise.
76896         * math/w_remainderf.c: Likewise.
76897         * math/w_remainderl.c: Likewise.
76898         * math/w_scalb.c: Likewise.
76899         * math/w_scalbf.c: Likewise.
76900         * math/w_scalbl.c: Likewise.
76901         * math/w_sinh.c: Likewise.
76902         * math/w_sinhf.c: Likewise.
76903         * math/w_sinhl.c: Likewise.
76904         * math/w_sqrt.c: Likewise.
76905         * math/w_sqrtf.c: Likewise.
76906         * math/w_sqrtl.c: Likewise.
76907         * math/w_tgamma.c: Likewise.
76908         * math/w_tgammaf.c: Likewise.
76909         * math/w_tgammal.c: Likewise.
76911         * po/ja.po: Update from translation team.
76913 2011-09-29  Andreas Jaeger  <aj@suse.de>
76915         [BZ #13179]
76916         * sunrpc/netname.c (netname2host): Fix logic.
76918         [BZ #6779]
76919         [BZ #6783]
76920         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
76921         correctly.
76922         * math/w_remainder.c (__remainder): Likewise.
76923         * math/w_remainderf.c (__remainderf): Likewise.
76924         * math/libm-test.inc (remainder_test): Add test cases.
76926 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76928         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
76929         sdiv_qrnnd.
76931 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76933         * string/test-memcmp.c: Avoid unncessary #defines.
76934         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
76936 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
76938         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
76939         Use new sse2 version for core i3 - i7 as it's faster
76940         than sse42 version.
76941         (bit_Prefer_PMINUB_for_stringop): New.
76942         * sysdeps/x86_64/rawmemchr.S: Update.
76943         Replace with faster SSE2 version.
76944         * sysdeps/x86_64/memrchr.S: New file.
76945         * sysdeps/x86_64/memchr.S: Update.
76946         Replace with faster SSE2 version.
76948 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
76950         * elf/dl-load.c (lose): Add cast to avoid warning.
76952 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
76954         * po/ca.po: Update from translation team.
76956         * inet/getnetgrent_r.c: Hook up nscd.
76957         * nscd/Makefile (routines): Add nscd_netgroup.
76958         (nscd-modules): Add netgroupcache.
76959         (CFLAGS-netgroupcache.c): Define.
76960         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
76961         (cache_search): Add const to second parameter.
76962         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
76963         INNETGR.
76964         (dbs): Add netgrdb entry.
76965         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
76966         (verify_persistent_db): Handle netgrdb.
76967         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
76968         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
76969         GETFDNETGR.
76970         (netgroup_response_header): Define.
76971         (innetgroup_response_header): Define.
76972         (datahead): Add netgroup_response_header and innetgroup_response_header
76973         elements.
76974         * nscd/nscd.conf: Add entries for netgroup cache.
76975         * nscd/nscd.h (dbtype): Add netgrdb.
76976         (_PATH_NSCD_NETGROUP_DB): Define.
76977         (netgroup_iov_disabled): Declare.
76978         (xmalloc, xcalloc, xrealloc): Move declarations here.
76979         (cache_search): Adjust prototype.
76980         Add netgroup-related prototypes.
76981         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
76982         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
76983         (__nscd_innetgr): Declare.
76984         * nscd/selinux.c (perms): Use access_vector_t as element type and
76985         add netgroup-related initializers.
76986         * nscd/netgroupcache.c: New file.
76987         * nscd/nscd_netgroup.c: New file.
76988         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
76989         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
76990         For four parameters use innetgr.
76991         * nss/nss_files/files-init.c: Add definition and callback for netgr.
76992         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
76993         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
76994         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
76996         * nscd/connections.c (register_traced_file): Don't register file
76997         for disabled databases.
76999 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
77001         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
77003         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
77004         from tree and freeing node.
77006 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
77008         * nss/nsswitch.c (__nss_database_lookup): Handle
77009         nss_parse_service_list out of memory case.
77011 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
77013         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
77014         out of memory case.
77016 2011-10-04  Andreas Schwab  <schwab@redhat.com>
77018         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
77019         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
77020         pass it down.
77021         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
77022         elf_machine_rela, elf_machine_lazy_rel.
77023         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
77024         (ELF_DYNAMIC_DO_REL): Likewise.
77025         (ELF_DYNAMIC_DO_RELA): Likewise.
77026         (ELF_DYNAMIC_RELOCATE): Likewise.
77027         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
77028         to ELF_DYNAMIC_DO_REL.
77029         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
77030         (dl_main): In trace mode always set __RTLD_NOIFUNC.
77031         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
77032         elf_machine_rela.
77033         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
77034         skip_ifunc, don't call ifunc function if non-zero.
77035         (elf_machine_rela): Likewise.
77036         (elf_machine_lazy_rel): Likewise.
77037         (elf_machine_lazy_rela): Likewise.
77038         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
77039         (elf_machine_lazy_rel): Likewise.
77040         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
77041         Likewise.
77042         (elf_machine_lazy_rel): Likewise.
77043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77044         Likewise.
77045         (elf_machine_lazy_rel): Likewise.
77046         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
77047         (elf_machine_lazy_rel): Likewise.
77048         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
77049         (elf_machine_lazy_rel): Likewise.
77050         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
77051         (elf_machine_lazy_rel): Likewise.
77052         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
77053         (elf_machine_lazy_rel): Likewise.
77054         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
77055         (elf_machine_lazy_rel): Likewise.
77056         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
77057         (elf_machine_lazy_rel): Likewise.
77059 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
77061         * nss/nss_files/files-init.c (_nss_files_init): Use static
77062         initialization for all the *_traced_file variables.
77064 2011-09-28  Andreas Schwab  <schwab@redhat.com>
77066         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77068 2011-09-27  Roland McGrath  <roland@hack.frob.com>
77070         [BZ #13226]
77071         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
77073 2011-09-27  Andreas Schwab  <schwab@redhat.com>
77075         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
77076         Reread the line before reparsing it.
77078 2011-09-26  Andreas Schwab  <schwab@redhat.com>
77080         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
77082 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
77083             Maxim Kuvyrkov  <maxim@codesourcery.com>
77084             Joseph Myers  <joseph@codesourcery.com>
77086         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
77087         if needed for __stack_chk_guard.
77089 2011-09-19  Roland McGrath  <roland@hack.frob.com>
77091         * sysdeps/posix/spawni.c (script_execute): Always define it.
77092         It will be optimized away if unused.
77093         (maybe_script_execute): New function.
77094         (__spawni): Call it.
77096         * Makerules: Don't include tls.make.
77097         (config-tls): Always set to thread.
77098         * tls.make.c: File removed.
77100 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
77102         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
77103         * config.make.in (CPPFLAGS-config): New substituted variable.
77105 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77107         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
77109         [BZ #13192]
77110         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
77111         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
77113 2011-09-15  Roland McGrath  <roland@hack.frob.com>
77115         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
77116         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
77117         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
77118         (CALL_FAIL): Likewise.
77119         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
77120         (CALL_FAIL): Macro removed.
77121         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
77123 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
77125         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
77126         for __FINITE_MATH_ONLY__ == 1.
77128 2011-09-15  Andreas Schwab  <schwab@redhat.com>
77130         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
77131         __ieee754_sqrt instead of sqrt.
77132         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
77133         __ieee754_sqrtf instead of sqrtf.
77134         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
77135         __floorf instead of floorf.
77136         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
77137         __floorf, __truncf instead of floorf, truncf.
77139 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
77141         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
77143         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
77144         __extern_always_inline.
77145         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
77146         32-bit.
77148 2011-09-14  Andreas Schwab  <schwab@redhat.com>
77150         * elf/rtld.c (dl_main): Also relocate in dependency order when
77151         doing symbol dependency testing.
77153 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
77155         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
77156         Always define `refsym'.
77158 2011-09-13  Andreas Schwab  <schwab@redhat.com>
77160         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
77161         (__FD_ELT): Renamed from __FDELT.
77162         * misc/bits/select2.h (__FD_ELT): Likewise.
77163         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
77164         __FD_MASK instead of __FDELT, __FDMASK.
77165         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77166         Likewise.
77167         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
77168         Likewise.
77170         * elf/Makefile (gen-ldd): Fix pattern.
77172         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
77173         (init_tls): Likewise.
77175 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
77177         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
77179 2011-09-12  Andreas Schwab  <schwab@redhat.com>
77181         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
77182         `struct cmsghdr *' instead of `void *'.
77183         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
77184         Likewise.
77186 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
77188         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
77189         if non-absolute.
77190         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
77191         ldd_rewrite_script.
77193 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
77195         * configure.in: Remove --with-tls option.
77196         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
77197         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
77198         out in case it is missing.
77199         * sysdeps/ia64/elf/configure.in: Likewise.
77200         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
77201         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
77202         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
77203         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
77204         * sysdeps/sh/elf/configure.in: Likewise.
77205         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
77206         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
77207         * sysdeps/x86_64/elf/configure.in: Likewise.
77208         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
77209         * sysdeps/mach/hurd/tls.h: Likewise.
77211         [BZ #13067]
77212         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
77214         [BZ #13090]
77215         * configure.in: Fix use of AC_INIT.
77217         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
77219 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
77221         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
77222         __set_errno.
77223         * malloc/hooks.c: Likewise.
77225         [BZ #11929]
77226         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
77227         variables statically.
77228         (narenas): Initialize.
77229         (list_lock): Initialize.
77230         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
77231         initializtion of main_arena and list_lock.  Small cleanups.
77232         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
77233         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
77234         Add initializers to main_arena and mp_.
77235         (malloc_state): Remove pagesize member.  Change all users to use
77236         GLRO(dl_pagesize).
77238         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
77239         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
77240         is always initialized.
77242         * malloc/malloc.c: Removed unused configurations and dead code.
77243         * malloc/arena.c: Likewise.
77244         * malloc/hooks.c: Likewise.
77245         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
77247         * include/tls.h: Removed.  USE___THREAD must always be defined.
77248         * bits/libc-tsd.h: Don't handle !USE___THREAD.
77249         * elf/dl-libc.c: Likewise.
77250         * elf/dl-tsd.c: Likewise.
77251         * include/errno.h: Likewise.
77252         * include/netdb.h: Likewise.
77253         * include/resolv.h: Likewise.
77254         * inet/herrno-loc.c: Likewise.
77255         * inet/herrno.c: Likewise.
77256         * malloc/arena.c: Likewise.
77257         * malloc/hooks.c: Likewise.
77258         * malloc/malloc.c: Likewise.
77259         * resolv/res-state.c: Likewise.
77260         * resolv/res_libc.c: Likewise.
77261         * sysdeps/i386/dl-machine.h: Likewise.
77262         * sysdeps/ia64/dl-machine.h: Likewise.
77263         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
77264         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
77265         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
77266         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
77267         * sysdeps/sh/dl-machine.h: Likewise.
77268         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77269         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77270         * sysdeps/unix/i386/sysdep.S: Likewise.
77271         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
77272         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
77273         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
77274         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
77275         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
77276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
77277         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
77278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77280         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
77281         * sysdeps/unix/x86_64/sysdep.S: Likewise.
77282         * sysdeps/x86_64/dl-machine.h: Likewise.
77283         * tls.make.c: Likewise.
77285         * configure.in: Remove --with-__thread option.  Make tests for
77286         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
77287         tls_model attribute fail if no support is available.  Remove
77288         USE_IN_LIBIO.
77289         * Makeconfig: Adjust for dropped configure option.  All features are
77290         now mandatory.
77291         * Makerules: Likewise.
77292         * Versions.def: Likewise.
77293         * argp/argp-fmtstream.c: Likewise.
77294         * argp/argp-fmtstream.h: Likewise.
77295         * argp/argp-help.c: Likewise.
77296         * assert/assert.c: Likewise.
77297         * config.h.in: Likewise.
77298         * config.make.in: Likewise.
77299         * configure: Likewise.
77300         * configure.in: Likewise.
77301         * csu/Versions: Likewise.
77302         * csu/init.c: Likewise.
77303         * elf/tst-audit2.c: Likewise.
77304         * elf/tst-tls10.c: Likewise.
77305         * elf/tst-tls10.h: Likewise.
77306         * elf/tst-tls11.c: Likewise.
77307         * elf/tst-tls12.c: Likewise.
77308         * elf/tst-tls14.c: Likewise.
77309         * elf/tst-tlsmod11.c: Likewise.
77310         * elf/tst-tlsmod12.c: Likewise.
77311         * elf/tst-tlsmod13.c: Likewise.
77312         * elf/tst-tlsmod13a.c: Likewise.
77313         * elf/tst-tlsmod14a.c: Likewise.
77314         * elf/tst-tlsmod15b.c: Likewise.
77315         * elf/tst-tlsmod16a.c: Likewise.
77316         * elf/tst-tlsmod16b.c: Likewise.
77317         * elf/tst-tlsmod7.c: Likewise.
77318         * elf/tst-tlsmod8.c: Likewise.
77319         * elf/tst-tlsmod9.c: Likewise.
77320         * gmon/gmon.c: Likewise.
77321         * grp/fgetgrent_r.c: Likewise.
77322         * grp/putgrent.c: Likewise.
77323         * hurd/fopenport.c: Likewise.
77324         * include/libc-symbols.h: Likewise.
77325         * include/tls.h: Likewise.
77326         * intl/gettextP.h: Likewise.
77327         * intl/loadinfo.h: Likewise.
77328         * locale/global-locale.c: Likewise.
77329         * locale/localeinfo.h: Likewise.
77330         * mach/devstream.c: Likewise.
77331         * malloc/arena.c: Likewise.
77332         * malloc/set-freeres.c: Likewise.
77333         * misc/err.c: Likewise.
77334         * misc/getttyent.c: Likewise.
77335         * misc/mntent_r.c: Likewise.
77336         * posix/getopt.c: Likewise.
77337         * posix/wordexp.c: Likewise.
77338         * pwd/fgetpwent_r.c: Likewise.
77339         * resolv/Versions: Likewise.
77340         * resolv/res_hconf.c: Likewise.
77341         * shadow/fgetspent_r.c: Likewise.
77342         * shadow/putspent.c: Likewise.
77343         * stdio-common/printf_fphex.c: Likewise.
77344         * stdio-common/tmpfile.c: Likewise.
77345         * stdlib/abort.c: Likewise.
77346         * stdlib/fmtmsg.c: Likewise.
77347         * sunrpc/auth_unix.c: Likewise.
77348         * sunrpc/clnt_perr.c: Likewise.
77349         * sunrpc/clnt_tcp.c: Likewise.
77350         * sunrpc/clnt_udp.c: Likewise.
77351         * sunrpc/clnt_unix.c: Likewise.
77352         * sunrpc/openchild.c: Likewise.
77353         * sunrpc/svc_simple.c: Likewise.
77354         * sunrpc/svc_tcp.c: Likewise.
77355         * sunrpc/svc_udp.c: Likewise.
77356         * sunrpc/svc_unix.c: Likewise.
77357         * sunrpc/xdr.c: Likewise.
77358         * sunrpc/xdr_array.c: Likewise.
77359         * sunrpc/xdr_rec.c: Likewise.
77360         * sunrpc/xdr_ref.c: Likewise.
77361         * sunrpc/xdr_stdio.c: Likewise.
77363 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77365         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
77367 2011-07-03  Andreas Jaeger  <aj@suse.de>
77369         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
77370         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
77371         regenerate with gen-libm-tests.pl.
77373 2010-05-12  Petr Baudis  <pasky@suse.cz>
77375         [BZ #11589]
77376         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
77377         around j0() zero points by switching to j1().
77378         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
77379         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
77380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
77381         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
77383 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77385         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
77386         instead of 0.
77387         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
77388         instead of 0.
77389         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77390         Patch in part by Pavel Roskin <proski@gnu.org>.
77392         [BZ #13138]
77393         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
77394         realloc.
77395         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
77396         Free memory block if necessary.
77398         [BZ #12847]
77399         * libio/genops.c (INTDEF): For string streams the _lock pointer can
77400         be NULL.  Don't lock in this case.
77402 2011-09-09  Roland McGrath  <roland@hack.frob.com>
77404         * elf/elf.h (ELFOSABI_GNU): New macro.
77405         (ELFOSABI_LINUX): Define to that.
77407 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
77409         * string/strncat.c (strncat): Undef the symbol in case it has been
77410         defined in bits/string.h.
77412 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
77414         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
77416         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
77417         link map.
77419 2011-08-17  Andreas Jaeger  <aj@suse.de>
77421         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
77423 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
77424             Ian Lance Taylor  <iant@google.com>
77426         * math/libm-test.inc (lround_test): New testcase.
77427         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
77429 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
77431         * Makefile: Remove support for automatic cvs check-ins.
77432         * Makerules: Likewise.
77433         * config.make.in: Likewise.
77434         * configure.in: Likewise.
77435         * intl/Makefile: Likewise.
77436         * locale/Makefile: Likewise.
77437         * po/Makefile: Likewise.
77438         * posix/Makefile: Likewise.
77439         * sysdeps/gnu/Makefile: Likewise.
77440         * sysdeps/mach/hurd/Makefile: Likewise.
77441         * sysdeps/sparc/sparc32/Makefile: Likewise.
77443         [BZ #13118]
77444         * posix/Makefile (bug-regex32-ENV): Define.
77445         Patch by John Stanley <jpsinthemix@verizon.net>.
77447         * misc/Makefile (headers): Add bits/select2.h.
77448         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
77449         * misc/bits/select2.h: New file.
77450         * include/bits/select2.h: New file.
77451         * debug/Makefile (routines): Add fdelt_chk.
77452         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
77453         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
77454         FD_ISSET.
77455         * debug/fdelt_chk.c: New file.
77457         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
77458         * wcsmbs/test-wmemcmp.c: Likewise.
77459         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
77460         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
77462 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77464         * string/Makefile (strop-tests): Add memcmp.
77465         * string/test-wmemcmp.c: New file.
77466         * string/test-memcmp.c: Add wmemcmp support.
77468 2011-09-08  Roland McGrath  <roland@hack.frob.com>
77470         [BZ #13153]
77471         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
77472         2011-07-19 change.
77474         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
77475         garbage value in a __mach_port_mod_refs call in the cases of the
77476         task-self and thread-self ports.
77478 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77480         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
77482 2011-09-08  Andreas Schwab  <schwab@redhat.com>
77484         * elf/dl-load.c (lose): Check for non-null L.
77486 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77488         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
77490         * elf/dl-libc.c (dlerror_run): Pass back error code from
77491         dl_catch_error.
77493         [BZ #13123]
77494         * elf/dl-load.c (lose): Free l_origin if it is valid.
77496         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
77497         names.
77498         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
77499         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77500         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
77501         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77502         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
77503         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
77505 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77507         * sysdeps/powerpc/fpu/e_hypot.c: New file.
77508         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
77509         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
77510         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
77511         * sysdeps/powerpc/fpu/k_cosf.c: New file.
77512         * sysdeps/powerpc/fpu/k_sinf.c: New file.
77513         * sysdeps/powerpc/fpu/s_cosf.c: New file.
77514         * sysdeps/powerpc/fpu/s_sinf.c: New file.
77515         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
77516         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
77518 2011-08-15  Alan Modra  <amodra@gmail.com>
77520         [BZ #13092]
77521         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
77522         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
77523         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
77524         ppc_mcount to static-only-routines.
77525         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
77526         __mcount_internal.
77527         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
77528         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
77530 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
77532         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
77533         for finite and infinity parameters.
77535 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
77537         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
77538         and add nop instructions for throughput optimization.
77539         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77541 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
77543         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
77544         aligned copy for power7 with vector-scalar instructions.
77545         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
77547 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
77549         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
77550         AVX check.
77552 2011-09-07  Andreas Schwab  <schwab@redhat.com>
77554         [BZ #13144]
77555         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
77556         last change.
77558 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
77560         * sysdeps/unix/sysv/linux/x86_64/init-first.c
77561         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
77562         syscall wrapper around clock_gettime in __vdso_clock_gettime.
77563         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
77564         clock_gettime.
77566 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77568         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
77569         Forgot to demangle the pointer.
77571         * sysdeps/i386/sysdep.h: Define atom_text_section.
77572         * sysdeps/x86_64/sysdep.h: Likewise.
77573         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
77574         section with atom_text_section.
77575         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
77576         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
77577         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
77578         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
77579         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
77581         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
77582         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
77583         already be defined.  Change to take two parameters and don't assign
77584         result to variable.  Adjust all users.
77585         Define INTERNAL_GETTIME if not already defined.
77586         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
77587         call.
77588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
77589         HAVE_CLOCK_GETTIME_VSYSCALL.
77590         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
77592         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
77593         gettimeofday vsyscall, just use time.
77595 2011-09-06  Andreas Schwab  <schwab@redhat.com>
77597         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
77598         <errno.h>.
77600 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
77602         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
77603         syscall on x86-64.
77604         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
77605         syscall.
77606         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
77607         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
77608         syscall if possible.
77610 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77612         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
77613         e_ident.  Don't pass to find_mapsXX.
77614         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
77616 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77618         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
77619         strchr-sse2-no-bsf strrchr-sse2-no-bsf
77620         * sysdeps/x86_64/multiarch/strchr.S: Update.
77621         Check bit_slow_BSF bit.
77622         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
77623         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
77624         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
77626 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77628         [BZ #13134]
77629         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
77630         before glibc 2.15.
77631         (tryshell): Define.
77632         (__spawni): Change last parameter to be flag.  Test
77633         SPAWN_XFLAGS_USE_PATH flag to use path or not.
77634         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
77635         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
77636         * posix/spawni.c: Likewise.
77637         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
77638         * posix/spawnp.c: Likewise.  Change normal version to use
77639         SPAWN_XFLAGS_USE_PATH.
77640         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
77641         SPAWN_XFLAGS_TRY_SHELL.
77643         [BZ #13150]
77644         * posix/glob.h: Remove gcc 1.x support.
77646         [BZ #13068]
77647         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
77649 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
77651         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
77652         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
77653         strrchr-sse2-bsf
77654         * sysdeps/i386/i686/multiarch/strchr.S: New file.
77655         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
77656         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
77657         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
77658         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
77659         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
77661 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
77663         * sysdeps/x86_64/wcscmp.S: New file.
77665         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
77666         wcscmp-c wcscmp-sse2
77667         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
77668         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
77669         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
77670         * wcsmbs/wcscmp.c: Allow renaming.
77672 2011-09-05  David S. Miller  <davem@davemloft.net>
77674         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
77675         stack slot, rather than the struct return pointer slot.
77676         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
77677         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
77678         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
77679         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
77681 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
77683         * po/ja.po: Update from translation team.
77685         [BZ #13144]
77686         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
77687         kernel in 64-bit binaries.
77689 2011-09-01  David S. Miller  <davem@davemloft.net>
77691         * elf/elf.h (HWCAP_SPARC_*): Move to..
77692         * sysdeps/sparc/sysdep.h: this new file and add new values.
77693         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
77694         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
77695         _DL_HWCAP_COUNT to 24.
77696         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
77697         entries.
77698         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
77699         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
77700         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
77701         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
77702         instead of magic constants.
77703         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77705 2011-08-31  David S. Miller  <davem@davemloft.net>
77707         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
77708         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
77709         Reimplement to do errno handling inline.
77710         (SYSCALL_ERROR_HANDLER): New macro.
77711         (__SYSCALL_STRING): Do not do errno handling in asm.
77712         (__CLONE_SYSCALL_STRING): Delete.
77713         (__INTERNAL_SYSCALL_STRING): Delete.
77714         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
77715         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
77716         (PSEUDO): Reimplement to do errno handling inline.
77717         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
77718         (SYSCALL_ERROR_HANDLER): New macro.
77719         (__SYSCALL_STRING): Do not do errno handling in asm.
77720         (__CLONE_SYSCALL_STRING): Delete.
77721         (__INTERNAL_SYSCALL_STRING): Delete.
77722         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
77723         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
77724         i386.
77725         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
77726         (inline_syscall*): Add 'err' argument.
77727         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
77728         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
77729         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
77730         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
77732         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
77733         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
77735 2011-08-30  Andreas Schwab  <schwab@redhat.com>
77737         * elf/rtld.c (dl_main): Relocate objects in dependency order.
77739 2011-08-29  Jiri Olsa <jolsa@redhat.com>
77741         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
77742         directive.
77744 2011-08-24  David S. Miller  <davem@davemloft.net>
77746         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
77748 2011-08-24  Andreas Schwab  <schwab@redhat.com>
77750         * elf/Makefile: Add rules to build and run unload8 test.
77751         * elf/unload8.c: New file.
77752         * elf/unload8mod1.c: New file.
77753         * elf/unload8mod1x.c: New file.
77754         * elf/unload8mod2.c: New file.
77755         * elf/unload8mod3.c: New file.
77757         * elf/dl-close.c (_dl_close_worker): Reset private search list if
77758         it wasn't used.
77760 2011-08-23  David S. Miller  <davem@davemloft.net>
77762         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
77763         subtract stack bias.
77764         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
77765         %sp not %fp in calculations.
77766         (_JMPBUF_UNWINDS_ADJ): Likewise.
77768         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
77769         (aio_suspend): Call it to force an exception region around the
77770         AIO_MISC_WAIT() invocation.
77772 2011-08-23  Andreas Schwab  <schwab@redhat.com>
77774         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
77775         backslash.
77777 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
77779         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
77780         protection macro.
77781         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
77782         and <dl-machine.h>.
77783         (Elf64_FuncDesc): Remove.
77785 2011-08-22  David S. Miller  <davem@davemloft.net>
77787         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
77788         sigaltstack check, add missing cfi directives.
77789         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
77790         missing cfi directives, and sigaltstack handling.
77792 2011-08-16  Andreas Schwab  <schwab@redhat.com>
77794         [BZ #11724]
77795         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
77796         object is seen twice.
77797         * elf/dl-fini.c (_dl_sort_fini): Likewise.
77799         * elf/Makefile (distribute): Add tst-initorder2.c.
77800         (tests): Add tst-initorder2.
77801         (modules-names): Add tst-initorder2a tst-initorder2b
77802         tst-initorder2c tst-initorder2d.  Add rules to build them.
77803         ($(objpfx)tst-initorder2.out): New rule.
77804         * elf/tst-initorder2.c: New file.
77805         * elf/tst-initorder2.exp: New file.
77807 2011-08-22  Andreas Schwab  <schwab@redhat.com>
77809         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
77811         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
77812         dependencies back to end of function.
77814         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
77815         $(elfobjdir)/ld.so.
77817 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
77819         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
77820         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
77821         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
77822         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
77823         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
77824         of __vdso_gettimeofday.
77825         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
77826         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
77827         attribute_hidden.
77828         (_libc_vdso_platform_setup): Remove initialization of
77829         __vdso_gettimeofday and __vdso_time.
77831 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77833         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
77834         and fgetc_unlocked.
77835         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
77836         getc_unlocked.
77838         * elf/dl-open.c (add_to_global): Report additions to the global scope
77839         for LD_DEBUG=scopes.
77840         (dl_open_worker): Also print scope of newly loaded dependencies.
77841         (_dl_show_scope): Indicate if there is no scope.
77843         [BZ #13114]
77844         * stdio-common/Makefile (tests): Add bug24.
77845         * stdio-common/bug24.c: New file.
77847 2011-08-19  Andreas Jaeger  <aj@suse.de>
77849         [BZ #13114]
77850         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
77851         non-existant file when using close-on-exec mode.
77853 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
77855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
77856         the very first instruction.
77858         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
77859         the CFI state in the end.
77860         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
77861         inclusion of dl-trampoline.h.
77862         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
77864 2011-08-19  Andreas Schwab  <schwab@redhat.com>
77866         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
77867         expectations for long double.
77869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
77870         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
77872 2011-08-14  David S. Miller  <davem@davemloft.net>
77874         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
77875         artificual limit depends upon the system page size.
77877 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77879         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
77880         * resolv/Makefile: Define CFLAGS-libresolv.
77882 2011-08-17  Andreas Schwab  <schwab@redhat.com>
77884         * nss/makedb.c (compute_tables): Make variables used in nested
77885         function static.
77887 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
77889         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
77890         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
77891         if buffer was too small.
77893         * elf/pldd.c (main): Attach to all threads in the process.
77894         Rewrite /proc handling to use *at functions.
77896 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
77898         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
77899         specifies first scope to show.
77900         (dl_open_worker): Update callers.  Move printing scope of new
77901         object to before the relocation.
77902         * elf/rtld.c (dl_main): Update _dl_show_scope call.
77903         * sysdeps/generic/ldsodefs.h: Update declaration.
77905         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
77906         string for the scope number.
77908 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
77910         * nscd/servicescache.c (cache_addserv): Make sure written is always
77911         initialized.
77913 2011-08-14  Roland McGrath  <roland@hack.frob.com>
77915         * sysdeps/i386/i486/bits/atomic.h
77916         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
77917         statement expression, so as to suppress "set but not used" warning.
77918         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
77920         * string/strncat.c (STRNCAT): Use prototype definition.
77922         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
77923         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
77924         -Iprograms here.
77925         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
77926         (localedef-modules): Add localedef.
77927         (locale-modules): Add locale.
77929         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
77930         * elf/rtld.c (dl_main): Invert order of assignment in last change,
77931         to avoid a warning.
77933 2011-08-14  David S. Miller  <davem@davemloft.net>
77935         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
77936         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
77938 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
77940         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
77941         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
77942         * elf/rtld.c (dl_main): Set l_name of vDSO.
77943         Call _dl_show_scope when DL_DEBUG_SCOPES.
77944         (process_dl_debug): Recognize scopes flag and also set it for all.
77945         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
77946         Declare _dl_show_scope.
77948         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
77949         (do_dlopen): Pass caller_dlopen to dl_open.
77950         (__libc_dlopen_mode): Initialize caller_dlopen.
77952         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
77953         of libc.  Make tolower call locale-independent.  Optimize a bit by
77954         using isdigit instead of isalnum.
77955         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
77957 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
77959         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
77960         was a dependency or dynamically loaded.
77962 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
77964         * intl/l10nflist.c: Allow architecture-specific pop function.
77965         * sysdeps/x86_64/l10nflist.c: New file.
77967         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
77968         classification.
77970 2011-08-10  Andreas Schwab  <schwab@redhat.com>
77972         * include/dirent.h: Add libc_hidden_proto for scandirat and
77973         scandirat64.  Don't declare __scandirat64.
77974         * dirent/scandirat.c: Add libc_hidden_def.
77975         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
77976         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
77978 2011-08-10  David S. Miller  <davem@davemloft.net>
77980         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
77981         enum.
77982         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
77983         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
77984         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
77986 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
77988         * Versions.def [libc]: Add GLIBC_2.15.
77989         * dirent/Makefile (routines): Add scandirat and scandirat64.
77990         * dirent/Versions [libc]: Export scandirat and scandirat64 for
77991         GLIBC_2.15.
77992         * dirent/dirent.h: Declare scandirat and scandirat64.
77993         * dirent/scandirat.c: New file.
77994         * dirent/scandirat64.c: New file.
77995         * sysdeps/wordsize-64/scandirat.c: New file.
77996         * sysdeps/wordsize-64/scandirat64.c: New file.
77997         * dirent/opendir.c: Define opendirat.
77998         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
77999         using scandirat.
78000         * dirent/scandir64.c: Adjust for scandir.c change.
78001         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
78002         __scandirat64, and __scandir_cancel_handler.
78003         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
78004         additional parameter and use openat instead of open (outside of ld.so).
78005         Add new __opendir as wrapper around __opendirat.
78006         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
78007         here without requiring old scandirat implementation.
78009 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
78011         * dirent/scandir.c (cancel_handler): Renamed to
78012         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
78013         defined.  Adjust users.
78014         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
78015         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
78017 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
78019         * string/test-string.h (IMPL): Use __STRING to expand name and then
78020         stringify it.
78022         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
78023         of cleanups.
78025 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78027         * string/Makefile: Update.
78028         (strop-tests): Append strncat.
78029         * string/test-wcscmp.c: New file.
78030         New comprehensive test for wcscmp.
78031         * string/test-strcmp.c: Update.
78032         (WIDE): New define.
78034 2011-07-22  Andreas Schwab  <schwab@redhat.com>
78036         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
78037         line.
78039 2011-07-26  Andreas Schwab  <schwab@redhat.com>
78041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78042         encoding to ACE if AI_IDN.
78044 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
78046         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
78047         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
78049 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78051         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
78052         Fix overflow bug in strncat.
78053         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
78055         * string/test-strncat.c: Update.
78056         Add new tests for checking overflow bugs.
78058 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78060         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78061         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
78062         * sysdeps/i386/i686/multiarch/strcat.S: New file.
78063         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
78064         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
78065         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
78066         * sysdeps/i386/i686/multiarch/strncat.S: New file.
78067         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
78068         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
78070         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
78071         (USE_AS_STRCAT): Define.
78072         Add strcat and strncat support.
78073         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
78075 2011-07-25  Andreas Schwab  <schwab@redhat.com>
78077         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
78078         __n bigger than INT_MAX+1.
78079         (__strncmp_g): Likewise.
78081 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
78083         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
78084         * libio/stido.h: Likewise.
78086         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
78087         (AF_NFC): Define.
78088         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
78089         (AF_NFC): Define.
78091         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
78092         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
78093         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
78094         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
78095         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
78097         [BZ #13021]
78098         * scripts/test-installation.pl: Don't expect libnss_test1 to be
78099         installed.
78101         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
78102         typo.
78103         (_dl_x86_64_save_sse): Likewise.
78105 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
78107         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
78108         OSXSAVE.
78109         (_dl_x86_64_save_sse): Likewise.
78111         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
78113         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
78115 2011-07-21  Andreas Schwab  <schwab@redhat.com>
78117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
78118         change.
78119         (_dl_x86_64_save_sse): Use correct AVX check.
78121 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
78123         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
78124         bug in strncpy/strncat.
78125         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
78127 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
78129         * string/tester.c (test_strcat): Add tests for different alignments
78130         of source and destination.
78131         (test_strncat): Likewise.
78133 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78135         [BZ #12852]
78136         * posix/glob.c (glob): Check passed in values before using them in
78137         expressions to avoid some overflows.
78138         (glob_in_dir): Likewise.
78140         [BZ #13007]
78141         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
78142         check for AVX enablement so that we don't crash with old kernels and
78143         new hardware.
78144         * elf/tst-audit4.c: Add same checks here.
78145         * elf/tst-audit6.c: Likewise.
78147         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
78149 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
78151         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
78153 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
78155         * po/cs.po: Update from translation team.
78156         * po/bg.po: Likewise.
78158 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
78160         * misc/sys/cdefs.h: Add support for const attribute.
78161         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
78162         to gnu_dev_{major,minor,makedev} functions.
78164 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
78166         * intl/dcigettext.c (get_output_charset): Add missing bracket.
78168 2011-07-20  Andreas Schwab  <schwab@redhat.com>
78170         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
78171         strlen results.
78173 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78175         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
78176         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
78177         register in order to avoid conflicts with the soft frame pointer
78178         being held in r11 when necessary.
78179         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
78180         (INTERNAL_VSYSCALL_NCS): Likewise.
78182 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
78184         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
78185         * elf/dl-fini.c (_dl_fini): Adjust caller.
78186         * elf/dl-close.c (_dl_close_worker): Likewise.
78187         * sysdeps/generic/ldsodefs.h: Adjust declaration.
78189 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78191         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
78192         "aux_cache->nlibs < 0".
78194         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
78195         in the reload-count case.
78197 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
78199         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78200         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
78201         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
78202         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
78203         * sysdeps/x86_64/multiarch/strcat.S: New file.
78204         * sysdeps/x86_64/multiarch/strncat.S: New file.
78205         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
78206         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
78207         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
78208         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
78209         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
78210         (USE_AS_STRCAT): Define.
78211         Add strcat and strncat support.
78212         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
78213         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
78214         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
78215         * string/strncat.c: Update.
78216         (USE_AS_STRNCAT): Define.
78217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78218         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
78219         and i7.
78220         * sysdeps/x86_64/multiarch/init-arch.h
78221         (bit_Prefer_PMINUB_for_stringop): New.
78222         (index_Prefer_PMINUB_for_stringop): Likewise.
78223         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
78224         bit_Prefer_PMINUB_for_stringop.
78226 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78228         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
78229         buffer64.
78230         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
78231         of casting of buffer.
78232         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
78233         buffer32 and buffer64.
78234         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
78235         writes instead of casting of buffer.
78236         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
78237         buffer32.
78238         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
78239         casting of buffer.
78241 2011-07-19  Andreas Schwab  <schwab@redhat.com>
78243         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
78245 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
78247         * nscd/nscd.c (termination_handler): Don't do anything for a database
78248         if it has not yet been initialized.
78250 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78252         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78254 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
78256         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
78258 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
78260         * po/nl.po: Update from translation team.
78261         * po/sv.po: Likewise.
78263 2011-07-16  Roland McGrath  <roland@hack.frob.com>
78265         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
78266         now disallowed by GCC.
78268         * configure.in (use-default-link): Default to yes if a test -shared
78269         link meets our qualifications.
78270         * configure: Regenerated.
78272         * config.make.in (output-format): New variable.
78273         * configure.in: Check for ld --print-output-format support.
78274         * configure: Regenerated.
78275         * Makerules ($(common-objpfx)format.lds)
78276         [$(output-format) != unknown]: Just use $(output-format),
78277         instead of the linker-script munging.
78279 2011-07-14  Roland McGrath  <roland@hack.frob.com>
78281         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
78282         of $(common-objpfx)shlib.lds.
78283         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
78285         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
78286         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
78288         * configure.in (-z relro check): Adjust test code to add a large
78289         writable data section after it.
78290         * configure: Regenerated.
78292 2011-07-11  Roland McGrath  <roland@hack.frob.com>
78294         * configure.in (-z relro check): Fix test code to make the variable
78295         truly const.
78296         * configure: Regenerated.
78298 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
78300         * nscd/nscd.h (struct traced_file): Define.
78301         (struct database_dyn): Remove inotify_descr, reset_res, and filename
78302         elements.  Add traced_files.
78303         (inotify_fd): Declare.
78304         (register_traced_file): Declare.
78305         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
78306         (inotify_fd): Export.
78307         (resolv_conf_descr): Remove.
78308         (nscd_init): Move inotify descriptor creation to main.
78309         Don't register files for notification here.
78310         (register_traced_file): New function.
78311         (invalidate_cache): Don't use reset_res to determine whether to call
78312         res_init, go through the list of registered files.
78313         (main_loop_poll): The inotify descriptors are now stored in the
78314         structures for the traced files.
78315         (main_loop_epoll): Likewise.
78316         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
78317         to __nss_disable_nscd.
78318         * nscd/cache.c (prune_cache): There is no single inotify descriptor
78319         for a database anymore.  Check the records for all the registered
78320         files instead.
78321         * nss/Makefile (libnss_files-routines): Add files-init.
78322         (libnss_db-routines): Add db-init.
78323         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
78324         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
78325         * nss/nss_db/db-init.c: New file.
78326         * nss/nss_files/files-init.c: New file.
78327         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
78328         __nss_lookup_function.
78329         (__nss_lookup_function): Call nss_load_library.
78330         (nss_load_all_libraries): New function.
78331         (__nss_disable_nscd): Take parameter with callback function for files
78332         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
78333         used for the cached services.
78334         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
78335         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
78336         options for features to all the files in nscd.
78338         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
78340 2011-07-10  Roland McGrath  <roland@hack.frob.com>
78342         * csu/elf-init.c (__libc_csu_init): Comment typo.
78344 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
78346         * po/pl.po: Update from translation team.
78347         * po/ja.po: Likewise.
78348         * po/ru.po: Likewise.
78349         * po/ko.po: Likewise.
78350         * po/fr.po: Likewise.
78352 2011-07-09  Roland McGrath  <roland@hack.frob.com>
78354         * configure.in (.ctors/.dtors header and trailer check):
78355         Use an empirical test on a built program.
78356         * configure: Regenerated.
78358         * configure.in (-z relro check): Use an empirical test on a built DSO.
78359         Detect, but do not require, on ia64.
78360         * configure: Regenerated.
78362         * configure.in (READELF): Find it with AC_CHECK_TOOL.
78363         Update tests that use readelf to use $READELF instead.
78364         * configure: Regenerated.
78366 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
78368         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
78369         if the result is not used.
78371 2011-07-05  Andreas Jaeger  <aj@suse.de>
78373         [BZ#9696]
78374         * stdlib/tst-strtod.c: Add testcase.
78376 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
78378         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
78379         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
78380         The latter has a higher limit.  Take additional parameter to pass to
78381         the new function.
78382         (__pathconf): Pass file to __statfs_link_max.
78383         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
78384         __statfs_link_max.
78385         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
78386         __statfs_link_max.
78388         [BZ #12868]
78389         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
78390         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78391         Handle Lustre.
78392         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
78393         (__statfs_filesize_max): Likewise.
78394         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
78396 2011-07-05  Andreas Jaeger  <aj@suse.de>
78398         * resolv/res_comp.c (dn_skipname): Remove unused variable.
78400 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
78402         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
78403         `status' variable.
78404         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
78405         Likewise.
78407 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
78409         * Makefile (strop-tests): Add strncat.
78410         * string/test-strncat.c: New file.
78412 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
78414         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
78416 2011-06-21  Andreas Jaeger  <aj@suse.de>
78418         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
78419         Copy rule from iconvdata/Makefile.
78421 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78423         [BZ #12922]
78424         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
78425         but no long options are defined, just return 'W'.
78427 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
78429         [BZ #9696]
78430         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
78432 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
78434         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
78435         netgroups to read.
78436         (innetgr): Likewise.
78438 2011-07-05  Roland McGrath  <roland@hack.frob.com>
78440         * config.make.in (install_root): Default to $(DESTDIR).
78442 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
78444         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
78446 2011-07-02  Roland McGrath  <roland@hack.frob.com>
78448         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
78450         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
78451         containing directory rather than embedding absolute directory names.
78453         * scripts/check-local-headers.sh: Rewritten using awk.
78454         Match by word, not by line.  Print error messages for matches.
78455         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
78457         * Makerules [shlib-lds-flags empty]:
78458         ($(common-objpfx)libc_pic.opts): New target.
78459         ($(common-objpfx)libc_pic.os.clean): New target.
78460         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
78462         * config.make.in (OBJCOPY): New variable.
78463         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
78464         * configure: Regenerated.
78466         * config.make.in (use-default-link): New variable.
78467         * configure.in (use_default_link): Grok --with-default-link to set it.
78468         * configure: Regenerated.
78469         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
78470         (shlib-lds, shlib-lds-flags): Define to empty.
78472         * Makerules (shlib-lds): New variable.
78473         (shlib-lds-flags): New variable.
78474         (build-shlib, build-moduile, build-module-asneeded): Use it.
78475         ($(common-objpfx)libc.so): Use $(shlib-lds).
78476         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
78477         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
78479         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
78480         DT_FLAGS/DT_FLAGS_1 with zero flags.
78482         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
78483         linker script munging.
78485 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
78487         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
78488         as 128-bit value.
78489         * crypt/sha512.c (sha512_process_block): Perform total addition using
78490         128-bit if possible.
78491         (__sha512_finish_ctx): Likewise.
78492         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
78493         as 64-bit value.
78494         * crypt/sha256.c (SWAP64): Define.
78495         (sha256_process_block): Perform total addition using 64-bit if
78496         possible.
78497         (__sha256_finish_ctx): Likewise.
78499 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
78501         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
78502         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78503         * nscd/hstcache.c (cache_addhst): Likewise.
78504         * nscd/grpcache.c (cache_addgr): Likewise.
78505         * nscd/aicache.c (addhstaiX): Likewise.
78506         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
78508 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
78510         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
78511         * nscd/initgrcache.c (addinitgroupsX): Likewise.
78512         * nscd/hstcache.c (cache_addhst): Likewise.
78513         * nscd/grpcache.c (cache_addgr): Likewise.
78514         * nscd/aicache.c (addhstaiX): Likewise.
78516 2011-07-01  Andreas Schwab  <schwab@redhat.com>
78518         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
78519         domain only when needed.
78521 2011-06-30  Andreas Schwab  <schwab@redhat.com>
78523         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
78524         is always restored.
78526 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
78528         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
78529         are re-adding the entry.
78530         * nscd/servicescache.c (cache_addserv): Likewise.
78532 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
78534         * sysdeps/generic/dl-irel.h: fix protection against multiple
78535         inclusions.
78536         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
78538 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
78540         [BZ #12935]
78541         * malloc/memusage.sh: Fix quoting in message.
78542         * debug/xtrace.sh: Likewise.
78544         * configure.in: Remove support for --experimental-malloc option, make
78545         it the default.
78546         * config.make.in: Likewise.
78547         * malloc/Makefile: Likewise.
78549 2011-06-27  Andreas Schwab  <schwab@redhat.com>
78551         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
78552         two-byte characters.
78554 2011-06-27  Roland McGrath  <roland@hack.frob.com>
78556         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
78557         AC_CACHE_CHECK invocation.
78558         * configure: Regenerated.
78560         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
78562 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
78564         [BZ #12350]
78565         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
78566         bit from old_res_options.
78568         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
78570         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
78571         value type for setfct.
78573 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
78575         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78576         __gettimeofday instead of gettimeofday.
78578 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
78580         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
78582 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
78584         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
78586         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
78587         info.
78589 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78592         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78593         strcpy-sse2-unaligned strncpy-sse2-unaligned
78594         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
78595         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
78596         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
78597         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
78598         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
78599         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
78600         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
78601         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
78602         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
78603         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
78604         (STRCPY): Support SSE2 and SSSE3 versions.
78606 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
78608         [BZ #12874]
78609         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
78610         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
78611         kernels which artificially limit size of requests.
78613 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
78615         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78616         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
78617         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
78618         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
78619         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
78620         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
78621         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
78622         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
78623         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
78624         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
78625         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
78626         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
78627         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
78628         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
78629         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
78630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78631         Enable unaligned load optimization for Intel Core i3, i5 and i7
78632         processors.
78633         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
78634         Define.
78635         (index_Fast_Unaligned_Load): Define.
78636         (HAS_FAST_UNALIGNED_LOAD): Define.
78638 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
78640         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
78642 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78644         [BZ #12907]
78645         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
78646         until it is clear that the information is realy needed.
78647         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
78649 2011-06-22  Andreas Schwab  <schwab@redhat.com>
78651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
78653 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
78655         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
78656         /sys/devices/system/cpu/online if it is usable.
78658         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
78659         reading the information from the /proc filesystem to once a second.
78661 2011-06-21  Andreas Jaeger  <aj@suse.de>
78663         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
78664         NULL after inclusion of kernel headers.
78666 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
78668         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
78669         calls to internal_setent.
78671         [BZ #12885]
78672         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
78673         addresses using gethostbyname4_r ignore IPv4 addresses.
78675         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
78676         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
78678         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
78680 2011-06-20  David S. Miller  <davem@davemloft.net>
78682         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
78683         inclusions.
78684         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
78686         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
78687         (elf_irel): Use it.
78688         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
78689         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
78690         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
78691         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
78692         * sysdeps/x86_64/dl-irel.h: Likewise.
78694         * elf/dl-runtime.c: Use elf_ifunc_invoke.
78695         * elf/dl-sym.c: Likewise.
78697 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78699         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
78700         need to dereference resplen2.
78702 2011-06-14  Andreas Schwab  <schwab@redhat.com>
78704         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
78706 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
78708         * Makeconfig: Define vardbdir and inst_vardbdir.
78709         * nss/Makefile: Add rules to install db-Makefile.
78711         * nss/nss_db/db-XXX.c: Cleanup.
78713         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
78714         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
78715         GLIBC_PRIVATE.
78716         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
78717         * nss/makedb.c: Implement -g option to specify that value strings
78718         are generated and should not be added to table iterated over for
78719         get*ent calls.
78720         * nss/nss_db/db-initgroups.c: New file.
78722         * nss/getent.c: Add support for initgroups lookups through getgrouplist
78723         interface.
78725         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
78726         (internal_getgrouplist): Adjust to name change.
78727         Update use_initgroups_entry if this is not the first call.
78728         * nss/databases.def: Add initgroups entry.
78730         * nss/makedb.c (compute_tables): Check result of multiple hash table
78731         sizes to minimize maximum chain length.
78733 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
78735         * Versions.def: Add entry for libnss_db.
78736         * shlib-versions: Likewise.
78737         * nss/Makefile: Add rules to build libnss_db.
78738         * nss/Versions: Add libnss_db information.  Organize libnss_files
78739         entries better.
78740         * nss/db-Makefile: Add gshadow support.  Change rules for the new
78741         makedb progra.  Some minor improvements to generate smaller files.
78742         * nss/nss_db/nss_db.h: Move NSS database header data structures to
78743         here from...
78744         * nss/makedb.c: ...here.
78745         Improve database format to be smaller and require less memory at
78746         runtime.
78747         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
78748         db anymore.
78749         * nss/nss_db/db-netgrp.c: Likewise.
78750         * nss/nss_db/db-open.c: Likewise.
78751         * nss/nss_files/flies-XXX.x: Adjust comments.
78752         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
78753         * nss/nss_files/files-grp.c: Likewise.
78754         * nss/nss_files/files-hosts.c: Likewise.
78755         * nss/nss_files/files-network.c: Likewise.
78756         * nss/nss_files/files-proto.c: Likewise.
78757         * nss/nss_files/files-pwd.c: Likewise.
78758         * nss/nss_files/files-rpc.c: Likewise.
78759         * nss/nss_files/files-service.c: Likewise.
78760         * nss/nss_files/files-sgrp.c: Likewise.
78761         * nss/nss_files/files-spwd.c: Likewise.
78762         * nss/nss_db/db-alias.c: Removed.
78763         * nss/nss_db/dummy-db.h: Removed.
78765 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
78767         * nss/makedb.c: Rewritten to not use database library.
78768         * nss/Makefile: Update to build new makedb program.
78770 2011-06-14  Andreas Jaeger  <aj@suse.de>
78772         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
78773         memset declaration.
78775 2011-06-10  Andreas Schwab  <schwab@redhat.com>
78777         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
78778         tmpbuf.
78780 2011-06-10  Roland McGrath  <roland@hack.frob.com>
78782         * Makerules (shlib.lds): Fail if the linker script comes out empty.
78783         * elf/Makefile ($(objpfx)ld.so): Likewise.
78785         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
78786         Don't list ld.so twice in dependencies.
78788         * posix/bug-regex31.c: Include <stdlib.h>.
78790         * nscd/hstcache.c (cache_addhst): Remove unused variable.
78792         * nis/nss_compat/compat-spwd.c
78793         (getspent_next_nss_netgr): Remove unused variable.
78794         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
78796         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
78797         nonmembers" output to use the right array.
78799         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
78801         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
78803         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
78804         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
78805         * catgets/gencat.c (read_input_file): Likewise.
78806         * locale/programs/locarchive.c (enlarge_archive): Likewise.
78808         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
78809         variable definition inside #if's controlling its use.
78811         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
78813         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
78815         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
78817         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
78818         unreachable code.
78820         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
78822         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
78823         * configure: Regenerated.
78825         * Makerules: Revert last change.
78826         * elf/Makefile: Likewise.
78828 2011-06-09  Roland McGrath  <roland@hack.frob.com>
78830         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
78831         * elf/Makefile ($(objpfx)librtld.os): Likewise.
78832         (reloc-link): Likewise.
78834 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
78836         * elf/Makefile: Add rules to build pldd.
78837         * elf/pldd.c: New file.
78838         * elf/pldd-xx.c: New file.
78840 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
78842         * version.h: Update for 2.15 development version.
78844 2011-06-07  David S. Miller  <davem@davemloft.net>
78846         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
78847         ifuncs.
78848         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
78849         elf_machine_lazy_rel): Likewise.
78850         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
78851         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
78852         elf_machine_lazy_rel): Likewise.
78853         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
78854         dl_hwcap via passed in argument.
78855         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
78856         Likewise.
78858 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78860         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
78862 2011-06-06  Roland McGrath  <roland@hack.frob.com>
78864         [BZ #12849]
78865         * manual/fdl-1.1.texi: New file, verbatim from:
78866         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
78867         * manual/lgpl-2.1.texi: New file, verbatim from:
78868         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
78869         * manual/Makefile (licenses): New variable, list those new file names.
78870         (texis): Use it.
78871         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
78873         * manual/fdl.texi: File removed.
78874         * manual/lesser.texi: File removed.
78875         * manual/libc.texinfo (Copying, Documentation License):
78876         Use new @include file names, put @appendix directive before @include.
78878 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
78880         [BZ #12841]
78881         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
78882         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
78883         (mq_open): Add __NTH.
78885 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
78887         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78888         Assume Intel Core i3/i5/i7 processor if AVX is available.
78890 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78892         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
78893         typo.
78895 2011-05-31  Andreas Schwab  <schwab@redhat.com>
78897         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
78898         memory.  Use alloca_account.  Fix memory leak when retrying.
78900 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
78902         * version.h (RELEASE): Bump for 2.14 release.
78903         * include/features.h (__GLIBC_MINOR__): Bump to 14.
78905         * config.make.in (RANLIB): Remove entry.
78907 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
78909         * po/Makefile (po-sed-cmd): Add ksh to extensions.
78910         (libc.pot): Work around missing support for .ksh extension in xgettext.
78912         [BZ #12684]
78913         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
78914         if both request failed.
78915         (send_dg): In case of server errors clear resplen or *resplen2.
78917         [BZ #12454]
78918         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
78919         when there are multiple maps.
78920         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
78921         (_dl_fini): Remove test here.
78923         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
78925 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
78927         [BZ #12350]
78928         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
78929         bit from old_res_options.
78930         (gaih_inet): Likewise.
78932         [BZ #11099]
78933         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
78934         as signed.
78936         * resolv/res_init.c (res_setoptions): Make the code more compact.
78938         [BZ #11558]
78939         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
78940         set RES_USEVC.
78942         [BZ #11634]
78943         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
78945         * malloc/malloc.h: Mark malloc hook variables as deprecated.
78947         [BZ #11781]
78948         * malloc/malloc.h: Declare malloc hook variables as volatile.
78950         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
78951         in last patch.
78953         [BZ #11799]
78954         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
78955         raise in the comment.
78956         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
78957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
78958         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
78960 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
78962         [BZ #12811]
78963         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
78964         grow the buffers more if it already has to be sufficient.
78965         (build_wcs_upper_buffer): Likewise.
78966         * posix/regexec.c (check_matching): Likewise.
78967         (clean_state_log_if_needed): Likewise.
78968         (extend_buffers): Don't enlarge buffers beyond size of the input
78969         buffer.
78970         Patches mostly by Emil Wojak <emil@wojak.eu>.
78971         * posix/bug-regex32.c: New file.
78972         * posix/Makefile (tests): Add bug-regex32.
78974         * locale/findlocale.c (_nl_find_locale): Return right away if
78975         _nl_explode_name failed.
78976         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
78978         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
78980         * debug/xtrace.sh: Unify messages.
78981         * malloc/memusage.sh: Likewise.
78983         [BZ #12813]
78984         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
78985         time symbol from vDSO.  Substitute with vsyscall if not available.
78986         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
78987         __vdso_time.
78989         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
78990         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
78991         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
78992         Add sendmmsg and internal_sendmmsg.
78993         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
78994         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
78995         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
78997         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
78998         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
78999         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
79001 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
79003         [BZ #12813]
79004         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
79005         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
79006         available.
79007         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
79008         __vdso_getcpu.
79010         [BZ #12814]
79011         * iconvdata/Makefile (tests): Add bug-iconv9.
79012         * iconvdata/bug-iconv9.c: New file.
79014 2011-05-27  Andreas Schwab  <schwab@redhat.com>
79016         [BZ #12814]
79017         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
79019 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
79021         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79022         (struct user_regs_struct): Change intcs field back to cs.
79024 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
79026         * po/ja.po: Update from translation team.
79028 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
79030         [BZ #12795]
79031         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
79032         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
79034 2011-05-20  Andreas Schwab  <schwab@redhat.com>
79036         * stdlib/longlong.h: Update from GCC.
79038 2011-05-23  Andreas Schwab  <schwab@redhat.com>
79040         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
79041         parameter name.
79042         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
79043         Add parameter name.
79044         (__sysconf): Pass it down.
79046 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
79048         [BZ #12671]
79049         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
79050         some situations.
79051         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
79052         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
79053         add in in __libc_use_alloca calls.  Adjust callers.
79054         (glob): Use malloc in some situations.
79056         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
79057         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
79058         pltexit.
79060 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
79062         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
79063         and CLOCK_BOOTTIME_ALARM.
79065         [BZ #12782]
79066         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
79067         is returned.
79069         * string/_strerror.c (__strerror_r): Print negative errors as signed
79070         numbers.
79072         [BZ #12777]
79073         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
79074         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
79075         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
79077         * configure.in: Fix typo in redirection and correct removal of test
79078         files in two cases.
79080         [BZ #12788]
79081         * locale/setlocale.c (new_composite_name): Fix test to check for
79082         identical name of all categories.
79084         [BZ #12792]
79085         * libio/filedoalloc.c (local_isatty): New function.
79086         (_IO_file_doallocate): Use local_isatty.
79087         * stdio-common/perror.c (perror): In case a new stream is used
79088         forward the stream error.
79089         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
79090         error flag.
79092 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
79094         [BZ #11884]
79095         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
79096         alloca.
79097         * include/alloca.h (extend_alloca_account): Define.
79099         [BZ #11857]
79100         * posix/regex.h: Fix comments with documentation of user-accessible
79101         fields after compilation and describe correct free'ing of pattern
79102         after re_compile_pattern.
79103         Patch by Reuben Thomas <rrt@sc3d.org>.
79105 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
79107         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
79108         and -mno-altivec to prevent the compiler from using Altivec and/or
79109         VSX instructions when the corresponding registers are not available.
79111 2011-05-19  Andreas Schwab  <schwab@redhat.com>
79113         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
79115 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
79117         * libio/freopen.c (freopen): Use __dup2, not dup2.
79118         * libio/freopen64.c (freopen64): Likewise.
79120 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
79122         [BZ #12775]
79123         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
79124         * math/Makefile (tests): Add test-powl.
79125         (CFLAGS-test-powl.c): Define.
79126         * math/test-powl.c: New file.
79128 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
79130         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
79132 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
79134         [BZ #11837]
79135         * iconvdata/gb18030.c: Update to GB18020-2005.
79137 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
79139         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
79140         RE_SYNTAX_POSIX_AWK): Update to match recent development.
79141         Patch by Aharon Robbins <arnold@skeeve.com>.
79143         [BZ #11892]
79144         * stdlib/putenv.c (putenv): Don't always create copy of the variable
79145         on the stack.
79147         [BZ #11895]
79148         * misc/pselect.c (__pselect): Handle timeout value errors hidden
79149         through underflows.
79151         [BZ #12766]
79152         * misc/error.c (error_at_line): Ensure file_name and old_file_name
79153         point to strings before performing equality test for error_one_per_line
79154         mode.
79156         [BZ #11697]
79157         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
79159         [BZ #11820]
79160         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
79161         (struct user_fpregs_struct): Avoid __uint*_t types.
79163         [BZ #6420]
79164         * malloc/mtrace.c (tr_where): Add additional parameter to point to
79165         symbol info.  Use it instead of calling _dl_addr locally.
79166         (lock_and_info): New function.
79167         (tr_freehook): Call lock_and_info and pass symbol info as additional
79168         parameter to tr_where.
79169         (tr_mallochook): Likewise.
79170         (tr_reallochook): Likewise.
79171         (tr_memalignhook): Likewise.
79173         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
79174         used and couldn't be at all thread-safe.
79176 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
79178         * libio/freopen.c (freopen): Don't close old file descriptor
79179         before the new one is opened.  Instead dup the new file descriptor
79180         to the old one after the new stream is created.
79181         * libio/freopen64.c (freopen64): Likewise.
79182         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
79183         * libio/fileops.c (_IO_new_file_close_it): Handle new
79184         _IO_FLAGS2_NOCLOSE flag.
79185         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
79186         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
79187         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
79188         _IO_FLAGS2_NOCLOSE flag.
79189         * include/unistd.h: Add hidden_proto for dup3.
79190         Define __have_dup3.
79191         * io/dup3.c: Define hidden symbol.
79192         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
79194         [BZ #7101]
79195         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
79196         when an incomplete long option is used.
79197         * posix/tst-getopt_long1.c: New file.
79198         * posix/Makefile (tests): Add tst-getopt_long1.
79200         [BZ #10138]
79201         * scripts/config.guess: Update from autoconf-2.68.
79202         * scripts/config.sub: Likewise.
79204         [BZ #10157]
79205         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
79206         tests into ...
79207         (has_cpuclock): ...this.  New function.
79208         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
79209         macro here based on has_cpuclock code.
79211         [BZ #10149]
79212         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79213         First byte (not low byte) is now always NUL.
79214         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
79216         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
79217         Use non-cancelable interfaces.
79219         [BZ #9809]
79220         * locale/iso-639.def: Add entry for Sorani.
79222         [BZ #11901]
79223         * include/stdlib.h: Move include protection to the right place.
79224         Define abort_msg_s.  Declare __abort_msg with it.
79225         * stdlib/abort.c (__abort_msg): Adjust type.
79226         * assert/assert.c (__assert_fail_base): New function.  Majority
79227         of code from __assert_fail.  Allocate memory for __abort_msg with
79228         mmap.
79229         (__assert_fail): Now call __assert_fail_base.
79230         * assert/assert-perr.c: Remove bulk of implementation.  Use
79231         __assert_fail_base.
79232         * include/assert.hL Declare __assert_fail_base.
79233         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
79234         mmap.
79235         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
79237 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
79239         [BZ #11952]
79240         [BZ #12453]
79241         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
79242         until all modules are registered in the DTV.
79243         * elf/Makefile: Add rules to build and run tst-tls19.
79244         * elf/tst-tls19.c: New file.
79245         * elf/tst-tls19mod1.c: New file.
79246         * elf/tst-tls19mod2.c: New file.
79247         * elf/tst-tls19mod3.c: New file.
79248         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
79250         [BZ #12083]
79251         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
79252         correctly.
79254         [BZ #12601]
79255         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
79256         two-byte sequence errors.
79257         * iconvdata/Makefile (tests): Add bug-iconv8.
79258         * iconvdata/bug-iconv8.c: New file.
79260         [BZ #12626]
79261         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
79262         buf2 definition.
79264         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
79266         [BZ #12432]
79267         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
79268         (dummy_getcfa): New function.
79269         (init): Get _Unwind_GetCFA address, use dummy if not found.
79270         (backtrace_helper): In recursion check, also check whether CFA changes.
79271         (__backtrace): Completely initialize arg.
79273         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
79274         storing incomplete byte sequence in state object.  Avoid testing for
79275         guaranteed too small input if we know there is enough data available.
79277 2011-05-11  Andreas Schwab  <schwab@redhat.com>
79279         * Makeconfig (+link-pie): Indent.
79280         * Rules (binaries-pie): Define if $(have-fpie) and
79281         $(build-shared).
79282         (binaries-shared): Also filter out $(binaries-pie).
79283         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
79284         * nscd/Makefile (others-pie): Add nscd.
79285         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
79286         ($(objpfx)nscd): Remove command override.
79287         * login/Makefile (others-pie): Add pt_chown.
79288         ($(objpfx)pt_chown): Remove command override.
79289         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
79290         remove command overrides.
79292 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
79294         * libio/tst_putwc.c: Fix error messages.
79296         [BZ #12724]
79297         * libio/fileops.c (_IO_new_file_close_it): Always flush when
79298         currently writing and seek to current position when not.
79299         * libio/Makefile (tests): Add bug-fclose1.
79300         * libio/bug-fclose1.c: New file.
79302 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
79304         [BZ #12511]
79305         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
79306         don't set DF_1_NODELETE here.
79307         (do_lookup_x): When entering new entry test for copy relocation
79308         and if necessary set DF_1_NODELETE flag.
79309         * elf/tst-unique4.cc: New file.
79310         * elf/tst-unique4.h: New file.
79311         * elf/tst-unique4lib.cc: New file.
79312         * elf/Makefile: Add rules to build and run tst-unique4.
79313         Patch by Piotr Bury <pbury@goahead.com>.
79315 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
79317         [BZ #12052]
79318         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
79320         [BZ #12625]
79321         * misc/mntent_r.c (addmntent): Flush the stream after the output
79323         [BZ #12393]
79324         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
79325         (is_trusted_path_normalize): Skip initial colon.  Append slash
79326         to empty buffer.  Duplicate is_trusted_path code but allow
79327         constructed patch to be prefix.
79328         (is_dst): Allow $ORIGIN followed by /.
79329         (_dl_dst_substitute): Correct clearing of check_for_trusted.
79330         Correct testing of result of is_trusted_path_normalize
79331         (decompose_rpath): Fix warning.
79333 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
79335         [BZ #11257]
79336         * grp/initgroups.c (internal_getgrouplist): When we found the service
79337         list through the initgroups entry in nsswitch.conf do not always
79338         continue on a successful lookup.  Don't always use the
79339         __nss_group_database value if it is set.
79340         * nss/nsswitch.conf (initgroups): Change action for successful db
79341         lookup to continue for compatibility.
79343 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
79345         [BZ #11532]
79346         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
79347         and CP774 modules.
79348         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
79349         and CP774 modules.
79350         * iconvdata/tst-tables.sh: Likewise.
79351         * iconvdata/cp770.c: New file.
79352         * iconvdata/cp771.c: New file.
79353         * iconvdata/cp772.c: New file.
79354         * iconvdata/cp773.c: New file.
79355         * iconvdata/cp774.c: New file.
79356         * iconvdata/testdata/CP770: New file.
79357         * iconvdata/testdata/CP770..UTF8: New file.
79358         * iconvdata/testdata/CP771: New file.
79359         * iconvdata/testdata/CP771..UTF8: New file.
79360         * iconvdata/testdata/CP772: New file.
79361         * iconvdata/testdata/CP772..UTF8: New file.
79362         * iconvdata/testdata/CP773: New file.
79363         * iconvdata/testdata/CP773..UTF8: New file.
79364         * iconvdata/testdata/CP774: New file.
79365         * iconvdata/testdata/CP774..UTF8: New file.
79367         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
79368         END CHARMAP line.
79369         * iconvdata/gen-8bit-gap.sh: Likewise.
79370         * iconvdata/gen-8bit.sh: Likewise.
79372         * locale/iso-639.def: Add ary entry.
79374         [BZ #11258]
79375         * locale/C-translit.h.in: Add U20A1 transliteration.
79377         [BZ #12178]
79378         * locale/iso-639.def: Add wae entry.
79379         Patch by Kevin Bortis <bortis@translate-wae.ch>.
79381         [BZ #12545]
79382         * locale/programs/localedef.c (construct_output_path): Use ssize_t
79383         for n.
79385         [BZ #12711]
79386         * locale/C-translit.h.in: Add entry for U20B9.
79387         Patch by pravin.d.s@gmail.com.
79389 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
79391         [BZ #12713]
79392         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
79393         ENAMETOOLONG use generic getcwd.
79394         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
79395         in rtld.  Use *stat64.
79396         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
79397         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
79398         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
79399         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
79400         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
79401         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
79402         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
79403         __fstatat64 macros.
79404         * include/dirent.h: Add libc_hidden_proto for rewinddir.
79405         * dirent/rewinddir.c: Add libc_hidden_def.
79406         * sysdeps/mach/hurd/rewinddir.c: Likewise.
79407         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
79409         * include/dirent.h (__alloc_dir): Add flags parameter.
79410         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
79411         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
79412         __alloc_dir.
79413         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
79414         from fdopendir if O_CLOEXEC is already set.
79416 2011-03-15  Alan Modra  <amodra@gmail.com>
79418         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
79419         l_tls_firstbyte_offset non-zero.  Save padding offset in
79420         l_tls_firstbyte_offset for later use.
79421         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
79422         freeing static tls block.
79424 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
79426         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
79427         where #ifdef was intended.  The intent is to prevent ARG_MAX from
79428         being defined by the kernel headers.
79430 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
79432         [BZ #12734]
79433         * resolv/resolv.h: Define RES_NOTLDQUERY.
79434         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
79435         no-tld-query and set RES_NOTLDQUERY.
79436         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
79437         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
79438         modern BIND to search name as TLD unless forbidden.
79440 2011-05-07  Petr Baudis  <pasky@suse.cz>
79441             Ulrich Drepper  <drepper@gmail.com>
79443         [BZ #12393]
79444         * elf/dl-load.c (fillin_rpath): Move trusted path check...
79445         (is_trusted_path): ...to here.
79446         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
79447         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
79448         using is_trusted_path_normalize() in setuid scripts.
79450 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
79452         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
79453         __BEGIN/__END_DECLS.
79455 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
79457         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
79458         NSS_STATUS_NOTFOUND if no record was found.
79460 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79462         * sunrpc/Makefile (headers): Add rpc/netdb.h.
79463         (headers-not-in-tirpc): Remove rpc/netdb.h
79464         * resolv/netdb.h: Revert last change.
79466 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
79468         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
79469         circular dependency between libgcc.a and libc.a.
79471 2011-05-05  Andreas Schwab  <schwab@redhat.com>
79473         * resolv/netdb.h: Don't include <rpc/netdb.h>.
79474         * nis/Makefile: Don't install rpcsvc/*.
79475         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
79476         instead of <rpc/types.h>.
79477         (MAXHOSTNAMELEN): Define.
79479 2011-05-03  Andreas Schwab  <schwab@redhat.com>
79481         * elf/ldconfig.c (add_dir): Don't crash on empty path.
79483 2011-04-28  Maciej Babinski  <mbabinski@google.com>
79485         [BZ #12714]
79486         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
79487         gethostbyname4_r when IPv6 results are possible.
79489 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
79491         [BZ #12723]
79492         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
79493         _PC_PIPE_BUF handling.
79495 2011-04-30  Bruno Haible  <bruno@clisp.org>
79497         [BZ #12717]
79498         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
79499         * resolv/netdb.h (getnameinfo): Change type of flags parameter
79500         to 'int'.
79501         * inet/getnameinfo.c (getnameinfo): Likewise.
79503 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
79505         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
79506         to groups setting in database lookup.
79507         * nss/nsswitch.conf: Add initgroups entry.
79509 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
79511         [BZ #12685]
79512         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
79513         mode string.
79514         Patch by Eric Blake <eblake@redhat.com>.
79516 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
79518         * sunrpc/Makefile (need-export-routines): Add svc_run.
79519         (routines): Remove svc_run.
79520         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
79521         * sunrpc/clnt_perr.c (clnt_perrno): Export.
79522         * sunrpc/svc_run.c (svc_run): Likewise.
79523         * sunrpc/svc_udp.c (svcudp_create): Likewise.
79525 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
79527         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
79528         problem in reallocation in last patch.
79530 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
79532         * sunrpc/Makefile: Move inclusion of Rules.
79534 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79536         * nss/nss_files/files-initgroups.c: New file.
79537         * nss/Makefile (libnss_files-routines): Add files-initgroups.
79538         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
79539         _nss_files_initgroups_dyn.
79541 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
79543         * elf/elf.h (R_ARM_IRELATIVE): Define.
79545 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
79547         * po/ru.po: Update from translation team.
79549 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79551         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
79552         dependencies.
79554 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
79556         [BZ #12653]
79557         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
79558         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
79559         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
79560         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
79561         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
79563 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
79565         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
79566         differing bytes.
79567         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
79568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
79569         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
79571 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
79573         [BZ #12420]
79574         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
79575         storing it.
79576         * stdlib/bug-getcontext.c: New file.
79577         * stdlib/Makefile: Add rules to build and run bug-getcontext.
79579 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79581         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
79582         instructions into .machine "z9-109".
79583         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
79584         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
79586 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
79588         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
79589         between environment variables and auxiliary vector.
79591 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
79593         * Makefile: Add rules to build linkobj/libc.so.
79594         * include/libc-symbols.h: Define libc_hidden_nolink.
79595         * include/rpc/auth.h: Mark functions which are to be hidden.
79596         * include/rpc/auth_des.h: Likewise.
79597         * include/rpc/auth_unix.h: Likewise.
79598         * include/rpc/clnt.h: Likewise.
79599         * include/rpc/des_crypt.h: Likewise.
79600         * include/rpc/key_prot.h: Likewise.
79601         * include/rpc/pmap_clnt.h: Likewise.
79602         * include/rpc/pmap_prot.h: Likewise.
79603         * include/rpc/pmap_rmt.h: Likewise.
79604         * include/rpc/rpc_msg.h: Likewise.
79605         * include/rpc/svc.h: Likewise.
79606         * include/rpc/svc_auth.h: Likewise.
79607         * include/rpc/xdr.h: Likewise.
79608         * nis/Makefile: Link all DSOs against linkobj/libc.so.
79609         * nss/Makefile: Likewise.
79610         * sunrpc/Makefile: Don't install headers.  Build library with normal
79611         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
79612         * sunrpc/auth_des.c: Hide exported symbols by default, export some
79613         for the compat linking library.  Remove use of INTDEF/INTUSE.
79614         * sunrpc/auth_none.c: Likewise.
79615         * sunrpc/auth_unix.c: Likewise.
79616         * sunrpc/authdes_prot.c: Likewise.
79617         * sunrpc/authuxprot.c: Likewise.
79618         * sunrpc/clnt_gen.c: Likewise.
79619         * sunrpc/clnt_perr.c: Likewise.
79620         * sunrpc/clnt_raw.c: Likewise.
79621         * sunrpc/clnt_simp.c: Likewise.
79622         * sunrpc/clnt_tcp.c: Likewise.
79623         * sunrpc/clnt_udp.c: Likewise.
79624         * sunrpc/clnt_unix.c: Likewise.
79625         * sunrpc/des_crypt.c: Likewise.
79626         * sunrpc/des_soft.c: Likewise.
79627         * sunrpc/get_myaddr.c: Likewise.
79628         * sunrpc/key_call.c: Likewise.
79629         * sunrpc/key_prot.c: Likewise.
79630         * sunrpc/netname.c: Likewise.
79631         * sunrpc/pm_getmaps.c: Likewise.
79632         * sunrpc/pm_getport.c: Likewise.
79633         * sunrpc/pmap_clnt.c: Likewise.
79634         * sunrpc/pmap_prot.c: Likewise.
79635         * sunrpc/pmap_prot2.c: Likewise.
79636         * sunrpc/pmap_rmt.c: Likewise.
79637         * sunrpc/publickey.c: Likewise.
79638         * sunrpc/rpc_cmsg.c: Likewise.
79639         * sunrpc/rpc_common.c: Likewise.
79640         * sunrpc/rpc_dtable.c: Likewise.
79641         * sunrpc/rpc_prot.c: Likewise.
79642         * sunrpc/rpc_thread.c: Likewise.
79643         * sunrpc/rtime.c: Likewise.
79644         * sunrpc/svc.c: Likewise.
79645         * sunrpc/svc_auth.c: Likewise.
79646         * sunrpc/svc_authux.c: Likewise.
79647         * sunrpc/svc_raw.c: Likewise.
79648         * sunrpc/svc_run.c: Likewise.
79649         * sunrpc/svc_simple.c: Likewise.
79650         * sunrpc/svc_tcp.c: Likewise.
79651         * sunrpc/svc_udp.c: Likewise.
79652         * sunrpc/svc_unix.c: Likewise.
79653         * sunrpc/svcauth_des.c: Likewise.
79654         * sunrpc/xcrypt.c: Likewise.
79655         * sunrpc/xdr.c: Likewise.
79656         * sunrpc/xdr_array.c: Likewise.
79657         * sunrpc/xdr_float.c: Likewise.
79658         * sunrpc/xdr_intXX_t.c: Likewise.
79659         * sunrpc/xdr_mem.c: Likewise.
79660         * sunrpc/xdr_rec.c: Likewise.
79661         * sunrpc/xdr_ref.c: Likewise.
79662         * sunrpc/xdr_sizeof.c: Likewise.
79663         * sunrpc/xdr_stdio.c: Likewise.
79665 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
79667         [BZ #12650]
79668         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
79669         * sysdeps/ia64/dl-tls.h: Likewise.
79670         * sysdeps/powerpc/dl-tls.h: Likewise.
79671         * sysdeps/s390/dl-tls.h: Likewise.
79672         * sysdeps/sh/dl-tls.h: Likewise.
79673         * sysdeps/sparc/dl-tls.h: Likewise.
79674         * sysdeps/x86_64/dl-tls.h: Likewise.
79675         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
79677 2011-03-14  Andreas Schwab  <schwab@redhat.com>
79679         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
79680         rpath element also skip the following colon.
79681         (expand_dynamic_string_token): Add is_path parameter and pass
79682         down to DL_DST_REQUIRED and _dl_dst_substitute.
79683         (decompose_rpath): Call expand_dynamic_string_token with
79684         non-zero is_path.  Ignore empty rpaths.
79685         (_dl_map_object_from_fd): Call expand_dynamic_string_token
79686         with zero is_path.
79688 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
79690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
79691         Make cancelable.
79693 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
79695         [BZ #12655]
79696         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
79697         Patch by Filipe David Manana <fdmanana@apache.org>.
79699 2011-04-07  Andreas Schwab  <schwab@redhat.com>
79701         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
79702         Maintain aligned stack.
79703         (CHECK_RSP): Remove unused macro.
79705 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
79707         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
79708         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
79710 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
79712         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
79714         * include/features.h: Mention __USE_XOPEN2K8 in comment.
79716 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
79718         [BZ #12518]
79719         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
79720         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
79721         * sysdeps/x86_64/memmove.c: New file.
79722         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
79723         (memcpy): Renamed to ...
79724         (__new_memcpy): This.
79725         (memcpy): Provide GLIBC_2_14 memcpy.
79726         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
79727         (memcpy): Provide GLIBC_2_2_5 memcpy.
79729 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79731         [BZ #12631]
79732         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
79734 2011-03-30  Andreas Schwab  <schwab@redhat.com>
79736         * misc/syncfs.c: New file.
79737         * misc/Makefile (routines): Add syncfs.
79738         * posix/unistd.h: Declare syncfs.
79739         * sysdeps/unix/syscalls.list: Add syncfs.
79741 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79743         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
79744         open_by_handle_at.
79745         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79746         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79747         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79748         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79749         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79750         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
79751         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79753 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79755         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
79756         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79757         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
79758         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79759         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79761         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79763         * io/Makefile: Compile fallocate.c, fallocate64.c, and
79764         sync_file_range.c with -fexceptions.
79765         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
79766         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
79767         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
79768         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
79769         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
79770         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
79771         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
79772         sync_file_range as cancellation point
79773         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
79774         now a wrapper around __call_sync_file_range with cancellation handling.
79775         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
79776         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
79777         function name to __call_sync_file_range.
79778         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
79779         Add call_sync_file_range.
79781 2011-04-01  Andreas Schwab  <schwab@redhat.com>
79783         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
79784         bits/timex.h.
79786 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
79788         * iconv/iconv.h: Fix typo in comment.
79789         * io/fcntl.h: Likewise.
79790         * libio/stdio.h: Likewise.
79791         * posix/spawn.h: Likewise.
79792         * posix/unistd.h: Likewise.
79793         * stdlib/stdlib.h: Likewise.
79794         * time/time.h: Likewise.
79795         * wcsmbs/wchar.h: Likewise.
79797         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
79798         open_by_handle): Add.
79799         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
79800         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
79801         Augment a few comments.
79802         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79803         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79804         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79805         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79806         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79807         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
79808         open_by_handle.
79810         * io/fcntl.h (AT_EMPTY_PATH): Define.
79812 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
79814         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
79815         * sysdeps/unix/sysv/linux/bits/time.h: New file.
79816         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
79817         to...
79818         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
79819         * Versions.def: Add GLIBC_2.14.
79820         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
79821         Export.
79823 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
79825         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
79826         round counter.
79827         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79829 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
79831         [BZ #12597]
79832         * string/test-strncmp.c (do_page_test): New function.
79833         (check2): Likewise.
79834         (test_main): Call check2.
79835         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
79837 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
79839         [BZ #12587]
79840         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
79841         Handle cache information in CPU leaf 4.
79842         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
79844 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
79846         [BZ #12583]
79847         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
79848         character representation.
79849         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
79851 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
79853         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
79854         END(__isnan) to END(__isnanf) to match function entry point/label
79855         EALIGN(__isnanf,...).
79857 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
79859         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
79861 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
79863         [BZ #12510]
79864         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
79865         copy from the symbol referenced in the relocation to initialize the
79866         used variable.
79867         Patch by Piotr Bury <pbury@goahead.com>.
79868         * elf/Makefile: Add rules to build and tst-unique3.
79869         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
79870         * elf/tst-unique3.cc: New file.
79871         * elf/tst-unique3.h: New file.
79872         * elf/tst-unique3lib.cc: New file.
79873         * elf/tst-unique3lib2.cc: New file.
79875         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
79877 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
79879         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
79880         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
79881         to _start.
79883 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
79885         * elf/dl-load.c (_dl_map_object): If we are looking for the first
79886         to-be-loaded object along a path to loader is ld.so.
79888 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79889             Ulrich Drepper  <drepper@gmail.com>
79891         * sysdeps/x86_64/memset.S: After aligning destination, code
79892         branches to different locations depending on the value of
79893         misalignment, when multiarch is enabled. Fix this.
79895 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
79897         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
79898         Set _x86_64_preferred_memory_instruction for AMD processsors.
79899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79900         Set bit_Prefer_SSE_for_memop for AMD processors.
79902 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
79904         * libio/fmemopen.c (fmemopen): Optimize a bit.
79906 2011-03-03  Andreas Schwab  <schwab@redhat.com>
79908         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
79910 2011-03-03  Roland McGrath  <roland@redhat.com>
79912         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
79914 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
79916         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
79917         __bzero_ultra1 instead of __memset_ultra1.
79919 2011-02-23  Andreas Schwab  <schwab@redhat.com>
79920             Ulrich Drepper  <drepper@gmail.com>
79922         [BZ #12509]
79923         * include/link.h (struct link_map): Add l_orig_initfini.
79924         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
79925         returning unsuccessfully.
79926         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
79927         close of a file loaded at startup, restore the original l_initfini
79928         list.
79929         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
79930         list, store the pointer.
79931         * elf/Makefile ($(objpfx)noload-mem): New rule.
79932         (noload-ENV): Define.
79933         (tests): Add $(objpfx)noload-mem.
79934         * elf/noload.c: Include <memcheck.h>.
79935         (main): Call mtrace.  Close all opened handles.
79937 2011-02-17  Andreas Schwab  <schwab@redhat.com>
79939         [BZ #12454]
79940         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
79941         dependencies are missing.
79943 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79945         Fix __if_freereq crash: Unlike the generic version which uses free,
79946         Hurd needs munmap.
79947         * sysdeps/mach/hurd/ifreq.h: New file.
79949 2011-01-27  Petr Baudis  <pasky@suse.cz>
79950             Ulrich Drepper  <drepper@gmail.com>
79952         [BZ 12445]#
79953         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
79954         to extend_alloca().
79955         * stdio-common/bug23.c: New file.
79956         * stdio-common/Makefile (tests): Add bug23.
79958 2010-09-28  Andreas Schwab  <schwab@redhat.com>
79959             Ulrich Drepper  <drepper@gmail.com>
79961         [BZ #12489]
79962         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
79963         before performing relro protection.  At old place add assertion
79964         to make sure nothing changed.
79966 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
79967             Glauber de Oliveira Costa  <glommer@gmail.com>
79969         * elf/elf.h: Add new ARM TLS relocs.
79971 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
79973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
79974         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
79975         cast from r3.
79976         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
79977         'tests' variable.
79978         * sysdeps/wordsize-64/tst-writev.c: New file.
79980 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
79982         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
79983         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
79984         insns in _dl_start to prevent a TOC reference before relocs are
79985         resolved.
79987 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
79989         [BZ #12469]
79990         * Makeconfig: Remove RANLIB definition.
79991         * Makerules: Don't use RANLIB.
79992         * aclocal.m4: Remove ranlib test.
79993         * configure.in: No need to check for ranlib.
79994         * elf/rtld-Rules: Don't use RANLIB.
79996 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79998         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
79999         protection macro.
80000         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
80001         inclusion protection macro.
80003         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
80004         SIGRTMIN and SIGRTMAX and print information in that case only when
80005         SIGRTMIN is defined.
80007 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
80009         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
80010         arginfo fn returning -1.
80012         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
80013         and thousands string is zero terminated.
80015 2011-02-03  Andreas Schwab  <schwab@redhat.com>
80017         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
80018         sysdeps/unix/sysv/linux/bits/socket.h.
80020 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80022         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
80023         (__CPU_COUNT): Remove old macros.
80024         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
80025         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
80026         (__CPU_ALLOC, __CPU_FREE): Add macros.
80027         (__sched_cpualloc, __sched_cpufree): Add declarations.
80029 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
80031         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
80032         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
80033         * nscd/aicache.c (addhstaiX): Return timeout of added value.
80034         (readdhstai): Return value of addhstaiX call.
80035         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
80036         (addgrbyX): Return value returned by cache_addgr.
80037         (readdgrbyname): Return value returned by addgrbyX.
80038         (readdgrbygid): Likewise.
80039         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
80040         (addpwbyX): Return value returned by cache_addpw.
80041         (readdpwbyname): Return value returned by addhstbyX.
80042         (readdpwbyuid): Likewise.
80043         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
80044         (addservbyX): Return value returned by cache_addserv.
80045         (readdservbyname): Return value returned by addservbyX:
80046         (readdservbyport): Likewise.
80047         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
80048         (addhstbyX): Return value returned by cache_addhst.
80049         (readdhstbyname): Return value returned by addhstbyX.
80050         (readdhstbyaddr): Likewise.
80051         (readdhstbynamev6): Likewise.
80052         (readdhstbyaddrv6): Likewise.
80053         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
80054         (readdinitgroups): Return value returned by addinitgroupsX.
80055         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
80056         (prune_cache): Keep track of timeout value of re-added entries.
80057         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
80058         * nscd/nscd.h: Adjust prototypes of readd* functions.
80060 2011-02-04  Roland McGrath  <roland@redhat.com>
80062         * nis/nis_server.c (nis_servstate): Use the right name for 0.
80063         (nis_stats): Likewise.
80064         * nis/nis_modify.c (nis_modify): Likewise.
80065         * nis/nis_remove.c (nis_remove): Likewise.
80066         * nis/nis_add.c (nis_add): Likewise.
80068         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
80070         * posix/fnmatch_loop.c: Add some consts.
80072         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
80074 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
80076         [BZ #12460]
80077         * config.make.in (config-cflags-novzeroupper): Define.
80078         * configure.in: Substitute libc_cv_cc_novzeroupper.
80079         * elf/Makefile (AVX-CFLAGS): Define.
80080         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
80081         (CFLAGS-tst-auditmod4a.c): Likewise.
80082         (CFLAGS-tst-auditmod4b.c): Likewise.
80083         (CFLAGS-tst-auditmod6b.c): Likewise.
80084         (CFLAGS-tst-auditmod6c.c): Likewise.
80085         (CFLAGS-tst-auditmod7b.c): Likewise.
80086         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
80088 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
80090         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
80091         function to the callback.
80092         Patch partly by Jiri Olsa <jolsa@redhat.com>.
80094 2011-02-02  Andreas Schwab  <schwab@redhat.com>
80096         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
80097         of errno.
80099 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
80101         [BZ #11724]
80102         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
80103         of constructors.
80104         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
80105         of destructors.
80106         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
80108         [BZ #11724]
80109         * elf/Makefile: Add rules to build and run new test.
80110         * elf/tst-initorder.c: New file.
80111         * elf/tst-initorder.exp: New file.
80112         * elf/tst-initordera1.c: New file.
80113         * elf/tst-initordera2.c: New file.
80114         * elf/tst-initordera3.c: New file.
80115         * elf/tst-initordera4.c: New file.
80116         * elf/tst-initorderb1.c: New file.
80117         * elf/tst-initorderb2.c: New file.
80118         * elf/tst-order-a1.c: New file.
80119         * elf/tst-order-a2.c: New file.
80120         * elf/tst-order-a3.c: New file.
80121         * elf/tst-order-a4.c: New file.
80122         * elf/tst-order-b1.c: New file.
80123         * elf/tst-order-b2.c: New file.
80124         * elf/tst-order-main.c: New file.
80125         New test case by George Gensure <werkt0@gmail.com>.
80127 2010-10-01  Andreas Schwab  <schwab@redhat.com>
80129         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
80130         decoding ACE if AI_CANONIDN.
80132 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
80134         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
80136 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
80138         * version.h (RELEASE): Bump for 2.13 release.
80139         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
80141         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
80143         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
80144         MADV_NOHUGEPAGE.
80145         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
80146         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
80147         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
80148         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
80149         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
80150         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80152         * posix/getconf.c: Update copyright year.
80153         * catgets/gencat.c: Likewise.
80154         * csu/version.c: Likewise.
80155         * debug/catchsegv.sh: Likewise.
80156         * debug/xtrace.sh: Likewise.
80157         * elf/ldconfig.c: Likewise.
80158         * elf/ldd.bash.in: Likewise.
80159         * elf/sprof.c (print_version): Likewise.
80160         * iconv/iconv_prog.c: Likewise.
80161         * iconv/iconvconfig.c: Likewise.
80162         * locale/programs/locale.c: Likewise.
80163         * locale/programs/localedef.c: Likewise.
80164         * malloc/memusage.sh: Likewise.
80165         * malloc/mtrace.pl: Likewise.
80166         * nscd/nscd.c (print_version): Likewise.
80167         * nss/getent.c: Likewise.
80169         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
80170         PF_CAIF, and PF_ALG.
80171         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
80173 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
80175         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
80176         (modules-names): Use them.
80177         (ifunc-test-modules, ifunc-pie-tests): Define.
80178         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
80179         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
80180         (test-extras): Likewise.
80181         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
80182         $(compile-command.c).
80183         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
80184         (all-built-dso): Define.
80185         (check-textrel.out, check-execstack.out): Depend on it.
80187         * configure.in: Don't override --enable-multi-arch.
80189 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
80191         [BZ #6812]
80192         * nscd/hstcache.c (tryagain): Define.
80193         (cache_addhst): Return tryagain not notfound for temporary errors.
80194         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
80195         failed.
80197 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
80199         [BZ #10563]
80200         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
80201         to make the syscall.
80202         * sysdeps/unix/sysv/linux/setgroups.c: New file.
80204         [BZ #12378]
80205         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
80206         and fall back to matching as normal character if the string ends before
80207         the matching ']' is found.  This is what POSIX requires.
80208         * posix/testfnm.c: Adjust test result.
80209         * posix/globtest.sh: Adjust test result.  Add new test.
80210         * posix/tst-fnmatch.input: Likewise.
80211         * posix/tst-fnmatch2.c: Add new test.
80213 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
80215         * elf/Makefile (check-execstack): Revert last change.  Depend on
80216         check-execstack.h.
80217         (check-execstack.h): New target.
80218         (generated): Add check-execstack.h.
80219         * elf/check-execstack.c: Include "check-execstack.h".
80220         (main): Revert last change.
80221         (handle_file): Return zero if GNU_STACK is absent and
80222         DEFAULT_STACK_PERMS doesn't include PF_X.
80224 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
80226         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
80227         in child fails because the descriptor is already closed.
80228         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
80229         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
80230         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
80232         [BZ #12397]
80233         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
80234         syscall.
80236         [BZ #10484]
80237         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
80238         temporary buffer used to handle multi lookups locally.
80239         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
80241 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80243         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
80244         loader is ld.so.
80246 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
80248         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
80249         alignment for SSE2.
80251 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
80253         [BZ #12394]
80254         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
80255         characters.  When rounding increased number of integer digits recompute
80256         number of groups.
80257         * stdio-common/tst-grouping.c: New file.
80258         * stdio-common/Makefile: Add rules to build and run tst-grouping.
80260 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
80262         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
80263         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
80265         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
80266         void.
80267         * bits/select.h: Likewise.
80269 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
80271         * po/ja.po: Update from translation team.
80273 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
80275         [BZ #11155]
80276         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
80277         implementation just like for lxstat, fxstatat, et al.
80279 2010-12-27  Jim Meyering  <meyering@redhat.com>
80281         [BZ #12348]
80282         * posix/regexec.c (build_trtable): Return failure indication upon
80283         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
80285 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
80287         [BZ #12201]
80288         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
80289         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
80290         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
80291         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
80293         [BZ #12207]
80294         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
80296         [BZ #12204]
80297         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
80298         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
80300 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
80302         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
80303         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
80304         script has SORT_BY_INIT_PRIORITY.
80305         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
80306         NO_CTORS_DTORS_SECTIONS is defined.
80307         * elf/soinit.c: Likewise.
80308         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
80309         NO_CTORS_DTORS_SECTIONS is defined.
80310         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
80311         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
80312         * sysdeps/sh/init-first.c: Likewise.
80313         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
80315 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
80317         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
80318         always use the slow path.
80320 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
80322         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
80323         similar rule which adds the sysdep directories to the header search in
80324         order to pick up the correct platform stackinfo.h.
80325         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
80326         perform test if it is, otherwise return successfully without testing.
80327         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
80328         DEFAULT_STACK_PERMS define in stackinfo.h.
80329         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
80330         defined in stackinfo.h.
80331         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
80332         DEFAULT_STACK_PERMS defined in stackinfo.h.
80333         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
80334         * sysdeps/ia64/stackinfo.h: Likewise.
80335         * sysdeps/s390/stackinfo.h: Likewise.
80336         * sysdeps/sh/stackinfo.h: Likewise.
80337         * sysdeps/sparc/stackinfo.h: Likewise.
80338         * sysdeps/x86_64/stackinfo.h: Likewise.
80339         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
80340         PF_X for powerpc64.  Retain PF_X for powerpc32.
80342 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
80344         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
80345         accurately.
80346         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
80347         GETDENTS_64BIT_ALIGNED.
80349 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
80351         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
80353 2010-12-10  Andreas Schwab  <schwab@redhat.com>
80355         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
80356         _GNU_SOURCE.
80358         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
80359         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
80360         Remove __restrict.
80361         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
80362         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
80364 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
80366         [BZ #11655]
80367         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
80368         are initialized.
80370 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
80372         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
80374 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
80376         * po/it.po: Update from translation team.
80378 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
80380         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
80381         unused codes.
80383 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
80385         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
80387 2010-11-24  Andreas Schwab  <schwab@redhat.com>
80389         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
80390         specially.
80391         (gaih_getanswer_slice): Likewise.
80393 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
80395         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
80397 2010-05-31  Petr Baudis  <pasky@suse.cz>
80399         [BZ #11149]
80400         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
80401         silently even in the chroot mode.
80403 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
80405         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
80406         last patch a bit.  Pretty printing
80408 2010-05-31  Petr Baudis <pasky@suse.cz>
80410         [BZ #10085]
80411         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
80412         initialization of skip_initgroups_dyn.
80414 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
80416         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
80417         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
80419 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
80421         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
80423 2010-11-11  Andreas Schwab  <schwab@redhat.com>
80425         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
80426         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
80427         (tst-fnmatch-ENV): Set MALLOC_TRACE.
80428         ($(objpfx)tst-fnmatch-mem): New rule.
80429         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
80430         * posix/tst-fnmatch.c (main): Call mtrace.
80432 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
80434         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80435         Support Intel processor model 6 and model 0x2c.
80437 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
80439         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
80440           signed comparison.
80442 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
80444         [BZ #12205]
80445         * string/test-strncasecmp.c (check_result): New function.
80446         (do_one_test): Use it.
80447         (check1): New function.
80448         (test_main): Use it.
80449         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
80450         Support strcasecmp and strncasecmp.
80452 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
80454         [BZ #12194]
80455         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
80456         * sysdeps/x86_64/bits/byteswap.h: Likewise.
80458 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
80460         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
80461         IFUNC support.
80462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80463         memset-x86-64.
80464         * sysdeps/x86_64/multiarch/bzero.S: New file.
80465         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
80466         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
80467         * sysdeps/x86_64/multiarch/memset.S: New file.
80468         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
80469         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
80470         Set bit_Prefer_SSE_for_memop for Intel processors.
80471         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
80472         Define.
80473         (index_Prefer_SSE_for_memop): Define.
80474         (HAS_PREFER_SSE_FOR_MEMOP): Define.
80476 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
80478         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
80479         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
80481 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
80483         [BZ #12191]
80484         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80485         (__x86_64_raw_data_cache_size_half): Likewise.
80486         (__x86_64_raw_shared_cache_size): Likewise.
80487         (__x86_64_raw_shared_cache_size_half): Likewise.
80489         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
80490         (__x86_64_raw_data_cache_size_half): Likewise.
80491         (__x86_64_raw_shared_cache_size): Likewise.
80492         (__x86_64_raw_shared_cache_size_half): Likewise.
80493         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
80494         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
80495         and __x86_64_raw_shared_cache_size_half.  Round
80496         __x86_64_data_cache_size_half, __x86_64_data_cache_size
80497         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
80498         to multiple of 256 bytes.
80500 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
80502         [BZ #12167]
80503         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
80504         of inacessible symlinks.  Verify result of symlink before returning it.
80505         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
80506         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
80508 2010-10-28  Erich Ritz  <erichritz@gmail.com>
80510         * math/math.h (isinf): Fix typo in comment.
80512 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
80514         * po/da.po: Update from translation team.
80516 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
80518         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
80519         is added to the list.
80521 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80522             Ulrich Drepper  <drepper@gmail.com>
80524         * elf/dl-object.c (_dl_new_object): Don't append the new object to
80525         the global list here.  Move code to...
80526         (_dl_add_to_namespace_list): ...here.  New function.
80527         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
80528         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
80529         * elf/dl-load.c (lose): Don't remove the element from the list.
80530         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
80531         (_dl_map_object): Likewise.
80533 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
80535         [BZ #12159]
80536         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
80537         into all bytes of SSE register.
80538         Patch by Richard Li <richardpku@gmail.com>.
80540 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
80542         [BZ #12140]
80543         * malloc/malloc.c (_int_free): Fill correct number of bytes when
80544         perturbing.
80546 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
80548         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
80549         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
80550         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
80551         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
80552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
80553         submachine.
80554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
80556 2010-10-22  Andreas Schwab  <schwab@redhat.com>
80558         * include/dlfcn.h (__RTLD_SECURE): Define.
80559         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
80560         mode & __RTLD_SECURE instead.
80561         (open_path): Rename preloaded parameter to secure.
80562         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
80563         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
80564         * elf/dl-deps.c (openaux): Likewise.
80565         * elf/rtld.c (struct map_args): Remove is_preloaded.
80566         (map_doit): Don't use it.
80567         (dl_main): Likewise.
80568         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
80569         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
80571 2010-09-09  Andreas Schwab  <schwab@redhat.com>
80573         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
80574         (sysd-rules-targets): Remove duplicates.
80575         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
80576         rtld-%.$o dependency.
80578 2010-10-18  Andreas Schwab  <schwab@redhat.com>
80580         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
80581         _dl_map_object do it.
80583 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
80585         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
80586         fast fma builtins, define the macros in the C99 standard.
80587         (FP_FAST_FMAF): Likewise.
80588         (FP_FAST_FMAL): Likewise.
80589         * sysdeps/x86_64/bits/mathdef.h: Likewise.
80591         * bits/mathdef.h: Update copyright year.
80592         * sysdeps/powerpc/bits/mathdef.h: Likewise.
80594 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
80596         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
80597         builtins, define the macros in the C99 standard.
80598         (FP_FAST_FMAF): Likewise.
80599         (FP_FAST_FMAL): Likewise.
80600         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
80601         multiply/add.
80602         (FP_FAST_FMAF): Likewise.
80604 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
80606         [BZ #3268]
80607         * math/libm-test.inc (fma_test): Some new testcases.
80608         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
80609         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
80610         y and infinite z.  Do multiplication by C already in long double.
80611         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
80612         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
80613         y and infinite z.  Do bitwise or of inexact bit into u.d.
80614         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
80615         * sysdeps/i386/fpu/s_fmaf.S: Removed.
80616         * sysdeps/i386/fpu/s_fma.S: Removed.
80617         * sysdeps/i386/fpu/s_fmal.S: Removed.
80619 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
80621         [BZ #3268]
80622         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
80623         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
80624         computation is not scheduled after fetestexcept.  Fix value
80625         of minimum denormal long double.
80627 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
80629         [BZ #3268]
80630         * math/libm-test.inc (fma_test): Add some more tests.
80631         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
80632         correctly.
80634 2010-10-15  Andreas Schwab  <schwab@redhat.com>
80636         * scripts/data/localplt-s390-linux-gnu.data: New file.
80637         * scripts/data/localplt-s390x-linux-gnu.data: New file.
80639 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
80641         [BZ #3268]
80642         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
80643         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
80644         instead of dbl-64.
80645         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
80646         inlines.
80647         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
80648         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
80649         if one of x and y is very large and the other is subnormal.
80650         * sysdeps/s390/fpu/s_fmaf.c: New file.
80651         * sysdeps/s390/fpu/s_fma.c: New file.
80652         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
80653         * sysdeps/powerpc/fpu/s_fma.S: New file.
80654         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
80655         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
80656         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
80658 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
80660         [BZ #3268]
80661         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
80662         fma tests.
80663         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
80664         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
80665         * sysdeps/i386/i686/multiarch/s_fma.c: Include
80666         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
80667         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
80668         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
80669         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
80671 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
80673         [BZ #12078]
80674         * posix/regcomp.c (parse_branch): One more memory leak plugged.
80675         * posix/bug-regex31.input: Add test case.
80677 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80679         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
80680         * posix/bug-regex31.input: New file.
80682         [BZ #12078]
80683         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
80684         (parse_sub_exp): Fix last change, use postorder.
80686         * posix/bug-regex31.c: New file.
80687         * posix/Makefile: Add rules to build and run bug-regex31.
80689         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
80691         [BZ #12078]
80692         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
80694         [BZ #12108]
80695         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
80696         to have entries in sys_siglist.
80698         [BZ #12093]
80699         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
80700         be NULL.
80702 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
80704         [BZ #3268]
80705         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
80706         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
80707         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
80708         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
80709         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80710         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
80711         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
80712         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
80713         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
80714         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
80715         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
80716         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
80717         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
80718         * math/ftestexcept.c (fetestexcept): Likewise.
80719         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
80720         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
80721         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
80722         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
80723         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
80724         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
80725         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
80727 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
80729         [BZ #12107]
80730         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
80731         newline.
80733 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
80735         * string/bug-strstr1.c: New file.
80736         * string/Makefile: Add rules to build and run bug-strstr1.
80738 2010-10-05  Eric Blake  <eblake@redhat.com>
80740         [BZ #12092]
80741         * string/str-two-way.h (two_way_long_needle): Always clear memory
80742         when skipping input due to the shift table.
80744 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
80746         [BZ #12005]
80747         * malloc/mcheck.c: Handle large requests.
80749         [BZ #12077]
80750         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
80751         for strncmp and strncasecmp.
80752         * string/stratcliff.c: Add tests for strcmp and strncmp.
80753         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
80755 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
80757         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
80758         __set_fpscr.
80760 2010-09-30  Andreas Jaeger  <aj@suse.de>
80762         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
80763         (CGROUP_SUPER_MAGIC): Define.
80764         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
80765         Handle btrfs and cgroup file systems.
80766         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
80767         Likewise.
80769 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
80771         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
80772         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
80774 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80776         [BZ #12067]
80777         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
80778         trying to locate the ELF header.
80780 2010-09-27  Andreas Schwab  <schwab@redhat.com>
80782         [BZ #11611]
80783         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
80784         Mask out sign-bit copies when constructing f_fsid.
80786 2010-09-24  Petr Baudis <pasky@suse.cz>
80788         * debug/stack_chk_fail_local.c: Add missing licence exception.
80789         * debug/warning-nop.c: Likewise.
80791 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
80793         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
80794         implementing getdents64 using getdents syscall, set d_type if
80795         __ASSUME_GETDENTS32_D_TYPE.
80797 2010-09-16  Andreas Schwab  <schwab@redhat.com>
80799         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
80800         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
80802 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
80804         [BZ #12037]
80805         * posix/unistd.h: Undo change of feature selection for ftruncate from
80806         2010-01-11.
80808 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
80810         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
80811         detection.
80813 2010-09-20  Andreas Schwab  <schwab@redhat.com>
80815         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
80816         fanotify_mark.
80817         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
80819 2010-09-14  Andreas Schwab  <schwab@redhat.com>
80821         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
80822         variables after CHECK_SP call.
80823         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
80825 2010-09-13  Andreas Schwab  <schwab@redhat.com>
80826             Ulrich Drepper  <drepper@redhat.com>
80828         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
80829         re-relocationg ld.so.
80830         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
80831         _dl_init_paths call.
80832         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
80833         here anymore.
80835 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
80837         * resolv/res_init.c (__res_vinit): Count the default server we added.
80839 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
80840             Ulrich Drepper  <drepper@redhat.com>
80842         [BZ #11968]
80843         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
80844         (____longjmp_chk): Use %ebx for saving value across system call.
80845         Add unwind info.
80847 2010-09-06  Andreas Schwab  <schwab@redhat.com>
80849         * manual/Makefile: Don't mix pattern rules with normal rules.
80851 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
80853         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
80854         operation.
80855         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
80856         * libio/iofopncook.c (_IO_cookie_init): Likewise.
80857         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
80858         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
80859         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
80860         Likewise.
80862 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
80864         [BZ #11979]
80865         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
80866         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
80868 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
80870         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
80871         * sysdeps/x86_64/addmul_1.S: Likewise.
80872         * sysdeps/x86_64/lshift.S: Likewise.
80873         * sysdeps/x86_64/mul_1.S: Likewise.
80874         * sysdeps/x86_64/rshift.S: Likewise.
80875         * sysdeps/x86_64/sub_n.S: Likewise.
80876         * sysdeps/x86_64/submul_1.S: Likewise.
80878 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
80880         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
80881         Define __sched_param instead of SCHED_* and sched_param when
80882         <bits/sched.h> is included with __need_schedparam defined.
80883         * bits/sched.h [__need_schedparam]
80884         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
80885         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
80886         (__defined_schedparam): Define to 1.
80887         (__sched_param): New structure, identical to sched_param.
80888         (__need_schedparam): Undefine.
80890 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
80892         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
80893         (epoll_create1): Declare.
80895         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
80897 2010-08-31  Andreas Schwab  <schwab@redhat.com>
80899         [BZ #7066]
80900         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
80901         shifting retval into place.
80903 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
80905         * nis/rpcsvc/nis.h: Update copyright notice.
80906         * nis/rpcsvc/nis.x: Likewise.
80907         * nis/rpcsvc/nis_callback.h: Likewise.
80908         * nis/rpcsvc/nis_callback.x: Likewise.
80909         * nis/rpcsvc/nis_object.x: Likewise.
80910         * nis/rpcsvc/nis_tags.h: Likewise.
80911         * nis/rpcsvc/yp.h: Likewise.
80912         * nis/rpcsvc/yp.x: Likewise.
80913         * nis/rpcsvc/ypupd.h: Likewise.
80914         * nis/yp_xdr.c: Likewise.
80915         * nis/ypupdate_xdr.c: Likewise.
80917         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
80918         mainly the body of pmap_getport.  Add parameters to specify timeouts.
80919         (pmap_getport): Use __libc_rpc_getport.
80920         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
80921         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
80922         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
80924 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
80926         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
80927         fanotify_mark.
80929 2010-08-27  Roland McGrath  <roland@redhat.com>
80931         * sysdeps/i386/i686/multiarch/Makefile
80932         (CFLAGS-varshift.c): New variable.
80934 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
80936         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
80937         * sysdeps/i386/i686/multiarch/varshift.c: New file.
80939         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
80941         * sysdeps/x86_64/strlen.S: Minimal code improvement.
80943 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
80945         * sysdeps/x86_64/strlen.S: Unroll the loop.
80946         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80947         strlen-sse2 strlen-sse2-bsf.
80948         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
80949         __strlen_no_bsf if bit_Slow_BSF is set.
80950         (__strlen_sse42): Removed.
80951         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
80952         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
80954 2010-08-25  Roland McGrath  <roland@redhat.com>
80956         * sysdeps/x86_64/multiarch/varshift.S: File removed.
80957         * sysdeps/x86_64/multiarch/varshift.c: New file.
80958         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
80959         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
80960         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
80961         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
80963 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
80965         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80966         strlen-sse2 strlen-sse2-bsf.
80967         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
80968         __strlen_sse2_bsf if bit_Slow_BSF is unset.
80969         (__strlen_sse2): Removed.
80970         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
80971         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
80972         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
80973         bit_Slow_BSF for Atom.
80974         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
80975         (index_Slow_BSF): Define.
80976         (HAS_SLOW_BSF): Define.
80978 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
80980         [BZ #10851]
80981         * resolv/res_init.c (__res_vinit): When no server address at all
80982         is given default to loopback.
80984 2010-08-24  Roland McGrath  <roland@redhat.com>
80986         * configure.in: Remove config-name.h generation.
80987         * configure: Regenerated.
80988         * config-name.in: File removed.
80989         * scripts/config-uname.sh: New file.
80990         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
80991         ($(objdir)config-name.h): New target.
80993         * sunrpc/rpc_parse.h: Avoid nested comment.
80995 2010-08-24  Richard Henderson  <rth@redhat.com>
80996             Ulrich Drepper  <drepper@redhat.com>
80997             H.J. Lu  <hongjiu.lu@intel.com>
80999         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
81000         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
81001         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
81002         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
81003         _mm_alignr_epi8 with _mm_loadu_si128.
81004         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
81005         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
81006         (__m128i_shift_right): Removed.
81007         * sysdeps/i386/i686/multiarch/varshift.h: New file.
81008         * sysdeps/i386/i686/multiarch/varshift.S: New file.
81009         * sysdeps/x86_64/multiarch/varshift.h: New file.
81010         * sysdeps/x86_64/multiarch/varshift.S: New file.
81012 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
81014         * configure.in: Move assembler checks to before sysdep dir checking.
81016 2010-08-20  Petr Baudis  <pasky@suse.cz>
81018         * LICENSES: Sync the sunrpc license.
81020 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
81022         * sunrpc/auth_des.c: Update copyright notice once again.
81023         * sunrpc/auth_none.c: Likewise.
81024         * sunrpc/auth_unix.c: Likewise.
81025         * sunrpc/authdes_prot.c: Likewise.
81026         * sunrpc/authuxprot.c: Likewise.
81027         * sunrpc/bindrsvprt.c: Likewise.
81028         * sunrpc/clnt_gen.c: Likewise.
81029         * sunrpc/clnt_perr.c: Likewise.
81030         * sunrpc/clnt_raw.c: Likewise.
81031         * sunrpc/clnt_simp.c: Likewise.
81032         * sunrpc/clnt_tcp.c: Likewise.
81033         * sunrpc/clnt_udp.c: Likewise.
81034         * sunrpc/clnt_unix.c: Likewise.
81035         * sunrpc/des_crypt.c: Likewise.
81036         * sunrpc/des_soft.c: Likewise.
81037         * sunrpc/get_myaddr.c: Likewise.
81038         * sunrpc/getrpcport.c: Likewise.
81039         * sunrpc/key_call.c: Likewise.
81040         * sunrpc/key_prot.c: Likewise.
81041         * sunrpc/openchild.c: Likewise.
81042         * sunrpc/pm_getmaps.c: Likewise.
81043         * sunrpc/pm_getport.c: Likewise.
81044         * sunrpc/pmap_clnt.c: Likewise.
81045         * sunrpc/pmap_prot.c: Likewise.
81046         * sunrpc/pmap_prot2.c: Likewise.
81047         * sunrpc/pmap_rmt.c: Likewise.
81048         * sunrpc/rpc/auth.h: Likewise.
81049         * sunrpc/rpc/auth_unix.h: Likewise.
81050         * sunrpc/rpc/clnt.h: Likewise.
81051         * sunrpc/rpc/des_crypt.h: Likewise.
81052         * sunrpc/rpc/key_prot.h: Likewise.
81053         * sunrpc/rpc/netdb.h: Likewise.
81054         * sunrpc/rpc/pmap_clnt.h: Likewise.
81055         * sunrpc/rpc/pmap_prot.h: Likewise.
81056         * sunrpc/rpc/pmap_rmt.h: Likewise.
81057         * sunrpc/rpc/rpc.h: Likewise.
81058         * sunrpc/rpc/rpc_des.h: Likewise.
81059         * sunrpc/rpc/rpc_msg.h: Likewise.
81060         * sunrpc/rpc/svc.h: Likewise.
81061         * sunrpc/rpc/svc_auth.h: Likewise.
81062         * sunrpc/rpc/types.h: Likewise.
81063         * sunrpc/rpc/xdr.h: Likewise.
81064         * sunrpc/rpc_clntout.c: Likewise.
81065         * sunrpc/rpc_cmsg.c: Likewise.
81066         * sunrpc/rpc_common.c: Likewise.
81067         * sunrpc/rpc_cout.c: Likewise.
81068         * sunrpc/rpc_dtable.c: Likewise.
81069         * sunrpc/rpc_hout.c: Likewise.
81070         * sunrpc/rpc_main.c: Likewise.
81071         * sunrpc/rpc_parse.c: Likewise.
81072         * sunrpc/rpc_parse.h: Likewise.
81073         * sunrpc/rpc_prot.c: Likewise.
81074         * sunrpc/rpc_sample.c: Likewise.
81075         * sunrpc/rpc_scan.c: Likewise.
81076         * sunrpc/rpc_scan.h: Likewise.
81077         * sunrpc/rpc_svcout.c: Likewise.
81078         * sunrpc/rpc_tblout.c: Likewise.
81079         * sunrpc/rpc_util.c: Likewise.
81080         * sunrpc/rpc_util.h: Likewise.
81081         * sunrpc/rpcinfo.c: Likewise.
81082         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
81083         * sunrpc/rpcsvc/key_prot.x: Likewise.
81084         * sunrpc/rpcsvc/klm_prot.x: Likewise.
81085         * sunrpc/rpcsvc/mount.x: Likewise.
81086         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
81087         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
81088         * sunrpc/rpcsvc/rex.x: Likewise.
81089         * sunrpc/rpcsvc/rstat.x: Likewise.
81090         * sunrpc/rpcsvc/rusers.x: Likewise.
81091         * sunrpc/rpcsvc/sm_inter.x: Likewise.
81092         * sunrpc/rpcsvc/spray.x: Likewise.
81093         * sunrpc/rpcsvc/yppasswd.x: Likewise.
81094         * sunrpc/rtime.c: Likewise.
81095         * sunrpc/svc.c: Likewise.
81096         * sunrpc/svc_auth.c: Likewise.
81097         * sunrpc/svc_authux.c: Likewise.
81098         * sunrpc/svc_raw.c: Likewise.
81099         * sunrpc/svc_run.c: Likewise.
81100         * sunrpc/svc_simple.c: Likewise.
81101         * sunrpc/svc_tcp.c: Likewise.
81102         * sunrpc/svc_udp.c: Likewise.
81103         * sunrpc/svc_unix.c: Likewise.
81104         * sunrpc/svcauth_des.c: Likewise.
81105         * sunrpc/xcrypt.c: Likewise.
81106         * sunrpc/xdr.c: Likewise.
81107         * sunrpc/xdr_array.c: Likewise.
81108         * sunrpc/xdr_float.c: Likewise.
81109         * sunrpc/xdr_mem.c: Likewise.
81110         * sunrpc/xdr_rec.c: Likewise.
81111         * sunrpc/xdr_ref.c: Likewise.
81112         * sunrpc/xdr_sizeof.c: Likewise.
81113         * sunrpc/xdr_stdio.c: Likewise.
81115         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
81116         handling.
81118 2010-08-19  Andreas Schwab  <schwab@redhat.com>
81120         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
81122 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
81124         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
81125         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
81126         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
81127         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
81128         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
81129         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
81130         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
81131         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
81132         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
81133         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
81134         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
81135         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
81136         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
81137         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
81139 2010-07-26  Anton Blanchard  <anton@samba.org>
81141         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
81142         * malloc/arena.c (heap_trim): Likewise.
81144 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
81146         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
81147         here.  Not...
81148         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
81149         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
81151 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
81153         * sysdeps/i386/elf/Makefile: New file.
81155 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81157         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
81158         from fanotify_init.
81159         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
81160         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81162 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
81164         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
81165         of strncasecmp_l.
81166         * sysdeps/multiarch/strcmp.S: Likewise.
81168 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
81170         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81171         strncase_l-nonascii.
81172         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81173         Add strncase_l-ssse3.
81174         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
81175         * sysdeps/x86_64/strcmp.S: Likewise.
81176         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
81177         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
81178         * sysdeps/x86_64/strncase.S: New file.
81179         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
81180         * sysdeps/x86_64/strncase_l.S: New file.
81181         * string/Makefile (strop-tests): Add strncasecmp.
81182         * string/test-strncasecmp.c: New file.
81184         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
81185         warning.
81187         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
81188         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
81190 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
81192         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
81194 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
81196         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
81197         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
81198         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
81200 2010-05-01  Alan Modra  <amodra@gmail.com>
81202         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
81203         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
81204         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
81205         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
81206         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
81207         tidying.  Don't tail-call __sigjmp_save for static lib.
81208         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
81209         save location.
81210         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
81211         (CALL_MCOUNT): Add eh info, and nop after bl.
81212         (TAIL_CALL_SYSCALL_ERROR): New macro.
81213         (PSEUDO_RET): Use it.
81214         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
81215         Correct save location of integer regs and cr.
81216         (_dl_profile_resolve): Correct cr save location.  Delete nops
81217         after bl when SHARED.  Reduce cfi size a little by better
81218         placement of cfi directives.
81219         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
81220         make a stack frame.  Instead use parm save area as a temp.
81221         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
81222         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
81223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
81224         Don't make a stack frame for parent, use parm save area.
81225         Increase child stack frame to 112 bytes.  Don't save unused reg,
81226         and adjust reg usage.  Set up cfi on error recovery and
81227         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
81228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
81229         (__makecontext): Add dummy nop after jump to exit.
81230         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
81231         Use correct parm save area and cr save, reduce stack frame.
81232         Correct cfi for possible PSEUDO_RET frame setup.
81233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
81234         Branch to local label emitted by PSEUDO_RET rather than
81235         __syscall_error.
81237 2010-08-12  Andreas Schwab  <schwab@redhat.com>
81239         [BZ #11904]
81240         * locale/programs/locale.c (print_assignment): New function.
81241         (show_locale_vars): Use it.
81243 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
81245         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
81246         field.
81247         (struct statfs64): Likewise.
81248         (_STATFS_F_FLAGS): Define.
81249         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
81250         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
81251         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
81252         (ST_VALID): Define locally.
81253         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
81254         __statvfs_getflags, use the provided value.
81255         * sysdeps/unix/sysv/linux/kernel-features.h: Define
81256         __ASSUME_STATFS_F_FLAGS.
81258         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
81260         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
81261         Add sys/fanotify.h.
81262         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
81263         fanotify_mask for GLIBC_2.13.
81264         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
81265         fanotify_init and fanotify_mark.
81266         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
81267         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
81269         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
81270         Add prlimit.
81271         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
81272         prlimit64 for GLIBC_2.13.
81273         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
81274         prlimit64.
81275         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
81276         syscall.
81277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
81278         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
81279         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
81280         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
81281         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
81282         add prlimit alias.
81283         * sysdeps/unix/sysv/linux/prlimit.c: New file.
81285         [BZ #11903]
81286         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
81287         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
81289         * nss/Makefile: Add rules to build and run tst-nss-test1.
81290         * shlib-versions: Add entry for libnss_test1.
81291         * nss/nss_test1.c: New file.
81292         * nss/tst-nss-test1.c: New file.
81294         * nss/nsswitch.c (__nss_database_custom): Define new variable.
81295         (__nss_configure_lookup): Set appropriate entry in
81296         __nss_configure_lookup to true.
81297         * nss/nsswitch.h: Define enum with indeces of databases in
81298         databases and __nss_database_custom arrays.  Declare
81299         __nss_database_custom.
81300         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
81301         to avoid using nscd when custom rules are installed.
81302         * nss/getXXbyYY_r.c: Likewise.
81303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
81305         * nss/nss_files/files-parse.c: Whitespace fixes.
81307 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
81309         [BZ #11883]
81310         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
81311         * posix/fnmatch_loop.c: Likewise.
81313 2010-07-17  Andi Kleen  <ak@linux.intel.com>
81315         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
81316         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
81317         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
81318         * Versions.def [GLIBC_2.13]: Add.
81320 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
81322         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81323         Also fail if tpwd after pwuid call is NULL.
81325 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81327         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
81328         when converting to ms.
81330 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
81332         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
81333         EOPNOTSUPP errors with ENOTTY.
81334         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
81335         EOPNOTSUPP errors with ENOTTY.
81337 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
81339         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
81340         Add strcasecmp_l-ssse3.
81341         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
81342         strcasecmp.
81343         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
81344         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
81345         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
81347 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
81349         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
81351         * string/Makefile (strop-tests): Add strcasecmp.
81352         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
81353         strcasecmp_l-nonascii.
81354         (gen-as-const-headers): Add locale-defines.sym.
81355         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
81356         * sysdeps/x86_64/strcasecmp.S: New file.
81357         * sysdeps/x86_64/strcasecmp_l.S: New file.
81358         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
81359         * sysdeps/x86_64/locale-defines.sym: New file.
81360         * string/test-strcasecmp.c: New file.
81362         * string/test-strcasestr.c: Test both ends of the range of characters.
81363         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
81365 2010-07-29  Roland McGrath  <roland@redhat.com>
81367         [BZ #11856]
81368         * manual/locale.texi (Yes-or-No Questions): Fix example code.
81370 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
81372         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
81373         for ld.so.
81375 2010-07-27  Andreas Schwab  <schwab@redhat.com>
81377         * manual/memory.texi (Malloc Tunable Parameters): Document
81378         M_PERTURB.
81380 2010-07-26  Roland McGrath  <roland@redhat.com>
81382         [BZ #11840]
81383         * configure.in (-fgnu89-inline check): Set and substitute
81384         gnu89_inline, not libc_cv_gnu89_inline.
81385         * configure: Regenerated.
81386         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
81388 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
81390         * string/test-strnlen.c: New file.
81391         * string/Makefile (strop-tests): Add strnlen.
81392         * string/tester.c (test_strnlen): Add a few more test cases.
81393         * string/tst-strlen.c: Better error reporting.
81395         * sysdeps/x86_64/strnlen.S: New file.
81397 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
81399         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
81400         lower-latency instructions.
81402 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
81404         * string/test-strcasestr.c: New file.
81405         * string/test-strstr.c: New file.
81406         * string/Makefile (strop-tests): Add strstr and strcasestr.
81407         * string/str-two-way.h: Don't undefine MAX.
81408         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
81410 2010-07-21  Andreas Schwab  <schwab@redhat.com>
81412         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81413         strcasestr-nonascii.
81414         (CFLAGS-strcasestr-nonascii.c): Define.
81415         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
81416         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
81417         Remove unused attribute.
81419 2010-07-20  Roland McGrath  <roland@redhat.com>
81421         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
81422         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
81423         ld.so.cache was broken.  With it, there is no way to disable dsocaps
81424         like LD_HWCAP_MASK can disable hwcaps.
81426 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81428         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
81430 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
81432         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
81433         call in strcasestr.
81434         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
81435         __strcasestr_sse42_nonascii.
81436         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
81437         strcasestr-nonascii.c.
81438         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
81440 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
81442         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
81443         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
81444         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
81445         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
81447 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
81449         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
81450         fcntl.
81452 2010-07-06  Andreas Schwab  <schwab@redhat.com>
81454         [BZ #11577]
81455         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
81456         dl_signal_cerror.
81458 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
81460         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
81461         _PC_PIPE_BUF using F_GETPIPE_SZ.
81463 2010-07-05  Roland McGrath  <roland@redhat.com>
81465         * manual/arith.texi (Rounding Functions): Fix rint description
81466         implicit in round description.
81468 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
81470         * elf/Makefile: Fix linking for a few tests to make recent linker
81471         happy.
81473 2010-06-30  Andreas Schwab  <schwab@redhat.com>
81475         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
81476         $(common-objpfx)libc_nonshared.a.
81478 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
81480         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
81481         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
81482         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81483         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81484         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
81485         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
81486         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81487         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81488         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
81489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
81490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
81491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
81492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
81493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
81494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
81495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
81496         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
81497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
81498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
81499         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
81500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
81501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
81502         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
81503         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
81504         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
81505         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
81506         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
81507         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
81508         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
81509         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
81510         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
81511         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
81512         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
81513         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
81514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
81515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
81516         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
81517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
81518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
81519         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
81520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
81521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
81522         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
81523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
81524         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
81525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
81526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
81527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
81529 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
81531         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
81532         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
81533         * string/memmove.c (memmove): Renamed to ...
81534         (MEMMOVE): ...this.  Default to memmove.
81535         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
81536         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
81537         (END_CHK): Define.
81538         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
81539         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
81540         mempcpy-ssse3-back memmove-ssse3-back.
81541         * sysdeps/x86_64/multiarch/bcopy.S: New file .
81542         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
81543         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
81544         * sysdeps/x86_64/multiarch/memcpy.S: New file.
81545         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
81546         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
81547         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
81548         * sysdeps/x86_64/multiarch/memmove.c: New file.
81549         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
81550         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
81551         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
81552         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
81553         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
81554         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
81555         Define.
81556         (index_Fast_Copy_Backward): Define.
81557         (HAS_ARCH_FEATURE): Define.
81558         (HAS_FAST_REP_STRING): Define.
81559         (HAS_FAST_COPY_BACKWARD): Define.
81561 2010-06-21  Andreas Schwab  <schwab@redhat.com>
81563         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
81564         Restore proper fallback handling.
81566 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
81568         [BZ #11701]
81569         * posix/group_member.c (__group_member): Correct checking loop.
81571         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
81572         OOM in getpwuid_r correctly.  Return error number when the caller
81573         should return, otherwise -1.
81574         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
81575         call returning > 0 value.
81576         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
81578 2010-06-07  Andreas Schwab  <schwab@redhat.com>
81580         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
81581         libc_nonshared.a from targets in modules-names.
81583 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
81585         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
81586         requires it.
81588 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
81590         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
81591         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
81592         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
81593         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
81595 2010-06-02  Andreas Schwab  <schwab@redhat.com>
81597         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
81599 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
81601         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
81602         and F_GETPIPE_SZ.
81603         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
81604         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
81605         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
81606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
81607         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
81608         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
81610 2010-06-14  Roland McGrath  <roland@redhat.com>
81612         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
81614 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
81616         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
81617         __REDIRECT followed by __THROW.
81618         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
81619         * posix/getopt.h (getopt): Likewise.
81621 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
81623         * hurd/lookup-at.c (__file_name_lookup_at): Accept
81624         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
81625         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
81626         in AT_FLAGS.
81627         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
81628         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
81630 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
81632         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
81634 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
81636         [BZ #11640]
81637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
81638         Properly check family and model.
81640 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
81642         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
81644 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
81646         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
81648 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
81650         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
81651         symbol reference.
81653 2010-05-19  Andreas Schwab  <schwab@redhat.com>
81655         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
81656         symbol reference.
81658 2010-05-21  Andreas Schwab  <schwab@redhat.com>
81660         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
81661         and internal_recvmmsg.
81662         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
81663         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
81664         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
81665         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
81667         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
81668         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
81669         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
81671 2010-05-20  Andreas Schwab  <schwab@redhat.com>
81673         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
81675 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
81677         POWER7 optimizations.
81678         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
81679         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
81681 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
81683         * version.h: Update for 2.13 development version.
81685 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
81687         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
81688         exceptions.  Return 0.
81690 2010-05-07  Roland McGrath  <roland@redhat.com>
81692         * elf/ldconfig.c (main): Add a const.
81694 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
81696         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
81697         (args_options): Add no-idn option.
81698         (ahosts_keys_int): Add idn_flags to ai_flags.
81699         (parse_option): Handle 'i' option to clear idn_flags.
81701         * malloc/malloc.c (_int_free): Possible race in the most recently
81702         added check.  Only act on the data if no current modification
81703         happened.
81705 See ChangeLog.17 for earlier changes.